Skip to content

Commit

Permalink
feat: 로그인 페이지에 이용약관 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejha committed Oct 20, 2023
1 parent 4b5799d commit ae6880c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { transitions } from 'lib/styles';
import styled, { css } from 'styled-components';

function TermsOfUseSection() {
function TermsOfUse() {
return (
<TermsOfUse>
<Container>
주루마블은 <Bold>만 19세 이상</Bold>부터 회원가입이 가능합니다.
<br />
<br />
계속하면 당사의 <ClickText>서비스 약관</ClickText>에 동의하고,
계속하면 당사의 <ClickText>이용 약관</ClickText>에 동의하고,
<br />
<ClickText>개인정보 보호정책</ClickText>을(를) 읽어 당사의 데이터 수집,
사용,
<ClickText>개인정보처리방침</ClickText>을 읽어 당사의 데이터 수집, 사용,
<br />
공유 방법을 확인했음을 인정하는 것입니다.
</TermsOfUse>
</Container>
);
}

const TermsOfUse = styled.p`
const Container = styled.p`
${({ theme }) => css`
${theme.typography.body03};
color: ${theme.colors.black_03};
Expand All @@ -36,4 +35,4 @@ const ClickText = styled.span`
text-decoration: underline;
`;

export default TermsOfUseSection;
export default TermsOfUse;
2 changes: 2 additions & 0 deletions apps/jurumarble/src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import styled from 'styled-components';

import LoginPageHeader from './components/LoginPageHeader';
import LoginSection from './components/LoginSection';
import TermsOfUseSection from './components/TermsOfUse';
import WelcomeSection from './components/WelcomeSection';

function LoginPage() {
Expand All @@ -12,6 +13,7 @@ function LoginPage() {
<LoginPageHeader />
<WelcomeSection />
<LoginSection />
<TermsOfUseSection />
</Container>
);
}
Expand Down
4 changes: 0 additions & 4 deletions apps/jurumarble/src/lib/ReactQueryProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ export default function ReactQueryProvider({ children }: PropsWithChildren) {
queries: {
cacheTime: 1000 * 60 * 60 * 24,
refetchInterval: false,
refetchIntervalInBackground: false,
refetchOnMount: false,
refetchOnReconnect: false,
refetchOnWindowFocus: false,
staleTime: 1000 * 60 * 60 * 24,
},
},
Expand Down

0 comments on commit ae6880c

Please sign in to comment.