From 76e47c5b005257a38cf3ff38571799d6db1d882c Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 19 Jul 2025 13:39:51 +0000 Subject: [PATCH] Add common header and footer Implement a common header and footer for all pages except interactive pages. The footer will initially contain placeholder text. --- src/components/ComingSoon.tsx | 49 +++++++++++++++---------- src/components/Layout.tsx | 33 +++++++++++++++++ src/pages/Index.tsx | 17 ++++----- src/pages/Themes.tsx | 7 ++-- src/pages/theme-pages/SchoolConnect.tsx | 10 +++-- 5 files changed, 79 insertions(+), 37 deletions(-) create mode 100644 src/components/Layout.tsx diff --git a/src/components/ComingSoon.tsx b/src/components/ComingSoon.tsx index f430a42..77a6a5e 100644 --- a/src/components/ComingSoon.tsx +++ b/src/components/ComingSoon.tsx @@ -1,3 +1,4 @@ +import Layout from "@/components/Layout"; import { Link } from "react-router-dom"; import { ArrowLeft, Wrench } from "lucide-react"; import { Button } from "@/components/ui/button"; @@ -9,28 +10,36 @@ interface ComingSoonProps { const ComingSoon = ({ title, description }: ComingSoonProps) => { return ( -
+ {description} +
+ )} + +Discover a collection of interactive educational tools designed to supplement lectures and enhance understanding across multiple disciplines. From discrete mathematics to social choice theory. @@ -36,10 +36,7 @@ const Index = () => {