diff --git a/app/layout.tsx b/app/layout.tsx index 6a410a7..f2210a5 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -5,6 +5,7 @@ import SignoutButton from "@/components/signout-button"; import Logo from "@/components/logo"; import BackButton from "@/components/back-button"; import Link from "next/link"; +import { AdminButton } from "@/components/admin-button"; const inter = Inter({ subsets: ["latin"] }); @@ -49,6 +50,7 @@ export default function RootLayout({
+
diff --git a/app/songs/search-form.tsx b/app/songs/search-form.tsx index cdbaa2f..8349939 100644 --- a/app/songs/search-form.tsx +++ b/app/songs/search-form.tsx @@ -28,7 +28,7 @@ export default function SearchForm({ {item.name} - {item.artist} ))} diff --git a/components/admin-button.tsx b/components/admin-button.tsx new file mode 100644 index 0000000..2d2aff3 --- /dev/null +++ b/components/admin-button.tsx @@ -0,0 +1,13 @@ +import Link from "next/link"; + +export function AdminButton({ className }: { className?: string | undefined }) { + return ( + + 后台管理 + + ); +}