-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Refactor] as const 선언 -> 상수로 수정
- Loading branch information
Showing
22 changed files
with
231 additions
and
252 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,3 +1,3 @@ | ||
export const COOKIE_KEY = { | ||
ACCESS_TOKEN: "token", | ||
} as const; | ||
export const enum COOKIE_KEY { | ||
ACCESS_TOKEN = "token", | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
export const MAIN_SECTIONS = { | ||
HEADLINE: "HEADLINE", | ||
LOTTERY: "LOTTERY", | ||
RUSH: "RUSH", | ||
LEARN_MORE: "LEARN_MORE", | ||
} as const; | ||
export const enum MAIN_SECTIONS { | ||
HEADLINE = "HEADLINE", | ||
LOTTERY = "LOTTERY", | ||
RUSH = "RUSH", | ||
LEARN_MORE = "LEARN_MORE", | ||
} | ||
|
||
export const LOTTERY_SECTIONS = { | ||
HEADLINE: "HEADLINE", | ||
INTRO: "INTRO", | ||
HEADLAMP: "HEADLAMP", | ||
PIXEL_DESIGN: "PIXEL_DESIGN", | ||
WHEEL_DESIGN: "WHEEL_DESIGN", | ||
CUSTOM_DESIGN: "CUSTOM_DESIGN", | ||
NEW_COLOR: "NEW_COLOR", | ||
SMILE_BADGE: "SMILE_BADGE", | ||
SHORT_CUT: "SHORT_CUT", | ||
} as const; | ||
export const enum LOTTERY_SECTIONS { | ||
HEADLINE = "HEADLINE", | ||
INTRO = "INTRO", | ||
HEADLAMP = "HEADLAMP", | ||
PIXEL_DESIGN = "PIXEL_DESIGN", | ||
WHEEL_DESIGN = "WHEEL_DESIGN", | ||
CUSTOM_DESIGN = "CUSTOM_DESIGN", | ||
NEW_COLOR = "NEW_COLOR", | ||
SMILE_BADGE = "SMILE_BADGE", | ||
SHORT_CUT = "SHORT_CUT", | ||
} | ||
|
||
export const RUSH_SECTIONS = { | ||
HEADLINE: "HEADLINE", | ||
INTRO: "INTRO", | ||
FAQ: "FAQ", | ||
ELECTRIC_REASON: "ELECTRIC_REASON", | ||
ELECTRIC_ADVANTAGE: "ELECTRIC_ADVANTAGE", | ||
REASON_FIRST: "REASON_FIRST", | ||
CASPER_FAR: "CASPER_FAR", | ||
CASPER_FAST: "CASPER_FAST", | ||
CASPER_COMFORTABLE: "CASPER_COMFORTABLE", | ||
REASON_SECOND: "REASON_SECOND", | ||
CASPER_WIDE: "CASPER_WIDE", | ||
CASPER_CHARGE: "CASPER_CHARGE", | ||
CASPER_SMART_KEY: "CASPER_SMART_KEY", | ||
} as const; | ||
export const enum RUSH_SECTIONS { | ||
HEADLINE = "HEADLINE", | ||
INTRO = "INTRO", | ||
FAQ = "FAQ", | ||
ELECTRIC_REASON = "ELECTRIC_REASON", | ||
ELECTRIC_ADVANTAGE = "ELECTRIC_ADVANTAGE", | ||
REASON_FIRST = "REASON_FIRST", | ||
CASPER_FAR = "CASPER_FAR", | ||
CASPER_FAST = "CASPER_FAST", | ||
CASPER_COMFORTABLE = "CASPER_COMFORTABLE", | ||
REASON_SECOND = "REASON_SECOND", | ||
CASPER_WIDE = "CASPER_WIDE", | ||
CASPER_CHARGE = "CASPER_CHARGE", | ||
CASPER_SMART_KEY = "CASPER_SMART_KEY", | ||
} | ||
|
||
export const CASPER_CUSTOM_SECTIONS = { | ||
CUSTOM: "CUSTOM", | ||
} as const; | ||
export const enum CASPER_CUSTOM_SECTIONS { | ||
CUSTOM = "CUSTOM", | ||
} | ||
|
||
export const CASPER_SHOWCASE_SECTIONS = { | ||
SHOWCASE: "SHOWCASE", | ||
} as const; | ||
export const enum CASPER_SHOWCASE_SECTIONS { | ||
SHOWCASE = "SHOWCASE", | ||
} |
Oops, something went wrong.