aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/alpha.174bg.net/src/app/layout.js
blob: 1fb6dfea41214e485a55a61468d207c49c0132eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { Inter, Fira_Code } from "next/font/google";
import "./globals.css";
import { CommandLineIcon } from "@heroicons/react/24/solid";

const inter = Inter({
  variable: "--font-inter",
  subsets: ["latin"],
});

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: "174th Battle Group",
  description: "Vengeance Within Reach",
  icons: {
    icon: "/favicon.png",
  },
};

export default function RootLayout({ children }) {
  return (
    <html
      lang="en"
      className={`${inter.variable} ${firaCode.variable} h-full antialiased`}
    >
      <body className="min-h-full flex flex-col">
        <TerminalButton />
        {children}
      </body>
    </html>
  );
}