diff options
Diffstat (limited to 'communities/red-right-hand/alpha.174bg.net/src/app/layout.js')
| -rw-r--r-- | communities/red-right-hand/alpha.174bg.net/src/app/layout.js | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/communities/red-right-hand/alpha.174bg.net/src/app/layout.js b/communities/red-right-hand/alpha.174bg.net/src/app/layout.js index dbc1eca..1fb6dfe 100644 --- a/communities/red-right-hand/alpha.174bg.net/src/app/layout.js +++ b/communities/red-right-hand/alpha.174bg.net/src/app/layout.js @@ -1,28 +1,47 @@ -import { Geist, Geist_Mono } from "next/font/google"; +import { Inter, Fira_Code } from "next/font/google"; import "./globals.css"; +import { CommandLineIcon } from "@heroicons/react/24/solid"; -const geistSans = Geist({ - variable: "--font-geist-sans", +const inter = Inter({ + variable: "--font-inter", subsets: ["latin"], }); -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", +const firaCode = Fira_Code({ + variable: "--font-fira-code", subsets: ["latin"], }); +function TerminalButton() { + return ( + <a + href="/terminal/index.html" + className="fixed top-4 right-4 bg-gray-800 text-white p-3 rounded-full shadow-lg hover:bg-gray-700 transition-colors z-50" + title="Access the web terminal" + > + <CommandLineIcon className="h-5 w-5" /> + </a> + ); +} + export const metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "174th Battle Group", + description: "Vengeance Within Reach", + icons: { + icon: "/favicon.png", + }, }; export default function RootLayout({ children }) { return ( <html lang="en" - className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`} + className={`${inter.variable} ${firaCode.variable} h-full antialiased`} > - <body className="min-h-full flex flex-col">{children}</body> + <body className="min-h-full flex flex-col"> + <TerminalButton /> + {children} + </body> </html> ); } |
