File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
+ import { Link } from 'react-router-dom' ;
3
+
2
4
3
5
const Home = ( ) => {
4
6
return (
@@ -36,15 +38,15 @@ const Home = () => {
36
38
37
39
{ /* Right Side (button links) */ }
38
40
< div className = "md:w-1/2 flex flex-col items-start md:items-end space-y-6" >
39
- < a href = "/projects" className = "flex flex-row px-4 py-2 rounded w-full max-w-[325px] btn btn-primary text-left text-white transition duration-300" >
41
+ < Link to = "/projects" className = "flex flex-row px-4 py-2 rounded w-full max-w-[325px] btn btn-primary text-left text-white transition duration-300" >
40
42
< p className = "mr-4" > ></ p > ./PROJECTS
41
- </ a >
42
- < a href = "/events" className = "flex flex-row px-4 py-2 rounded w-full max-w-[325px] btn btn-primary text-left text-white transition duration-300" >
43
+ </ Link >
44
+ < Link to = "/events" className = "flex flex-row px-4 py-2 rounded w-full max-w-[325px] btn btn-primary text-left text-white transition duration-300" >
43
45
< p className = "mr-4" > ></ p > ./EVENTS
44
- </ a >
45
- < a href = "/teams" className = "flex flex-row px-4 py-2 rounded w-full max-w-[325px] btn btn-primary text-left text-white transition duration-300" >
46
+ </ Link >
47
+ < Link to = "/teams" className = "flex flex-row px-4 py-2 rounded w-full max-w-[325px] btn btn-primary text-left text-white transition duration-300" >
46
48
< p className = "mr-4" > ></ p > ./TEAMS
47
- </ a >
49
+ </ Link >
48
50
</ div >
49
51
</ div >
50
52
You can’t perform that action at this time.
0 commit comments