File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 77 width : 100% ;
88 max-width : 360px ;
99
10- margin-top : 550 px ;
10+ margin-top : 650 px ;
1111 padding-bottom : 50px ;
1212}
1313
6060 border : 1px solid # 474648 ;
6161 border-collapse : collapse;
6262 padding : 4px ;
63+ }
64+
65+ .homepage-button {
66+ width : 100% ;
67+ border : 0 ;
68+ background : # 2A3038 ;
69+ padding : 12px 8px ;
70+ border-radius : 100px ;
71+ font-weight : 700 ;
72+ color : # FFFFFF ;
6373}
Original file line number Diff line number Diff line change 11import { useState } from 'react' ;
22import Menu from '../../components/Menu' ;
33import "./index.css" ;
4+ import { useNavigate } from 'react-router-dom' ;
45
56const Vip = ( ) => {
67 const [ isMenuVisible , setIsMenuVisible ] = useState < boolean > ( false )
78
9+ const navigate = useNavigate ( ) ;
10+
811 const toggleMenu = ( ) => {
912 setIsMenuVisible ( prevState => ! prevState ) ;
1013 }
@@ -92,6 +95,9 @@ const Vip = () => {
9295 </ div >
9396 </ li >
9497 </ ol >
98+ < button className = "homepage-button" onClick = { ( ) => navigate ( "/" ) } >
99+ Back to homepage
100+ </ button >
95101 </ div >
96102 </ >
97103 ) ;
You can’t perform that action at this time.
0 commit comments