-
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.
refactor(constants): 체계 정리, 파일 네이밍 컨벤션 camelCase (#275)
* refactor(constants): 체계 정리, 파일 네이밍 컨벤션 camelCase * refactor(constants): tmp 제거 파일명의 대소문자 변화는 git에서 인식하지 못합니다.
- Loading branch information
Showing
76 changed files
with
198 additions
and
189 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
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
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
2 changes: 1 addition & 1 deletion
2
app/src/@core/components/Spotlight/SpotlightProjectListItem.tsx
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,8 +1,9 @@ | ||
import { LOCAL_STORAGE_KEYS } from '@shared/constants/storage'; | ||
import { atomWithStorage } from 'jotai/utils'; | ||
|
||
export type ThemePreference = 'light' | 'dark' | 'system'; | ||
|
||
export const themePreferenceAtom = atomWithStorage<ThemePreference>( | ||
'theme_preference', | ||
LOCAL_STORAGE_KEYS.THEME_PREFERENCE, | ||
'light', | ||
); |
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
2 changes: 1 addition & 1 deletion
2
app/src/@shared/components/DashboardContentView/Rank/ProjectRankListItem.tsx
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
4 changes: 2 additions & 2 deletions
4
app/src/@shared/components/DashboardContentView/Rank/UserRankListItem.tsx
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
2 changes: 1 addition & 1 deletion
2
app/src/@shared/components/DashboardContentView/Text/TextProject.tsx
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
export const ALT = { | ||
AVATAR_OF: (login: string) => `${login} 사진`, | ||
COALITION_LOGO_OF: (name: string) => `코알리숑 ${name} 로고`, | ||
LOGO_42: '42 로고', | ||
POKEMON_OF: (name: string) => `포켓몬 ${name}`, | ||
POKEMON_NOT_FOUND: '포켓몬을 찾을 수 없습니다', | ||
} as const; | ||
|
||
export const ARIA_LABEL = { | ||
LINK: { | ||
STAT: '42 Stat', | ||
HOME: '홈', | ||
STAT_GITHUB: '42 Stat 깃허브', | ||
PROFILE_OF: (login: string) => `${login} 프로필`, | ||
} as const, | ||
BUTTON: { | ||
LOGIN_WITH_42_ACCOUNT: '42 계정으로 로그인', | ||
LOGIN_WITH_GOOGLE_ACCOUNT: '구글 계정으로 로그인', | ||
SEARCH_USER_OR_PROJECT_USING_SPOTLIGHT: | ||
'스포트라이트를 이용해 유저나 프로젝트 검색', | ||
PAGINATION: { | ||
FIRST_PAGE: '첫 페이지', | ||
PREVIOUS_PAGE_GROUP: '이전 페이지 그룹', | ||
NEXT_PAGE_GROUP: '다음 페이지 그룹', | ||
LAST_PAGE: '마지막 페이지', | ||
PAGE_OF: (page: number) => `${page} 페이지`, | ||
CURRENT_PAGE_OF: (page: number) => `현재 ${page} 페이지`, | ||
} as const, | ||
SEARCH_EVAL_LOGS: '평가 로그 검색', | ||
LINK_WITH: (provider: string) => `${provider} 계정으로 연결`, | ||
UNLINK_WITH: (provider: string) => `${provider} 계정 연결 해제`, | ||
} as const, | ||
} as const; |
Oops, something went wrong.