diff --git a/apps/cs/.prettierrc b/apps/cs/.prettierrc
new file mode 100644
index 000000000..b4bfed357
--- /dev/null
+++ b/apps/cs/.prettierrc
@@ -0,0 +1,3 @@
+{
+ "plugins": ["prettier-plugin-tailwindcss"]
+}
diff --git a/apps/cs/app/favicon.ico b/apps/cs/app/favicon.ico
deleted file mode 100644
index 718d6fea4..000000000
Binary files a/apps/cs/app/favicon.ico and /dev/null differ
diff --git a/apps/cs/app/globals.css b/apps/cs/app/globals.css
deleted file mode 100644
index b8d9a1ca6..000000000
--- a/apps/cs/app/globals.css
+++ /dev/null
@@ -1,5 +0,0 @@
-@import "@common/assets/index.css";
-
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
diff --git a/apps/cs/app/layout.tsx b/apps/cs/app/layout.tsx
index f7fa87eb8..dc361bb31 100644
--- a/apps/cs/app/layout.tsx
+++ b/apps/cs/app/layout.tsx
@@ -1,34 +1,2 @@
-import type { Metadata } from "next";
-import { Geist, Geist_Mono } from "next/font/google";
-import "./globals.css";
-
-const geistSans = Geist({
- variable: "--font-geist-sans",
- subsets: ["latin"],
-});
-
-const geistMono = Geist_Mono({
- variable: "--font-geist-mono",
- subsets: ["latin"],
-});
-
-export const metadata: Metadata = {
- title: "Create Next App",
- description: "Generated by create next app",
-};
-
-export default function RootLayout({
- children,
-}: Readonly<{
- children: React.ReactNode;
-}>) {
- return (
-
-
- {children}
-
-
- );
-}
+import { App } from "@/app";
+export default App;
diff --git a/apps/cs/app/page.tsx b/apps/cs/app/page.tsx
deleted file mode 100644
index c4496e5b9..000000000
--- a/apps/cs/app/page.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-"use client";
-
-import { BaseLayout } from "@common/components";
-
-export default function Home() {
- return (
-
- 유역하수도 통합 정보플랫폼
-
- );
-}
diff --git a/apps/cs/app/site/page.tsx b/apps/cs/app/site/page.tsx
new file mode 100644
index 000000000..0cf120630
--- /dev/null
+++ b/apps/cs/app/site/page.tsx
@@ -0,0 +1,2 @@
+import { SitePage } from "@/pages/site";
+export default SitePage;
diff --git a/apps/cs/package.json b/apps/cs/package.json
index 81b363ed9..eba015fc2 100644
--- a/apps/cs/package.json
+++ b/apps/cs/package.json
@@ -18,6 +18,9 @@
"eslint": "^9",
"eslint-config-next": "15.1.7",
"postcss": "^8",
+ "prettier": "^3.4.2",
+ "prettier-plugin-tailwindcss": "^0.6.11",
+ "steiger": "^0.5.5",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
diff --git a/apps/cs/pages/.gitkeep b/apps/cs/pages/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/apps/cs/src/app/index.tsx b/apps/cs/src/app/index.tsx
new file mode 100644
index 000000000..ee072f007
--- /dev/null
+++ b/apps/cs/src/app/index.tsx
@@ -0,0 +1,17 @@
+import type { Metadata } from "next";
+import "./styles/base.css";
+import "./styles/components.css";
+
+export const metadata: Metadata = {
+ title: "유역하수도 통합 정보플랫폼",
+};
+
+const App = ({ children }: Readonly<{ children: React.ReactNode }>) => {
+ return (
+
+ {children}
+
+ );
+};
+
+export { App };
diff --git a/apps/cs/src/app/styles/base.css b/apps/cs/src/app/styles/base.css
new file mode 100644
index 000000000..accc149d6
--- /dev/null
+++ b/apps/cs/src/app/styles/base.css
@@ -0,0 +1,10 @@
+@import "@common/assets/index.css";
+
+@tailwind base;
+@tailwind utilities;
+
+html,
+body {
+ font-family: "Noto Sans KR", sans-serif;
+ font-size: 10px;
+}
diff --git a/apps/cs/src/app/styles/components.css b/apps/cs/src/app/styles/components.css
new file mode 100644
index 000000000..298c5585c
--- /dev/null
+++ b/apps/cs/src/app/styles/components.css
@@ -0,0 +1,10 @@
+@tailwind components;
+
+@layer components {
+ .card {
+ @apply relative m-[0.6rem] box-border min-h-[2rem] rounded-[0.5rem] p-[0.6rem] text-[1.3rem] text-[#666];
+ }
+ .card-border {
+ @apply shadow-blur border border-[#dbe2e6] bg-[rgba(255,255,255,0.6)];
+ }
+}
diff --git a/apps/cs/src/pages/site/index.ts b/apps/cs/src/pages/site/index.ts
new file mode 100644
index 000000000..47f236d79
--- /dev/null
+++ b/apps/cs/src/pages/site/index.ts
@@ -0,0 +1 @@
+export { SitePage } from "./ui";
diff --git a/apps/cs/src/pages/site/ui/index.tsx b/apps/cs/src/pages/site/ui/index.tsx
new file mode 100644
index 000000000..d9342a47b
--- /dev/null
+++ b/apps/cs/src/pages/site/ui/index.tsx
@@ -0,0 +1,35 @@
+"use client";
+
+import { BaseLayout, Button, Input } from "@common/components";
+
+const SitePage = () => {
+ return (
+
+
+
+ );
+};
+
+export { SitePage };
diff --git a/apps/cs/tailwind.config.ts b/apps/cs/tailwind.config.ts
index 874f80274..3383e603d 100644
--- a/apps/cs/tailwind.config.ts
+++ b/apps/cs/tailwind.config.ts
@@ -5,7 +5,14 @@ export default {
presets: [presetConfig],
darkMode: ["class", "[data-mode='dark']"],
content: [
- "./app/**/*.{js,ts,jsx,tsx,mdx}",
+ "./src/**/*.{js,ts,jsx,tsx,mdx}",
"../../packages/common/components/src/ui/**/*.{js,ts,jsx,tsx,mdx}",
],
+ theme: {
+ extend: {
+ boxShadow: {
+ blur: "0 0 10px -1px rgba(0, 0, 0, 0.06)",
+ },
+ },
+ },
} satisfies Config;
diff --git a/apps/cs/tsconfig.json b/apps/cs/tsconfig.json
index d02fda194..145a51f58 100644
--- a/apps/cs/tsconfig.json
+++ b/apps/cs/tsconfig.json
@@ -2,7 +2,6 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
- "baseUrl": ".",
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
@@ -23,11 +22,12 @@
"name": "next"
}
],
+ "baseUrl": "./src",
"paths": {
"@/*": ["./*"],
- "@common/components": ["../../packages/common/components/src"],
- "@common/assets/*": ["../../packages/common/assets/dist/*"],
- "@common/assets": ["../../packages/common/assets/dist"]
+ "@common/components": ["../../../packages/common/components/src"],
+ "@common/assets/*": ["../../../packages/common/assets/dist/*"],
+ "@common/assets": ["../../../packages/common/assets/dist"]
}
},
"include": [