로그인 페이지 마크업!#14
Open
khj0426 wants to merge 1 commit into
Open
Conversation
jaegwans
approved these changes
Feb 3, 2024
Comment on lines
+1
to
+21
| import type { Meta, StoryObj } from '@storybook/react'; | ||
| import SocialLoginButton from './index'; | ||
| import KakaoButton from '../../../public/SVG/kakao.svg' | ||
| import Image from 'next/image'; | ||
| const meta = { | ||
| title: '소셜 로그인 버튼', | ||
| component: SocialLoginButton, | ||
| tags: ['autodocs'], | ||
| parameters: { | ||
| layout: 'fullscreen', | ||
| }, | ||
| } satisfies Meta<typeof SocialLoginButton>; | ||
|
|
||
| export default meta; | ||
| type Story = StoryObj<typeof meta>; | ||
|
|
||
| export const KakaoSocialLoginButton:Story = { | ||
| args:{ | ||
| icon:<Image src = {KakaoButton} width={50} height={50} alt = "카카오 로그인 버튼" />, | ||
| text:'카카오로 계속하기', | ||
| backGroundColor:'#FFD231' |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 타입(하나 이상의 PR 타입을 선택해주세요)
-[] 기능 추가
-[] 기능 삭제
-[] 버그 수정
-[] 의존성, 환경 변수, 빌드 관련 코드 업데이트
반영 브랜치
ex) feat/login -> dev
kakao_login -> dev
변경 사항
ex) 로그인 시, 구글 소셜 로그인 기능을 추가했습니다. (사진은 선택사항입니다.)
로그인 페이지 마크업만 진행했어요!!