aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/alpha.174bg.net/src/app/layout.js
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-12 21:41:29 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-12 21:41:29 +0100
commit123c4371627ece5e81812a54507bcc2158be9eaf (patch)
tree73801414341110cc51c2602e7b3a9e0fabf17c0f /communities/red-right-hand/alpha.174bg.net/src/app/layout.js
parentcdd20614f1230971dae92c51337c5426f67c6fc3 (diff)
downloadunnamed-group-123c4371627ece5e81812a54507bcc2158be9eaf.tar
unnamed-group-123c4371627ece5e81812a54507bcc2158be9eaf.tar.gz
unnamed-group-123c4371627ece5e81812a54507bcc2158be9eaf.tar.bz2
unnamed-group-123c4371627ece5e81812a54507bcc2158be9eaf.tar.xz
unnamed-group-123c4371627ece5e81812a54507bcc2158be9eaf.zip
Render an iframe of the terminal html instead of taking you to it
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.js16
1 files changed, 2 insertions, 14 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 1fb6dfe..ce97609 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,6 +1,6 @@
import { Inter, Fira_Code } from "next/font/google";
import "./globals.css";
-import { CommandLineIcon } from "@heroicons/react/24/solid";
+import TerminalOverlay from "@/components/TerminalOverlay";
const inter = Inter({
variable: "--font-inter",
@@ -12,18 +12,6 @@ const firaCode = 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",
@@ -39,7 +27,7 @@ export default function RootLayout({ children }) {
className={`${inter.variable} ${firaCode.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">
- <TerminalButton />
+ <TerminalOverlay />
{children}
</body>
</html>