Skip to content

Commit

Permalink
Merge pull request #289 from ttaerrim/288-group
Browse files Browse the repository at this point in the history
[Feat] 그룹 페이지 추가
  • Loading branch information
ttaerrim authored Dec 4, 2023
2 parents ae85204 + 467e602 commit 8d81600
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/frontend/src/hooks/useRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
MogacoPostPage,
Calendar,
MapLayout,
Groups,
} from '@/pages';

export const useRouter = () =>
Expand All @@ -34,6 +35,10 @@ export const useRouter = () =>
path: 'profile',
element: <>프로필</>,
},
{
path: 'groups',
element: <Groups />,
},
],
},
{
Expand Down
6 changes: 6 additions & 0 deletions app/frontend/src/pages/Groups/index.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { style } from '@vanilla-extract/css';

export const container = style({
maxWidth: '72rem',
margin: '0 auto',
});
11 changes: 11 additions & 0 deletions app/frontend/src/pages/Groups/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { sansBold36 } from '@/styles/font.css';

import * as styles from './index.css';

export function Groups() {
return (
<div className={styles.container}>
<h1 className={sansBold36}>그룹 리스트</h1>
</div>
);
}
1 change: 1 addition & 0 deletions app/frontend/src/pages/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './Calendar';
export * from './Groups';
export * from './Main';
export * from './Map';
export * from './Mogaco';
Expand Down
7 changes: 7 additions & 0 deletions app/frontend/src/styles/font.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ export const sansBold24 = style([
},
]);

export const sansBold36 = style([
sansBold,
{
fontSize: '3.6rem',
},
]);

export const sansRegular12 = style([
sansRegular,
{
Expand Down

0 comments on commit 8d81600

Please sign in to comment.