Skip to content

Commit

Permalink
[ Common ] [ Feat ] 개인정보처리방침, 서비스이용약관 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
jamooooong committed Nov 11, 2024
1 parent 73de50a commit 9c512d9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
8 changes: 6 additions & 2 deletions apps/mobile/src/shared/components/layout/footer/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ import { footerStyle } from './footer.css';
const Footer = () => {
return (
<footer className={footerStyle}>
<Link href="/">개인정보처리방침</Link>
<Link href="/">서비스 이용약관</Link>
<Link href="/privacy">
<button>개인정보 처리방침</button>
</Link>
<Link href="/tos">
<button>서비스 이용약관</button>
</Link>
<Link href="/">Contact | rankit.run@gmail.com</Link>
</footer>
);
Expand Down
5 changes: 5 additions & 0 deletions apps/web/src/shared/components/layout/footer/footer.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ export const footerStlye = style({
height: '12rem',
});

export const linkBtnStyle = style({
':hover': {
textDecoration: 'underline',
},
});
export const contentStyle = style({
...globalTheme.fonts.headerReg16,
display: 'flex',
Expand Down
11 changes: 8 additions & 3 deletions apps/web/src/shared/components/layout/footer/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import Link from 'next/link';
import React from 'react';
import { contentStyle, footerStlye } from './footer.css';
import { contentStyle, footerStlye, linkBtnStyle } from './footer.css';

const Footer = () => {
return (
<footer className={footerStlye}>
<div className={contentStyle}>
<button>개인정보처리방침</button>
<button>서비스 이용약관</button>
<Link href="/privacy">
<button className={linkBtnStyle}>개인정보 처리방침</button>
</Link>
<Link href="/tos">
<button className={linkBtnStyle}>서비스 이용약관</button>
</Link>
<p>Contact | rankit.run@gmail.com</p>
</div>
</footer>
Expand Down

0 comments on commit 9c512d9

Please sign in to comment.