File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ const Footerbar = () => {
1616 route : "/refuse-email-collection" ,
1717 } ,
1818 { title : "블로그" , route : "/blog" } ,
19+ {
20+ title : "서비스 상태" ,
21+ route : "https://status.zzunipark.com" ,
22+ external : true ,
23+ } ,
1924 ]
2025 : [
2126 { title : "About Us" , route : "/about-us" } ,
@@ -24,8 +29,21 @@ const Footerbar = () => {
2429 route : "/refuse-email-collection" ,
2530 } ,
2631 { title : "Blog" , route : "/blog" } ,
32+ {
33+ title : "Service Status" ,
34+ route : "https://status.zzunipark.com" ,
35+ external : true ,
36+ } ,
2737 ] ;
2838
39+ const handleNavigation = ( item ) => {
40+ if ( item . external ) {
41+ window . open ( item . route , "_blank" ) ;
42+ } else {
43+ navigate ( item . route ) ;
44+ }
45+ } ;
46+
2947 return (
3048 < s . FooterContainer >
3149 < s . FooterTop >
@@ -35,7 +53,7 @@ const Footerbar = () => {
3553 { DisclaimerItems . map ( ( item , index ) => (
3654 < s . NavigatorText
3755 key = { index }
38- onClick = { ( ) => navigate ( item . route ) }
56+ onClick = { ( ) => handleNavigation ( item ) }
3957 >
4058 { item . title }
4159 </ s . NavigatorText >
You can’t perform that action at this time.
0 commit comments