Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
โ€ฆeng-dong into feature/#780
  • Loading branch information
jinhokim98 committed Oct 23, 2024
2 parents fd049f0 + f98c0ea commit 9855e3a
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 11 deletions.
23 changes: 18 additions & 5 deletions client/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import type {Preview} from '@storybook/react';
import {HDesignProvider} from '../src/components/Design';
import {css, Global} from '@emotion/react';

const preview: Preview = {
parameters: {
Expand Down Expand Up @@ -30,11 +31,23 @@ const preview: Preview = {
},
},
decorators: [
Story => (
<HDesignProvider>
<Story />
</HDesignProvider>
),
Story => {
return (
<div>
<Global
styles={css`
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
body {
font-family: 'Pretendard', sans-serif;
}
`}
/>
<HDesignProvider>
<Story />
</HDesignProvider>
</div>
);
},
],
};

Expand Down
3 changes: 3 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@

<link rel="canonical" href="https://haengdong.pro/" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net" />
<link href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css" rel="stylesheet" />
<script
src="https://t1.kakaocdn.net/kakao_js_sdk/2.7.2/kakao.min.js"
integrity="sha384-TiCUE00h649CAMonG018J2ujOgDKW/kVWlChEuu4jK2vxfAAD0eZxzCKakxg55G4"
Expand Down
2 changes: 0 additions & 2 deletions client/src/GlobalStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import {css} from '@emotion/react';

// reset css -> index css
export const GlobalStyle = css`
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
all: unset;
display: revert;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxImportSource @emotion/react */
import type {Meta, StoryObj} from '@storybook/react';

import Carousel from './Carousel';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxImportSource @emotion/react */
import Icon from '../Icon/Icon';

import {deleteButtonStyle} from './Carousel.style';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxImportSource @emotion/react */
import {useTheme} from '@components/Design/theme/HDesignProvider';

import {indicatorContainerStyle, indicatorStyle} from './Carousel.style';
Expand Down
2 changes: 0 additions & 2 deletions client/src/components/Design/theme/GlobalStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import {css} from '@emotion/react';

// reset css -> index css
export const GlobalStyle = css`
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
all: unset;
display: revert;
Expand Down
5 changes: 3 additions & 2 deletions client/src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const Footer: React.FC<FooterProps> = () => {
<a href="https://github.com/woowacourse-teams/2024-haeng-dong/wiki" target="_blank">
ํ–‰๋™๋Œ€์žฅ ์†Œ๊ฐœ
</a>
{/* TODO: (@soha) ๋ฌธ์˜ ํŽ˜์ด์ง€ ๋งํฌ๋กœ ๊ผญ!! ์ถ”ํ›„ ์ˆ˜์ • */}
<Link to={'/'}>๋ฌธ์˜ํ•˜๊ธฐ</Link>
<a href="https://forms.gle/qtGXJ8WdPsWA3KURA" target="_blank">
๋ฌธ์˜ํ•˜๊ธฐ
</a>
<a href="mailto:[email protected]">์ด๋ฉ”์ผ</a>
</div>
<Text size="tiny" textColor="gray">
Expand Down

0 comments on commit 9855e3a

Please sign in to comment.