-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Login 페이지 구현 및 TextButton / GNB 공통 컴포넌트 구현 (#37) #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1521545
feat(#37): 필요한 패키지 설치 및 ky 버전 다운그레이드
wkdtnqls0506 ddd8bf4
refactor(#37): Storybook을 Vite에서 Webpack 기반으로 변경
wkdtnqls0506 89b4e20
feat(#37): icon svg 및 images 생성
wkdtnqls0506 299945c
refactor(#37): 스타일 컨벤션에 따라 px -> rem 변경 및 버튼 시멘틱 토큰 추가
wkdtnqls0506 26cc869
feat(#37): SubGNB 컴포넌트 생성
wkdtnqls0506 65c2556
feat(#37): Login 페이지 생성
wkdtnqls0506 400161b
feat(#37): TextButton 컴포넌트 생성
wkdtnqls0506 c4e996a
chore(#37): 누락된 패키지 추가 - tsconfig-paths
wkdtnqls0506 e9be19a
refactor(#37): 변경된 typo 반영
wkdtnqls0506 3db2cdc
chore(#37): svg 파일 경로 수정
wkdtnqls0506 9faffbd
refactor(#37): 로그인 배경 이미지 압축 및 확장자 webp로 변경
wkdtnqls0506 caad43c
refactor(#37): GNB로 네이밍 변경 및 title 가운데 정렬 수정
wkdtnqls0506 6341484
chore(#37): 변경사항에 따른 JSDoc 수정
wkdtnqls0506 81f5b35
chore(#37): Text 컴포넌트 누락된 fontWeight 추가
wkdtnqls0506 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,39 @@ | ||
| import type { StorybookConfig } from "@storybook/nextjs-vite"; | ||
| import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin"; | ||
| import svgr from "vite-plugin-svgr"; | ||
| import tsconfigPaths from "vite-tsconfig-paths"; | ||
| /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
| import type { StorybookConfig } from "@storybook/nextjs"; | ||
| import { VanillaExtractPlugin } from "@vanilla-extract/webpack-plugin"; | ||
|
|
||
| const config: StorybookConfig = { | ||
| stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"], | ||
| addons: [ | ||
| "@chromatic-com/storybook", | ||
| "@storybook/addon-docs", | ||
| "@storybook/addon-a11y", | ||
| "@storybook/addon-vitest", | ||
| ], | ||
| addons: ["@storybook/addon-docs", "@storybook/addon-a11y"], | ||
| framework: { | ||
| name: "@storybook/nextjs-vite", | ||
| name: "@storybook/nextjs", | ||
| options: {}, | ||
| }, | ||
| features: { | ||
| experimentalRSC: true, | ||
| }, | ||
| staticDirs: ["../public"], | ||
| async viteFinal(config) { | ||
| return { | ||
| ...config, | ||
| plugins: [ | ||
| ...(config.plugins ?? []), | ||
| svgr(), | ||
| vanillaExtractPlugin(), | ||
| tsconfigPaths(), | ||
| ], | ||
| }; | ||
| webpackFinal: async (config: any) => { | ||
| const imageRule = config.module.rules.find(rule => { | ||
| const test = (rule as { test: RegExp }).test; | ||
|
|
||
| if (!test) { | ||
| return false; | ||
| } | ||
|
|
||
| return test.test(".svg"); | ||
| }) as { [key: string]: any }; | ||
|
|
||
| imageRule.exclude = /\.svg$/; | ||
|
|
||
| config.module.rules.push({ | ||
| test: /\.svg$/, | ||
| use: ["@svgr/webpack"], | ||
| }); | ||
|
|
||
| config.plugins.push(new VanillaExtractPlugin()); | ||
|
|
||
| return config; | ||
| }, | ||
| }; | ||
| export default config; | ||
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
타입 안전성을 개선해주세요.
webpack 설정에서
any타입을 과도하게 사용하고 있습니다. 더 명확한 타입을 사용하면 유지보수성이 향상됩니다.그리고 타입 가드를 사용하여 안전하게 처리하세요:
🤖 Prompt for AI Agents