aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/src
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 17:02:38 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 17:02:38 +0100
commitbf489b65223b424c0bba10f919ef269c39a813b1 (patch)
tree32f298fea5456d1521310b7f9201ceacb9cf3fc0 /communities/red-right-hand/174bg.net/src
parent005a92d247e42d56a4f950f1f8c730686e6e5a88 (diff)
downloadunnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar.gz
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar.bz2
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar.xz
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.zip
remove terminal
Diffstat (limited to 'communities/red-right-hand/174bg.net/src')
-rw-r--r--communities/red-right-hand/174bg.net/src/app/layout.js6
-rw-r--r--communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js39
2 files changed, 1 insertions, 44 deletions
diff --git a/communities/red-right-hand/174bg.net/src/app/layout.js b/communities/red-right-hand/174bg.net/src/app/layout.js
index ce97609..9fb4098 100644
--- a/communities/red-right-hand/174bg.net/src/app/layout.js
+++ b/communities/red-right-hand/174bg.net/src/app/layout.js
@@ -1,6 +1,5 @@
import { Inter, Fira_Code } from "next/font/google";
import "./globals.css";
-import TerminalOverlay from "@/components/TerminalOverlay";
const inter = Inter({
variable: "--font-inter",
@@ -26,10 +25,7 @@ export default function RootLayout({ children }) {
lang="en"
className={`${inter.variable} ${firaCode.variable} h-full antialiased`}
>
- <body className="min-h-full flex flex-col">
- <TerminalOverlay />
- {children}
- </body>
+ <body className="min-h-full flex flex-col">{children}</body>
</html>
);
}
diff --git a/communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js b/communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js
deleted file mode 100644
index 2d7c5da..0000000
--- a/communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-"use client";
-
-import { useState } from "react";
-import { CommandLineIcon, XMarkIcon } from "@heroicons/react/24/solid";
-
-export default function TerminalOverlay() {
- const [open, setOpen] = useState(false);
-
- return (
- <>
- <button
- onClick={() => setOpen(true)}
- className="fixed bottom-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" />
- </button>
-
- {open && (
- <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/70">
- <div className="relative w-full max-w-4xl h-[80vh] bg-black rounded-lg shadow-2xl overflow-hidden">
- <button
- onClick={() => setOpen(false)}
- className="absolute top-2 right-2 z-10 bg-gray-800 text-white p-1 rounded hover:bg-gray-600 transition-colors"
- title="Close terminal"
- >
- <XMarkIcon className="h-5 w-5" />
- </button>
- <iframe
- src="/terminal/index.html"
- className="w-full h-full border-0"
- title="Web Terminal"
- />
- </div>
- </div>
- )}
- </>
- );
-}