Skip to content

Commit

Permalink
feat: 폴더 기본구조 세팅 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeeZinu committed May 31, 2024
1 parent d0b400d commit 8cf30ed
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 10 deletions.
8 changes: 8 additions & 0 deletions src/app/(userpage)/mypage/MyPage.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import "@/styles/_index";
@import "@/styles/_media";

.container {
display: flex;
align-items: center;
justify-content: center;
}
7 changes: 7 additions & 0 deletions src/app/(userpage)/mypage/MyPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react";
import cn from "@/utils/classNames";
import styles from "./MyPage.module.scss";

export default function MyPage() {
return <div className={cn(styles.container)}>MyPage</div>;
}
1 change: 1 addition & 0 deletions src/app/(userpage)/mypage/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as MyPage } from "./MyPage";
5 changes: 0 additions & 5 deletions src/app/(userpage)/mypage/page.tsx

This file was deleted.

8 changes: 8 additions & 0 deletions src/app/(userpage)/otherpage/OtherPage.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import "@/styles/_index";
@import "@/styles/_media";

.container {
display: flex;
align-items: center;
justify-content: center;
}
7 changes: 7 additions & 0 deletions src/app/(userpage)/otherpage/OtherPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react";
import cn from "@/utils/classNames";
import styles from "./MyPage.module.scss";

export default function OtherPage() {
return <div className={cn(styles.container)}>OtherPage</div>;
}
1 change: 1 addition & 0 deletions src/app/(userpage)/otherpage/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as OtherPage } from "./OtherPage";
5 changes: 0 additions & 5 deletions src/app/(userpage)/otherpage/page.tsx

This file was deleted.

0 comments on commit 8cf30ed

Please sign in to comment.