-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46dbb99
commit 9402b7f
Showing
5 changed files
with
35 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const Wrapper = styled.footer` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 4px; | ||
height: 200px; | ||
padding: 40px 0; | ||
font: 700 1.6rem/2rem NanumSquareRound; | ||
text-align: center; | ||
border-top: 1px solid ${({ theme }) => theme.color.grayLight}; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Link } from 'react-router-dom'; | ||
import { Wrapper } from './Footer.style'; | ||
import { URL_PATH } from 'constants/index'; | ||
|
||
const Footer = () => { | ||
return ( | ||
<Wrapper> | ||
<Link to={URL_PATH.privacy}>개인정보 처리 방침</Link> | ||
<p> | ||
contact:<a href={`mailto: [email protected]`}> [email protected]</a> | ||
</p> | ||
<p>©️ 피움 All rights reserved</p> | ||
</Wrapper> | ||
); | ||
}; | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
import { useState } from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import InstallPrompt from 'components/@common/InstallPrompt'; | ||
import Navbar from 'components/@common/Navbar'; | ||
import PageLogger from 'components/@common/PageLogger'; | ||
import SearchBox from 'components/search/SearchBox'; | ||
import { | ||
LogoMessage, | ||
SearchBoxArea, | ||
SearchMessage, | ||
Main, | ||
Image, | ||
ImageArea, | ||
Footer, | ||
} from './Home.style'; | ||
import { LogoMessage, SearchBoxArea, SearchMessage, Main, Image, ImageArea } from './Home.style'; | ||
import useDictionaryNavigate from 'hooks/dictionaryPlant/useDictionaryPlantNavigate'; | ||
import { URL_PATH } from 'constants/index'; | ||
import LogoSvg from 'assets/logo.svg'; | ||
import LogoWebp from 'assets/logo.webp'; | ||
|
||
|
@@ -44,13 +34,6 @@ const Home = () => { | |
</SearchBoxArea> | ||
<SearchMessage>피움에 등록된 식물을 검색해 보세요!</SearchMessage> | ||
</Main> | ||
<Footer> | ||
<Link to={URL_PATH.privacy}>개인정보 처리 방침</Link> | ||
<p> | ||
contact:<a href={`mailto: [email protected]`}> [email protected]</a> | ||
</p> | ||
<p>©️ 피움 All rights reserved</p> | ||
</Footer> | ||
<Navbar /> | ||
</PageLogger> | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters