-
Notifications
You must be signed in to change notification settings - Fork 1
[Feat] Image Box 컴포넌트 제작 #12
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 all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
12c08e5
refactor: common 컴포넌트를 폴더 단위로 재구성
KyeongJooni a7a70a6
refactor: introductions 컴포넌트를 폴더 단위로 재구성
KyeongJooni 5801475
refactor: projects 컴포넌트를 폴더 단위로 재구성
KyeongJooni b78b2b2
refactor: gen-index.ts를 재귀 구조로 변경
KyeongJooni 9d9eca8
feat: 파트너 이미지 박스 컴포넌트 추가
KyeongJooni f41d9a0
feat: 이미지 업로드 박스 컴포넌트 추가
KyeongJooni a259249
feat: 이미지 박스 썸네일에 size variant 추가
KyeongJooni d916fc1
chore: Storybook 설정 및 배포 workflow 추가
KyeongJooni 8fcc6f7
test: common 컴포넌트 스토리 추가
KyeongJooni e63ca03
test: introductions 컴포넌트 스토리 추가
KyeongJooni c94b19a
test: projects 컴포넌트 스토리 추가
KyeongJooni 299e698
fix: Tailwind 반경 토큰의 shadcn 잔재 제거
KyeongJooni 930ca1a
style: Button 컴포넌트 주석 간략화
KyeongJooni d7723ec
chore: 미사용 shadcn 설정 및 placeholder 파일 제거
KyeongJooni dacb60a
docs: tv.ts, utils.ts 주석 한국어로 정리
KyeongJooni 2d8653b
chore: .agents 디렉터리 gitignore 처리
KyeongJooni ae41cda
fix: Storybook 배포 workflow의 checkout 자격증명 유지 방지
KyeongJooni 37007f0
fix: 파트너 이미지 박스 hover 오버레이 키보드 접근성 수정
KyeongJooni 527d217
refactor: 이미지 파일 입력 로직을 공용 훅으로 분리
KyeongJooni 83c2918
test: 파트너 이미지 박스, 이미지 업로드 박스 유닛 테스트 추가
KyeongJooni 96e618e
fix: 숨긴 파일 input이 Tab 순서에 남지 않도록 수정
KyeongJooni e4be435
Merge remote-tracking branch 'origin/main' into feat/image-box-compon…
KyeongJooni 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 |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| name: Deploy Storybook | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| concurrency: | ||
| group: 'pages' | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build-and-deploy: | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10 | ||
| run_install: false | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| cache: pnpm | ||
|
|
||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Build Storybook | ||
| run: pnpm build-storybook | ||
| env: | ||
| STORYBOOK_BASE_PATH: /makers-admin-fe/ | ||
|
|
||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v4 | ||
|
|
||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: storybook-static | ||
|
|
||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 | ||
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 |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| import path from 'path' | ||
| import { fileURLToPath } from 'node:url' | ||
| import tailwindcss from '@tailwindcss/vite' | ||
| import type { StorybookConfig } from '@storybook/react-vite' | ||
|
|
||
| const dirname = path.dirname(fileURLToPath(import.meta.url)) | ||
|
|
||
| const config: StorybookConfig = { | ||
| stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], | ||
| addons: ['@storybook/addon-a11y', '@storybook/addon-docs'], | ||
| framework: '@storybook/react-vite', | ||
| viteFinal: (viteConfig) => { | ||
| viteConfig.plugins ??= [] | ||
| viteConfig.plugins.push(tailwindcss()) | ||
| viteConfig.resolve ??= {} | ||
| viteConfig.resolve.alias = { | ||
| '@': path.resolve(dirname, '../src'), | ||
| '@api': path.resolve(dirname, '../src/api'), | ||
| '@components': path.resolve(dirname, '../src/components'), | ||
| '@hooks': path.resolve(dirname, '../src/hooks'), | ||
| '@lib': path.resolve(dirname, '../src/lib'), | ||
| '@pages': path.resolve(dirname, '../src/pages'), | ||
| } | ||
| if (process.env.STORYBOOK_BASE_PATH) { | ||
| viteConfig.base = process.env.STORYBOOK_BASE_PATH | ||
| } | ||
| return viteConfig | ||
| }, | ||
| } | ||
| 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import type { Preview } from '@storybook/react-vite' | ||
| import '../src/index.css' | ||
|
|
||
| const preview: Preview = { | ||
| parameters: { | ||
| controls: { | ||
| matchers: { | ||
| color: /(background|color)$/i, | ||
| date: /Date$/i, | ||
| }, | ||
| }, | ||
| }, | ||
| } | ||
|
|
||
| export default preview |
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
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.
Uh oh!
There was an error while loading. Please reload this page.