File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1+ const TERMS_OF_SERVICE_URL = 'https://nuung.notion.site/terms-of-service' ;
2+ const PRIVACY_POLICY_URL = 'https://nuung.notion.site/privacy-policy' ;
3+
4+ export const TermsOfService = ( ) => {
5+ return (
6+ < div className = "flex items-center justify-center px-2 py-1 absolute bottom-0 left-0 w-full gap-2" >
7+ < a href = { TERMS_OF_SERVICE_URL } className = "text-TEXT-ALT text-[14px]" >
8+ 서비스 이용약관
9+ </ a >
10+ < div className = "w-[1px] h-[15px] bg-TEXT-ALT" />
11+ < a href = { PRIVACY_POLICY_URL } className = "text-TEXT-ALT text-[14px]" >
12+ 개인정보처리방침
13+ </ a >
14+ </ div >
15+ ) ;
16+ } ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import './globals.css';
99import HolyLoader from 'holy-loader' ;
1010import { ChannelTalkProvider , QueryProvider , ModalProvider } from '@/components' ;
1111import { env } from '@/constants' ;
12+ import { TermsOfService } from './TermsOfService' ;
1213
1314export const BASE = 'https://velog-dashboard.kro.kr/' ;
1415
@@ -39,8 +40,10 @@ export default function RootLayout({ children }: Readonly<{ children: ReactNode
3940 < ChannelTalkProvider >
4041 < ToastContainer autoClose = { 2000 } />
4142 < ModalProvider />
42-
43- < Suspense > { children } </ Suspense >
43+ < Suspense >
44+ { children }
45+ < TermsOfService />
46+ </ Suspense >
4447 </ ChannelTalkProvider >
4548 </ QueryProvider >
4649 </ ErrorBoundary >
You can’t perform that action at this time.
0 commit comments