aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/envshare/app/layout.tsx
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-19 17:30:39 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-19 17:30:39 +0800
commit3adc965dd09490b7efa1cce9f09b0a3b30970277 (patch)
treef813abb07d7b003984aa74e3154752b6ffc3ccd5 /envshare/app/layout.tsx
parentc7c9ca6f0c8eddf6d34cd40779f3b2d9463f3a46 (diff)
downloadHydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.tar.gz
HydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.zip
✨优化文档
Diffstat (limited to 'envshare/app/layout.tsx')
-rw-r--r--envshare/app/layout.tsx58
1 files changed, 0 insertions, 58 deletions
diff --git a/envshare/app/layout.tsx b/envshare/app/layout.tsx
deleted file mode 100644
index e7d8419..0000000
--- a/envshare/app/layout.tsx
+++ /dev/null
@@ -1,58 +0,0 @@
-import "./globals.css";
-import { Inter } from "@next/font/google";
-import Link from "next/link";
-import { Header } from "./header";
-
-import { Analytics } from "@components/analytics";
-const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
-
-export default function RootLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
- <html lang="en" className={inter.variable}>
- <head />
- <body className="relative min-h-screen bg-black bg-gradient-to-tr from-zinc-900/50 to-zinc-700/30">
- {
- // Not everyone will want to host envshare on Vercel, so it makes sense to make this opt-in.
- process.env.ENABLE_VERCEL_ANALYTICS ? <Analytics /> : null
- }
-
- <Header />
-
- <main className=" min-h-[80vh] ">{children}</main>
-
- <footer className="bottom-0 border-t inset-2x-0 border-zinc-500/10">
- <div className="flex flex-col gap-1 px-6 py-12 mx-auto text-xs text-center text-zinc-700 max-w-7xl lg:px-8">
- <p>
- Built by{" "}
- <Link href="https://github.com/HsiangNianian" className="font-semibold duration-150 hover:text-zinc-200">
- @简律纯
- </Link>
- and{" "}
- <Link
- href="https://github.com/retrofor/ChienDice/graphs/contributors"
- className="underline duration-150 hover:text-zinc-200"
- >
- many others{" "}
- </Link>
- </p>
- <p>
- EnvShare is deployed on{" "}
- <Link target="_blank" href="https://vercel.com" className="underline duration-150 hover:text-zinc-200">
- Vercel
- </Link>{" "}
- and uses{" "}
- <Link target="_blank" href="https://upstash.com" className="underline duration-150 hover:text-zinc-200">
- Upstash
- </Link>{" "}
- for storing encrypted data.
- </p>
- </div>
- </footer>
- </body>
- </html>
- );
-}