-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
321 additions
and
72 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
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,25 @@ | ||
name: 'Chromatic Deployment' | ||
|
||
on: push | ||
|
||
jobs: | ||
test: | ||
name: Storybook Chromatic Deployment | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 21 | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Run Chromatic | ||
uses: chromaui/action@v1 | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -23,4 +23,5 @@ dist-ssr | |
*.sln | ||
*.sw? | ||
.env | ||
*storybook.log | ||
*storybook.log | ||
storybook-static/* |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 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 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 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 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 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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
export * from './useModal'; | ||
export * from './useOutsideClick'; | ||
export * from './useOverlay'; | ||
export * from './usePreventGoBack'; |
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 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 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,10 @@ | ||
import { keyframes } from '@emotion/react'; | ||
|
||
export const fadeIn = keyframes` | ||
0%{ | ||
opacity: 0; | ||
} | ||
100%{ | ||
opacity: 1; | ||
} | ||
`; |
21 changes: 21 additions & 0 deletions
21
src/page/archiving/component/DaySection/DaySection.style.ts
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 { theme } from '@/common/style/theme/theme'; | ||
|
||
export const dayStyle = { | ||
padding: '0.8rem 2.6rem', | ||
|
||
border: 'none', | ||
|
||
backgroundColor: theme.colors.white, | ||
...theme.text.body04, | ||
|
||
cursor: 'pointer', | ||
}; | ||
|
||
export const bodyStyle = { | ||
width: '6rem', | ||
height: '48.4rem', | ||
|
||
overflow: 'scroll', | ||
|
||
backgroundColor: theme.colors.white, | ||
}; |
Empty file.
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 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 @@ | ||
import { monthBtnStyle } from '@/page/archiving/component/MonthHeader/MonthHeader.style'; | ||
import { MONTHS } from '@/page/archiving/constant/month'; | ||
|
||
import Button from '@/common/component/Button/Button'; | ||
import { headerStyle } from '@/common/component/Header/Header.style'; | ||
|
||
interface MonthHeaderProps { | ||
onMonthClick: (month: string) => void; | ||
} | ||
|
||
const MonthHeader = ({ onMonthClick }: MonthHeaderProps) => { | ||
return ( | ||
<section css={headerStyle}> | ||
{MONTHS.map((month) => ( | ||
<Button key={month} variant="primary" css={monthBtnStyle} onClick={() => onMonthClick(month)}> | ||
{month} | ||
</Button> | ||
))} | ||
</section> | ||
); | ||
}; | ||
|
||
export default MonthHeader; |
2 changes: 1 addition & 1 deletion
2
src/page/temp/component/constant/date.ts → src/page/archiving/constant/month.ts
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 |
---|---|---|
@@ -1 +1 @@ | ||
export const months = ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'] as const; | ||
export const MONTHS = ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'] as const; |
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,35 @@ | ||
import { css } from '@emotion/react'; | ||
|
||
import { theme } from '@/common/style/theme/theme'; | ||
|
||
export const landingStyle = css({ | ||
position: 'relative', | ||
|
||
height: '100vh', | ||
|
||
overflowY: 'auto', | ||
scrollSnapType: 'y mandatory', | ||
|
||
'& > section': { | ||
height: '100vh', | ||
}, | ||
}); | ||
|
||
export const sectionStyle = css({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
gap: '2.4rem', | ||
|
||
scrollSnapAlign: 'start', | ||
}); | ||
|
||
export const startedButtonStyle = css({ | ||
width: '32rem', | ||
|
||
marginTop: '0.8rem', | ||
|
||
fontSize: theme.text.body01.fontSize, | ||
lineHeight: theme.text.body01.lineHeight, | ||
}); |
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,31 @@ | ||
import { landingStyle, sectionStyle, startedButtonStyle } from '@/page/landing/LandingPage.style'; | ||
import LandingFeatureSection from '@/page/landing/component/FeatureSection/FeatureSection'; | ||
|
||
import Button from '@/common/component/Button/Button'; | ||
import Heading from '@/common/component/Heading/Heading'; | ||
|
||
const LandingPage = () => { | ||
return ( | ||
<main css={landingStyle}> | ||
<section css={sectionStyle}> | ||
<Heading tag="H1">동아리의 모든 순간을 쉽고 즐겁게</Heading> | ||
<Heading tag="H2" css={{ fontWeight: 500 }}> | ||
티키로 더 쉽고 편리한 동아리 활동을 경험하세요 | ||
</Heading> | ||
<Button css={startedButtonStyle} variant="action"> | ||
시작하기 | ||
</Button> | ||
</section> | ||
<LandingFeatureSection | ||
title="동아리의 모든 순간을 쉽고 즐겁게" | ||
description="기능 설명입니다 기능 설명입니다 기능 설명입니다" | ||
/> | ||
<LandingFeatureSection | ||
title="교내 동아리 탐색하기" | ||
description="기능 설명입니다 기능 설명입니다 기능 설명입니다" | ||
/> | ||
</main> | ||
); | ||
}; | ||
|
||
export default LandingPage; |
Oops, something went wrong.