From bdc5a16edfecb68e2a44225426d0cc8c0c061a3e Mon Sep 17 00:00:00 2001 From: TobbleCobble Date: Tue, 27 Jan 2026 03:51:54 +0000 Subject: [PATCH 1/9] basic implementation of embedded game --- client/src/components/main/Footer.tsx | 190 -------------------------- client/src/pages/_app.tsx | 2 - client/src/pages/embedDemo.tsx | 23 ++++ 3 files changed, 23 insertions(+), 192 deletions(-) create mode 100644 client/src/pages/embedDemo.tsx diff --git a/client/src/components/main/Footer.tsx b/client/src/components/main/Footer.tsx index 656d39c5..e69de29b 100644 --- a/client/src/components/main/Footer.tsx +++ b/client/src/components/main/Footer.tsx @@ -1,190 +0,0 @@ -"use client"; -import { motion } from "framer-motion"; -import { - Calendar, - Clock, - Gamepad2, - Handshake, - Heart, - Home, - Link as LucideLink, - Map, - Palette, - Pencil, - Sparkles, - Upload, - Users, -} from "lucide-react"; -import Image from "next/image"; -import Link from "next/link"; -import type { ReactNode } from "react"; -import { useRef } from "react"; - -import LinksList from "@/components/ui/LinksList"; -import NetworkCanvas from "@/components/ui/NetworkCanvas"; -import SocialIconButton from "@/components/ui/SocialIconButton"; -import { social_media } from "@/gamedev-metadata.json"; - -export interface ListLink { - label: string; - href: string; - icon: ReactNode; -} - -const quickLinks: ListLink[] = [ - { - label: "Join the Club", - href: "#", - icon: , - }, - { - label: "Submit Your Game", - href: "#", - icon: , - }, - { label: "Upcoming Jams", href: "#", icon: }, - { label: "Resources", href: "#", icon: }, -]; - -// Main navigation links (ideally should be shared with Navbar) -export const mainLinks: ListLink[] = [ - { label: "Home", href: "/", icon: }, - { label: "About Us", href: "/about", icon: }, - { - label: "Events", - href: "/events", - icon: , - }, - { - label: "Games Showcase", - href: "/games", - icon: , - }, - { - label: "Artwork", - href: "/artwork", - icon: , - }, -]; - -export default function Footer() { - const footerRef = useRef(null); - return ( -
- -
-
-
-
-
- - CFC Game Development Logo - - - - -
-

- Game Development -

-

- Create • Play • Inspire -

-
-
- - UWAgamedev@gmail.com - -

- Building the next generation of game developers at UWA game - development club -

-
- {Object.entries(social_media).map( - ([platform, data], index) => ( - - ), - )} -
-
- } - links={quickLinks} - /> - } - links={mainLinks} - /> -
-
-
-
-
-
- - - -
-
-
-
- © {new Date().getFullYear()} CFC Game Dev - - All rights reserved -
- - - Constitution - - -
- Made with - - - - in Perth, UWA -
-
-
-
- -
- ); -} diff --git a/client/src/pages/_app.tsx b/client/src/pages/_app.tsx index ca3770d2..eb476768 100644 --- a/client/src/pages/_app.tsx +++ b/client/src/pages/_app.tsx @@ -5,7 +5,6 @@ import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; import type { AppProps } from "next/app"; import { Fira_Code, Inter as FontSans, Jersey_10 } from "next/font/google"; -import Footer from "@/components/main/Footer"; import Navbar from "@/components/main/Navbar"; const fontSans = FontSans({ @@ -37,7 +36,6 @@ export default function App({ Component, pageProps }: AppProps) { > -