File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ function Button ( { title } ) {
2
+ return < button > { title } </ button > ;
3
+ }
4
+
5
+ export default Button ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { Link } from 'react-router-dom';
2
2
import AppBanner from '../components/shared/AppBanner' ;
3
3
import ProjectsGrid from '../components/projects/ProjectsGrid' ;
4
4
import { ProjectsProvider } from '../context/ProjectsContext' ;
5
+ import Button from '../components/reusable/Button' ;
5
6
6
7
const Home = ( ) => {
7
8
return (
@@ -18,7 +19,7 @@ const Home = () => {
18
19
className = "font-general-medium flex items-center px-6 py-3 rounded-lg shadow-lg hover:shadow-xl bg-indigo-500 hover:bg-indigo-600 focus:ring-1 focus:ring-indigo-900 text-white text-lg sm:text-xl"
19
20
aria-label = "More Projects"
20
21
>
21
- More Projects
22
+ < Button title = " More Projects" />
22
23
</ Link >
23
24
</ div >
24
25
</ div >
You can’t perform that action at this time.
0 commit comments