Skip to content

Commit

Permalink
[#43] chore: Atoms의 폴더명을 대문자로 시작
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunnnn98 committed Apr 23, 2023
1 parent 86341b2 commit ad070bf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 34 deletions.
6 changes: 3 additions & 3 deletions src/components/atoms/button/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { Button } from './Button';
export { LinkButton } from './LinkButton';
export { CountDownButton } from './CountDownButton';
export * from './Button';
export * from './LinkButton';
export * from './CountDownButton';
23 changes: 0 additions & 23 deletions src/components/atoms/button/link_button.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/atoms/card/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Card } from './Card';
export * from './Card';
Empty file.
8 changes: 1 addition & 7 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import Head from 'next/head';
import classNames from 'classnames';
import { Noto_Sans_KR, Lato } from 'next/font/google';

// Todo: atomic 디자인 패턴 실험중에만 하기의 컴포넌트를 추가한다.
import { CountDownButton } from '@/components/atoms/button';

const notoSansKr = Noto_Sans_KR({
// preload: true, 기본값
subsets: ['latin'], // 또는 preload: false
Expand All @@ -28,10 +25,7 @@ export default function Home() {
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={classNames(notoSansKr.className, lato.variable)}>
<CountDownButton counter={90} />
<CountDownButton counter={300} />
</main>
<main className={classNames(notoSansKr.className, lato.variable)}></main>
</>
);
}

0 comments on commit ad070bf

Please sign in to comment.