1- import Page from "components/common/Page" ;
2- import React from "react" ;
3- import styled from "styled-components" ;
4- import useTranslation from "utils/hooks/useTranslation" ;
1+ import { mdiLinkVariant } from "@mdi/js"
2+ import Icon from "@mdi/react"
3+ import Page from "components/common/Page"
4+ import React from "react"
5+ import { useNavigate } from "react-router"
6+ import styled from "styled-components"
7+ import useTranslation from "utils/hooks/useTranslation"
58
69const Home = ( ) => {
710 const t = useTranslation ( ) ;
11+ const navigate = useNavigate ( ) ;
812 return (
913 < Page >
1014 < Container >
@@ -29,6 +33,9 @@ const Home = () => {
2933 < Container className = "vertical" >
3034 < span className = "big-text purple" > October 26-27</ span >
3135 < span className = "small-text yellow" > in Suwon Convention Center</ span >
36+ < LinkBtn onClick = { ( ) => navigate ( "/about/place" ) } >
37+ < Icon path = { mdiLinkVariant } size = { 1 } color = "#b0a8fe" /> { t ( "찾아오시는 길" ) }
38+ </ LinkBtn >
3239 </ Container >
3340 </ Page >
3441 ) ;
@@ -42,3 +49,26 @@ const Container = styled.div`
4249 align-items: center;
4350 padding: 10rem 0;
4451` ;
52+
53+ const LinkBtn = styled . button `
54+ margin: 0.5rem;
55+ padding: 0 3rem;
56+
57+ display: flex;
58+ flex-direction: row;
59+ justify-content: center;
60+ align-items: center;
61+
62+ border: none;
63+ border-radius: 0.5rem;
64+ color: #b0a8fe;
65+ background-color: rgba(0, 0, 0, 0);
66+ transition: all 0.3s;
67+
68+ font-size: 1rem;
69+ font-weight: 600;
70+ font-style: italic;
71+ &:hover {
72+ background-color: rgba(176, 168, 254, 0.2);
73+ }
74+ `
0 commit comments