feat: 사이트 관리 페이지 생성

This commit is contained in:
2025-02-26 15:31:56 +09:00
parent d14c19c66c
commit b0a509499e
15 changed files with 95 additions and 55 deletions
+17
View File
@@ -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 (
<html lang="ko">
<body>{children}</body>
</html>
);
};
export { App };
+10
View File
@@ -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;
}
+10
View File
@@ -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)];
}
}
+1
View File
@@ -0,0 +1 @@
export { SitePage } from "./ui";
+35
View File
@@ -0,0 +1,35 @@
"use client";
import { BaseLayout, Button, Input } from "@common/components";
const SitePage = () => {
return (
<BaseLayout>
<div className="h-full bg-[#f1f6f9]">
<h2 className="px-[1.8rem] pt-[2rem] text-[2.4rem] font-semibold text-[#4c5e6f]">
사이트 관리
</h2>
<div className="card">
<div className="card card-border !border-[#dbe2e6] !bg-[#eef7ff]">
<div className="flex items-center gap-2 p-2">
<label htmlFor="" className="mr-2 text-[#657481]">
사이트명
</label>
<Input className="h-[3.2rem] w-[24rem] rounded-sm !text-[1.3rem]" />
<Button className="h-[3.2rem]">조회</Button>
</div>
</div>
<div className="card card-border">
<div className="flex items-center justify-between p-2">
<h3>사이트 목록</h3>
<Button className="">등록</Button>
</div>
</div>
<div>{/* 테이블 */}</div>
</div>
</div>
</BaseLayout>
);
};
export { SitePage };