Skip to content

Commit bc7a7cf

Browse files
committed
RouteType 추가
1 parent 52a2ba6 commit bc7a7cf

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Diff for: constants/routes.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
export const Routes = {
1+
import { RouteType } from '@/interfaces/RouteType';
2+
3+
export const Routes: { [key: string]: RouteType } = {
24
HOME: {
35
title: 'PyCon KR',
46
route: '/',
57
},
68
COC: {
79
title: '행동 강령',
8-
route: '/',
10+
route: '/coc',
911
},
1012
SPONSOR_INFO: {
1113
title: '후원 안내',

Diff for: interfaces/RouteType.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export interface RouteType {
2+
title: string;
3+
route: string;
4+
}

0 commit comments

Comments
 (0)