From d45e665bcd264fa32f4fe3df057c31c92c8d2cae Mon Sep 17 00:00:00 2001 From: JorySeverijnse Date: Sun, 7 Dec 2025 20:55:50 +0100 Subject: [PATCH] Readded credits, added all open source projects used in credits, added achievements in sidebar as we seem to have enough space on a 1920x1080 screen for it --- src/App.tsx | 2 ++ src/components/Sidebar.tsx | 3 ++- src/components/TerminalCommand.tsx | 7 +++++-- src/pages/Credits.tsx | 27 +++++++++++++++++++++++++-- 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 8ae4819..64207e4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -32,6 +32,7 @@ const Breakout = lazy(() => import("./pages/Breakout")); const Music = lazy(() => import("./pages/Music")); const AIChat = lazy(() => import("./pages/AIChat")); const Achievements = lazy(() => import("./pages/Achievements")); +const Credits = lazy(() => import("./pages/Credits")); const NotFound = lazy(() => import("./pages/NotFound")); const queryClient = new QueryClient(); @@ -126,6 +127,7 @@ const AppContent = () => { } /> } /> } /> + } /> } /> diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 0a1cfe6..cfc3352 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -14,6 +14,7 @@ const navItems = [ { path: '/ai', label: 'AI Chat' }, { path: '/music', label: 'Music Player' }, { path: '/games', label: 'Arcade' }, + { path: '/achievements', label: 'Achievements' }, { path: '/faq', label: 'FAQ' }, ]; @@ -136,4 +137,4 @@ const Sidebar = () => { ); }; -export default Sidebar; \ No newline at end of file +export default Sidebar; diff --git a/src/components/TerminalCommand.tsx b/src/components/TerminalCommand.tsx index e6fdccc..a6473ba 100644 --- a/src/components/TerminalCommand.tsx +++ b/src/components/TerminalCommand.tsx @@ -28,6 +28,8 @@ const commands: Record = { '/achievements': '/achievements', '/ach': '/achievements', '/a': '/achievements', + '/credits': '/credits', + '/cred': '/credits', }; const helpText = `Available commands: @@ -45,13 +47,14 @@ const helpText = `Available commands: /music, /m - Navigate to Music Player /ai, /chat - Navigate to AI Chat /achievements /a - View achievements + /credits /cred - View credits /help, /h - Show this help message /clear, /c - Clear terminal output`; const helpHint = ` ╔══════════════════════════════════════════╗ ║ ...there may be other commands. ║ - ║ Perhaps a ꃅꀤꈤ꓄ to an easter egg exists? ║ + ║ Perhaps a ꃅꀤꈤ꓄ to an easter egg exists? ║ ╚══════════════════════════════════════════╝`; const TerminalCommand = () => { @@ -175,7 +178,7 @@ const TerminalCommand = () => {
- terminal@my-site.lol + terminal@fbi.gov