-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): design-token추가 및 tailwindcss.config.js 파일 수정 (#26)
* fix(ui): button 컴포넌트 디자이너 요청에 맞게 수정 * fix(ui): input 컴포넌트 디자이너 요청에 맞게 수정 * fix(ui): spinner 컴포넌트 디자이너 요청에 맞게 수정 * fix(ui): text 컴포넌트 디자이너 요청에 맞게 수정 * fix(ui): 전체적인 스토리북 세팅 수정 * feat(ui): design-token 폴더 추가 * fix(client): 새로운 Text 컴포넌트에 맞게 페이지 수정 * fix: 패키지 순환참조 오류 수정 * fix: docs, web을 admin, client 로 수정 * feat(ci): 캐시 기능 추가 * fix(ci): 불필요한 ci 요소 제거
- Loading branch information
Showing
38 changed files
with
3,734 additions
and
682 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "web", | ||
"name": "admin", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
|
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,5 +1,5 @@ | ||
{ | ||
"name": "docs", | ||
"name": "client", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
|
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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,3 +1,6 @@ | ||
export { default as InterviewCard } from './interviewCard'; | ||
export { default as InterviewJJoing } from './interviewJJoing'; | ||
export { default as IntroduceJJoing } from './introduceJJoing'; | ||
export { default as LandingPage } from './landing'; | ||
export { default as PromotionDetails } from './promotionDetails'; | ||
export { default as PromotionJJoing } from './promotionJJoing'; |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
'use client'; | ||
|
||
import { Text } from '@jjoing/ui'; | ||
import { m } from 'framer-motion'; | ||
|
||
type PromotionDetailsTypes = { | ||
id?: string; | ||
title?: string; | ||
explain?: string; | ||
}; | ||
|
||
const PromotionDetails = ({ id, title, explain }: PromotionDetailsTypes) => { | ||
return ( | ||
<m.div | ||
key={id} | ||
initial={{ opacity: 0, x: -50 }} | ||
animate={{ opacity: 1, x: 0 }} | ||
exit={{ opacity: 0, x: 50 }} | ||
transition={{ duration: 0.5 }} | ||
className="w-5/6 flex items-center justify-center" | ||
> | ||
<div className="w-[68%] h-full flex flex-col gap-5"> | ||
<Text type="body1" className="text-primary"> | ||
{id} | ||
</Text> | ||
<span className="text-f24 font-semibold text-gray-800">{title}</span> | ||
<Text type="body3" className="leading-5 whitespace-pre-line"> | ||
{explain} | ||
</Text> | ||
</div> | ||
</m.div> | ||
); | ||
}; | ||
|
||
export default PromotionDetails; |
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,29 +1,9 @@ | ||
const sharedConfig = require('@jjoing/ui/tailwind.config.js'); | ||
import sharedConfig from '@jjoing/ui/tailwind.config.js'; | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
...sharedConfig, | ||
content: [ | ||
'./src/**/*.{js,jsx,ts,tsx}', | ||
'./node_modules/@jjoing/ui/src/**/*.{js,jsx,ts,tsx}', | ||
], | ||
theme: { | ||
extend: { | ||
colors: { | ||
...sharedConfig.theme?.extend.colors, | ||
lightPrimary: '#7DC7A4', | ||
}, | ||
fontFamily: { | ||
pretendard: ['var(--font-pretendard)'], | ||
}, | ||
fontSize: { | ||
...sharedConfig.theme?.extend.fontSize, | ||
}, | ||
backgroundImage: { | ||
'main-gradient': | ||
'linear-gradient(to right, #e1fff2 0%, #f7fffc 30%, white 70%, white 100%)', | ||
}, | ||
}, | ||
}, | ||
plugins: [], | ||
}; |
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.