Skip to content

chore: 불필요한 파일 정리 및 storybook 오류 해결 #97

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 4 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/design-system/stories/Checkbox.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from '@storybook/react';
import CheckBox from '../src/CheckBox';
import { CheckBox } from '../src/CheckBox';

const meta = {
title: 'Spots/Checkbox',
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/src/components/common/CardSlider.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactNode } from 'react';
import { View, FlatList, ListRenderItem } from 'react-native';
import { Color, Font } from 'design-system';
import jugeokJosa from '@/utils/jugeokJosa';
import jugyeokJosa from '@/utils/jugyeokJosa';

interface CardSliderProps<T> {
title: string;
Expand Down Expand Up @@ -44,7 +44,7 @@ export default function CardSlider<T>({
{data?.length === 0 ? (
<View className="justify-center items-center min-h-[80px]">
<Font color={titleColor || 'white'} type="body2">
조회된 {jugeokJosa(title)} 없어요.
조회된 {jugyeokJosa(title)} 없어요.
</Font>
</View>
) : (
Expand Down
9 changes: 0 additions & 9 deletions packages/react-native/src/components/common/Skeleton.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions packages/react-native/src/components/common/Tag.tsx

This file was deleted.

6 changes: 3 additions & 3 deletions packages/react-native/src/pages/Landing/Landing1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ export default function Landing1() {
</Font.Bold>
<View className="mt-3 items-center">
<WordBreak
width={300}
width={200}
type="body2"
color="white"
content="드라마/영화 제목으로 Spot(촬영지)을 검색하고, 촬영지, 주변 관광지, 음식점 정보를 확인하세요."
content="드라마/영화 제목으로"
/>
<WordBreak
width={300}
type="body2"
color="white"
content="나의 여행에 담아 한 눈에 확인할 수도 있어요!"
content="Spot(촬영지)을 검색하고, 상세정보를 확인하세요."
/>
</View>
<View
Expand Down
5 changes: 2 additions & 3 deletions packages/react-native/src/pages/Landing/Landing2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ export default function Landing2() {
return (
<View className="flex-1 items-center">
<Font.Bold type="mainTitle" color="red">
Spot! (촬영지) 검색
주변 여행지 담기
</Font.Bold>
<View className="mt-3 items-center">
<WordBreak
width={300}
type="body2"
color="white"
content="
드라마/영화 제목으로 Spot(촬영지)을 검색하고, 촬영지, 주변 관광지,
음식점 정보를 확인하세요."
촬영지 주변 관광지, 음식점, 숙소 정보를 확인하세요."
/>
<WordBreak
width={300}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const hasLastConsonantLetter = (text: string): boolean => {
return (text.charCodeAt(text.length - 1) - '가'.charCodeAt(0)) % 28 !== 0;
};

function jugeokJosa(txt: string) {
function jugyeokJosa(txt: string) {
const charCode = txt.charCodeAt(txt.length - 1);

const 받침 = (charCode - 44032) % 28 !== 0;
Expand All @@ -13,4 +13,4 @@ function jugeokJosa(txt: string) {
return `${txt}가`;
}

export default jugeokJosa;
export default jugyeokJosa;
Loading