diff --git a/app/(authenticated)/tags/[id]/page.tsx b/app/(authenticated)/tags/[id]/page.tsx
new file mode 100644
index 0000000..f5a4dd7
--- /dev/null
+++ b/app/(authenticated)/tags/[id]/page.tsx
@@ -0,0 +1,41 @@
+import {Alert, Breadcrumbs, Button, Link, Stack, Typography} from "@mui/material";
+import CardBackground from "@/components/layout/cardBackground";
+import {tagFactory} from "@/src/models/TagModel";
+import TagEditor from "@/components/tags/tagEditor";
+
+export default async function RoleDetailPage({params}: { params: { id: string } }) {
+ const tagId = parseInt(params.id, 10)
+ const tag = await tagFactory().show(tagId)
+
+ if (isNaN(tagId) || !tag) {
+ return (
+
+
+ タグが存在しません。
+
+
+
+
+ )
+ }
+
+ return (
+
+
+
+ 管理者のダッシュボード
+
+
+ タグ管理
+
+ {tag.name}
+
+
+
+
+
+
+ )
+}
diff --git a/app/(authenticated)/tags/create/page.tsx b/app/(authenticated)/tags/create/page.tsx
new file mode 100644
index 0000000..d5dcbe4
--- /dev/null
+++ b/app/(authenticated)/tags/create/page.tsx
@@ -0,0 +1,25 @@
+import {Stack, Breadcrumbs, Link, Typography} from "@mui/material";
+import CardBackground from "@/components/layout/cardBackground";
+import TagCreator from "@/components/tags/tagCreator";
+
+export default function TagCreatePage() {
+
+ return (
+
+
+
+ 管理者のダッシュボード
+
+
+ タグ管理
+
+ タグ作成
+
+
+
+
+
+ );
+}
diff --git a/app/(authenticated)/tags/page.tsx b/app/(authenticated)/tags/page.tsx
new file mode 100644
index 0000000..3793592
--- /dev/null
+++ b/app/(authenticated)/tags/page.tsx
@@ -0,0 +1,26 @@
+import {Stack, Breadcrumbs, Link, Typography} from "@mui/material";
+import CardBackground from "@/components/layout/cardBackground";
+import {tagFactory} from "@/src/models/TagModel";
+import TagsAgGrid from "@/components/tags/tagsAgGrid";
+
+export default async function TagsPage() {
+ const tags = await tagFactory().index()
+
+ return (
+
+
+
+ 管理者のダッシュボード
+
+ タグ管理
+
+
+
+
+
+ );
+}
diff --git a/components/layout/navigation.tsx b/components/layout/navigation.tsx
index 0b9ca9f..43e40e7 100644
--- a/components/layout/navigation.tsx
+++ b/components/layout/navigation.tsx
@@ -9,11 +9,11 @@ import {
HiUser,
HiUserGroup,
HiTrophy,
- HiMapPin, HiIdentification
+ HiMapPin, HiIdentification, HiMiniTag
} from "react-icons/hi2";
import {SiGithub} from "react-icons/si";
import WiderLogo from "@/components/svg/wider";
-import Link from "next/link"
+import Link from "next/link"
import NavPrivacyPolicyDrawer from "@/components/layout/navPrivacyPolicyDrawer";
import LogoutButton from "@/components/auth/LogoutButton";
@@ -27,9 +27,9 @@ export const Navigation = () => {
position="fixed"
sx={{
zIndex: (theme) => theme.zIndex.drawer + 1,
- background:"rgba(62,78,179,0.8)",
+ background: "rgba(62,78,179,0.8)",
backdropFilter: 'blur(30px)',
- }}>
+ }}>
@@ -42,26 +42,27 @@ export const Navigation = () => {
sx: {
backgroundColor: "#7F8CD6",
color: "#fff",
- pt:8
+ pt: 8
}
}}
sx={{
width: drawerWidth,
flexShrink: 0,
- [`& .MuiDrawer-paper`]: { width: drawerWidth, boxSizing: 'border-box' },
+ [`& .MuiDrawer-paper`]: {width: drawerWidth, boxSizing: 'border-box'},
}}
>
-
+
- 全体
+ 全体