Skip to content

Commit

Permalink
feat: footer에 개인정보 처리 방침 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hozzijeong committed Oct 13, 2023
1 parent ce57964 commit 52bfbcd
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
14 changes: 14 additions & 0 deletions frontend/src/pages/@common/Home/Home.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,17 @@ export const ImageArea = styled.div`
height: 128px;
margin-top: 16px;
`;

export const Footer = 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};
`;
19 changes: 18 additions & 1 deletion frontend/src/pages/@common/Home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
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 } from './Home.style';
import {
LogoMessage,
SearchBoxArea,
SearchMessage,
Main,
Image,
ImageArea,
Footer,
} 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';

Expand Down Expand Up @@ -34,6 +44,13 @@ 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>
);
Expand Down

0 comments on commit 52bfbcd

Please sign in to comment.