diff --git a/src/pages/contract/EmployeeContract/EmployeeContract.stories.tsx b/src/pages/contract/EmployeeContract/EmployeeContract.stories.tsx index dfdff29..393ff67 100644 --- a/src/pages/contract/EmployeeContract/EmployeeContract.stories.tsx +++ b/src/pages/contract/EmployeeContract/EmployeeContract.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; -import { EmployeeContract } from './EmployeeContract'; +import EmployeeContract from './EmployeeContract'; const meta: Meta = { title: 'pages/EmployeeContract', diff --git a/src/pages/contract/EmployeeContract/EmployeeContract.tsx b/src/pages/contract/EmployeeContract/EmployeeContract.tsx index 6cdac37..10a8df0 100644 --- a/src/pages/contract/EmployeeContract/EmployeeContract.tsx +++ b/src/pages/contract/EmployeeContract/EmployeeContract.tsx @@ -2,7 +2,7 @@ import { Button, Flex, Input, Typo } from '@/components/common'; import Layout from '@/features/layout'; import styled from '@emotion/styled'; -export const EmployeeContract = () => { +export default function EmployeeContract() { return (
@@ -151,7 +151,7 @@ export const EmployeeContract = () => {
); -}; +} const LineWrapper = styled.div` border: 1px solid #e9e9e9; diff --git a/src/pages/contract/EmployerContract/EmployerContract.stories.tsx b/src/pages/contract/EmployerContract/EmployerContract.stories.tsx index 2b3d2a9..69b4e3b 100644 --- a/src/pages/contract/EmployerContract/EmployerContract.stories.tsx +++ b/src/pages/contract/EmployerContract/EmployerContract.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; -import { EmployerContract } from './EmployerContract'; +import EmployerContract from './EmployerContract'; const meta: Meta = { title: 'pages/EmployerContract', diff --git a/src/pages/contract/EmployerContract/EmployerContract.tsx b/src/pages/contract/EmployerContract/EmployerContract.tsx index ce8328e..a8463bd 100644 --- a/src/pages/contract/EmployerContract/EmployerContract.tsx +++ b/src/pages/contract/EmployerContract/EmployerContract.tsx @@ -2,7 +2,7 @@ import { Button, Flex, Input, Typo } from '@/components/common'; import Layout from '@/features/layout'; import styled from '@emotion/styled'; -export const EmployerContract = () => { +export default function EmployerContract() { return (
@@ -152,7 +152,7 @@ export const EmployerContract = () => {
); -}; +} const LineWrapper = styled.div` border: 1px solid #e9e9e9; diff --git a/src/pages/registerCompany/RegisterCompany.stories.tsx b/src/pages/registerCompany/RegisterCompany.stories.tsx new file mode 100644 index 0000000..2bdc52b --- /dev/null +++ b/src/pages/registerCompany/RegisterCompany.stories.tsx @@ -0,0 +1,14 @@ +import { Meta, StoryObj } from '@storybook/react'; +import RegisterCompany from './RegisterCompany'; + +const meta: Meta = { + title: 'pages/RegisterCompany', + component: RegisterCompany, + tags: ['autodocs'], +}; + +export default meta; + +type Story = StoryObj; + +export const Default: Story = {}; diff --git a/src/pages/registerCompany/RegisterCompany.tsx b/src/pages/registerCompany/RegisterCompany.tsx new file mode 100644 index 0000000..4b501e6 --- /dev/null +++ b/src/pages/registerCompany/RegisterCompany.tsx @@ -0,0 +1,74 @@ +import { Button, Flex, Input, Typo } from '@/components/common'; +import Layout from '@/features/layout'; +import styled from '@emotion/styled'; + +export default function RegisterCompany() { + return ( + +
+ + + + + 회사 등록 + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ ); +} + +const LineWrapper = styled.div` + border: 1px solid #e9e9e9; + border-radius: 3px; + padding: 100px 200px; + margin: 52px 0; +`; + +const InputWrapper = styled.div` + margin-top: 28px; +`; + +const InputContainer = styled.div` + width: 700px; + display: flex; + align-items: center; + justify-content: space-between; + margin: 24px 0; +`; + +const ButtonWrapper = styled.div` + width: 700px; + display: flex; + align-items: center; + justify-content: center; + margin-top: 52px; +`; diff --git a/src/routes/path.ts b/src/routes/path.ts index 99b4370..3aa046c 100644 --- a/src/routes/path.ts +++ b/src/routes/path.ts @@ -31,6 +31,7 @@ const ROUTE_PATH = { VISA_REGISTRATION: '/visa-registration', MY_ACCOUNT, REGISTERSIGN: '/registersign', + REGISTERCOMPANY: '/register-company', } as const; export default ROUTE_PATH; diff --git a/src/routes/router.tsx b/src/routes/router.tsx index c5cc8dc..f077b29 100644 --- a/src/routes/router.tsx +++ b/src/routes/router.tsx @@ -16,6 +16,7 @@ import Resume from '@/pages/resume/Resume'; import EmployerMyAccount from '@/pages/myAccount/employer'; import EmployeeMyPage from '@/pages/employee/myPage/EmployeeMyPage'; import RegisterSign from '@/pages/registerSign/RegisterSign'; +import RegisterCompany from '@/pages/registerCompany/RegisterCompany'; export const router = createBrowserRouter([ { @@ -46,6 +47,7 @@ export const router = createBrowserRouter([ { path: ROUTE_PATH.RESUME, element: }, { path: ROUTE_PATH.MY_ACCOUNT.EMPLOYER, element: }, { path: ROUTE_PATH.REGISTERSIGN, element: }, + { path: ROUTE_PATH.REGISTERCOMPANY, element: }, ], }, ]);