-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Feat/#9 UI qa
- Loading branch information
Showing
18 changed files
with
252 additions
and
183 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import type { Metadata } from 'next'; | ||
import logo from '@public/icons/logo.png'; | ||
import Image from 'next/image'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'Create Next App', | ||
description: 'Generated by create next app', | ||
}; | ||
|
||
export default function AuthLayout({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
}>) { | ||
return ( | ||
<div className=''> | ||
<Image className='w-67 h-32' src={logo} alt='logo' /> | ||
{children} | ||
</div> | ||
); | ||
} |
File renamed without changes.
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.
File renamed without changes.
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 Main from '@/components/templates/social/main/Main'; | ||
import React from 'react'; | ||
|
||
const page = () => { | ||
return ( | ||
<div> | ||
<Main /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default page; |
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,27 @@ | ||
import type { Metadata } from 'next'; | ||
import Image from 'next/image'; | ||
import logo from '../../../public/icons/logo.png'; | ||
import '../../styles/globals.css'; | ||
import Navigation from '@/components/organisms/navigation/navigation/Navigation'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'Create Next App', | ||
description: 'Generated by create next app', | ||
}; | ||
|
||
export default function SocialLayout({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
}>) { | ||
return ( | ||
<div className='flex justify-center'> | ||
<main id='modal' className='flex flex-col items-center relative w-fit '> | ||
<header className='w-full mb-76'> | ||
<Navigation /> | ||
</header> | ||
{children} | ||
</main> | ||
</div> | ||
); | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,23 @@ | ||
'use client'; | ||
import ProfileSetting from '@/components/organisms/profileSetting/ProfileSetting'; | ||
import React from 'react'; | ||
import testProfile from '@public/icons/testProfile.png'; | ||
|
||
const page = () => { | ||
const test = () => { | ||
console.log('hi'); | ||
}; | ||
return ( | ||
<div> | ||
<ProfileSetting | ||
name={'이보현'} | ||
major={'응용소프트웨어전공'} | ||
studentId={'19'} | ||
profileImg={testProfile} | ||
setInstagramId={test} | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default page; |
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
src/components/atoms/input/emailInput/EmailInput.stories.tsx
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,22 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
import test from '../../../../public/icons/testProfile.png'; | ||
|
||
import EmailInput from './EmailInput'; | ||
|
||
const meta: Meta<typeof EmailInput> = { | ||
title: 'components/atoms/input/EmailInput', | ||
component: EmailInput, | ||
tags: ['autodocs'], | ||
argTypes: {}, | ||
}; | ||
|
||
export default meta; | ||
|
||
type Story = StoryObj<typeof EmailInput>; | ||
|
||
export const Default: Story = { | ||
args: { | ||
label: '이메일', | ||
placeholder: '이메일을 입력해 주세요', | ||
}, | ||
}; |
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,22 @@ | ||
import React from 'react'; | ||
|
||
type Props = { | ||
label: string; | ||
placeholder: string; | ||
isDisabled: boolean; | ||
}; | ||
|
||
const EmailInput = ({ label, placeholder, isDisabled }: Props) => { | ||
return ( | ||
<div className={`flex items-center whitespace-nowrap ${isDisabled ? 'opacity-50 pointer-events-none' : ''}`}> | ||
<h1 className={`w-232 medium-bold text-main-point mr-25`}>{label}</h1> | ||
<input | ||
className='appearance-none focus:outline-none focus:ring-0 border-b-1 border-b-main-point placeholder:text-gray-medium-text-2 medium-regular pb-8 px-4 pt-4' | ||
placeholder={placeholder} | ||
disabled={isDisabled} | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default EmailInput; |
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
Oops, something went wrong.