-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #288 from Bamdoliro/develop
develop 머지~
- Loading branch information
Showing
15 changed files
with
185 additions
and
80 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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
module.exports = { | ||
root: true, | ||
// This tells ESLint to load the config from the package `eslint-config-custom` | ||
extends: ['@maru/eslint/common', '@maru/eslint/query', 'plugin:storybook/recommended'], | ||
extends: ['@maru/eslint/common', '@maru/eslint/query'], | ||
settings: { | ||
next: { | ||
rootDir: ['apps/*/'], | ||
}, | ||
}, | ||
}; |
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,6 +1,4 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
module.exports = { | ||
transpilePackages: ['@maru/ui'], | ||
}; | ||
|
||
module.exports = nextConfig; |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ROUTES } from '@/constants/common/constant'; | ||
import { useRouter } from 'next/navigation'; | ||
|
||
export const useCTAButton = () => { | ||
const router = useRouter(); | ||
|
||
const handleGoMainPageButtonClick = () => { | ||
router.push(ROUTES.MAIN); | ||
}; | ||
|
||
return { handleGoMainPageButtonClick }; | ||
}; |
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,12 +1,85 @@ | ||
import { CompleteAlaram } from '@/components/form'; | ||
import { AppLayout } from '@/layouts'; | ||
import { IconCheckCircle } from '@maru/icon'; | ||
import { color } from '@maru/theme'; | ||
import { Button, Column, Row, Text } from '@maru/ui'; | ||
import { flex } from '@maru/utils'; | ||
import { useRouter } from 'next/navigation'; | ||
import { styled } from 'styled-components'; | ||
import { useCTAButton } from './최종제출완료.hooks'; | ||
|
||
const 최종제출완료 = () => { | ||
const router = useRouter(); | ||
const { handleGoMainPageButtonClick } = useCTAButton(); | ||
|
||
return ( | ||
<AppLayout header> | ||
<CompleteAlaram isComplete completeText="원서 최종 제출 완료" /> | ||
<AppLayout header footer> | ||
<CompleteAlarmBox> | ||
<CompleteAlaram isComplete completeText="원서 최종 제출 완료" /> | ||
</CompleteAlarmBox> | ||
<Styled최종제출완료> | ||
<Row gap={8} alignItems="center" justifyContent="center"> | ||
<IconCheckCircle width={64} height={64} /> | ||
<Text fontType="H1" color={color.gray900}> | ||
원서 최종 제출 완료 | ||
</Text> | ||
</Row> | ||
<Column gap={71} alignItems="center"> | ||
<Column gap={27} alignItems="center"> | ||
<Text fontType="H2" color={color.gray900}> | ||
부산소프트웨어마이스터고에 지원해주셔서 감사합니다. | ||
</Text> | ||
<Text fontType="p2" color={color.gray900} textAlign="center"> | ||
신준서 님, 부산소프트웨어마이스터고에 지원해주셔서 대단히 감사드립니다. | ||
<br /> | ||
1차 합격자는 11월 3일에 발표됩니다. | ||
<br /> | ||
신준서 님의 1차 합격을 기원합니다. | ||
</Text> | ||
</Column> | ||
<Button onClick={handleGoMainPageButtonClick} size="SMALL"> | ||
홈으로 돌아가기 | ||
</Button> | ||
</Column> | ||
</Styled최종제출완료> | ||
</AppLayout> | ||
); | ||
}; | ||
|
||
export default 최종제출완료; | ||
|
||
const Styled최종제출완료 = styled.div` | ||
${flex({ flexDirection: 'column' })} | ||
gap: 70px; | ||
opacity: 0; | ||
animation: show 1.2s 2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; | ||
@keyframes show { | ||
from { | ||
transform: translateY(200px); | ||
} | ||
to { | ||
transform: translateY(0); | ||
opacity: 100; | ||
} | ||
} | ||
`; | ||
|
||
const CompleteAlarmBox = styled.div` | ||
position: absolute; | ||
width: 100%; | ||
animation: hide 1.2s 1s cubic-bezier(0.65, 0.05, 0.36, 1) forwards; | ||
@keyframes hide { | ||
from { | ||
transform: translateY(0); | ||
} | ||
to { | ||
transform: translateY(-300px); | ||
opacity: 0; | ||
display: none; | ||
} | ||
} | ||
`; |
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
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
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
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,5 +1,5 @@ | ||
export interface User { | ||
email: string; | ||
name: string; | ||
authority: 'USER' | 'ADMIN'; | ||
authority: string; | ||
} |
Oops, something went wrong.