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 ( -
-
-
- + +
+
+
+ +
+ +

+ {title} +

+ +

+ Coming Soon +

+ + {description && ( +

+ {description} +

+ )} + +
- -

- {title} -

- -

- Coming Soon -

- -
-
+ ); }; diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx new file mode 100644 index 0000000..b7aa019 --- /dev/null +++ b/src/components/Layout.tsx @@ -0,0 +1,33 @@ +import Navigation from '@/components/Navigation'; +import { ReactNode } from 'react'; + +interface LayoutProps { + children: ReactNode; +} + +const Layout = ({ children }: LayoutProps) => { + return ( +
+ + +
+ {children} +
+ +
+
+

+ © 2024 Interactives. Educational tools for enhanced learning experiences. +

+
+ Made with ❤️ for education + + Explore • Learn • Discover +
+
+
+
+ ); +}; + +export default Layout; \ No newline at end of file diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 5360e86..274bb01 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -1,11 +1,11 @@ import { Link } from "react-router-dom"; import { Button } from "@/components/ui/button"; import { ArrowRight, BookOpen, Puzzle, Sparkles } from "lucide-react"; -import Navigation from "@/components/Navigation"; +import Layout from "@/components/Layout"; + const Index = () => { - return
- - + return ( + {/* Hero Section */}
@@ -14,7 +14,7 @@ const Index = () => {

- + Interactive Learning Hub

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 = () => {

- - - {/* CTA Section */} - -
; + + ); }; export default Index; \ No newline at end of file diff --git a/src/pages/Themes.tsx b/src/pages/Themes.tsx index 81c5f36..e1a91d0 100644 --- a/src/pages/Themes.tsx +++ b/src/pages/Themes.tsx @@ -8,7 +8,7 @@ import { CreditCard, Calculator } from "lucide-react"; -import Navigation from "@/components/Navigation"; +import Layout from "@/components/Layout"; import ThemeCard from "@/components/ThemeCard"; const Themes = () => { @@ -58,8 +58,7 @@ const Themes = () => { ]; return ( -
- +
@@ -78,7 +77,7 @@ const Themes = () => {
-
+ ); }; diff --git a/src/pages/theme-pages/SchoolConnect.tsx b/src/pages/theme-pages/SchoolConnect.tsx index cf52b88..311d9c9 100644 --- a/src/pages/theme-pages/SchoolConnect.tsx +++ b/src/pages/theme-pages/SchoolConnect.tsx @@ -1,10 +1,14 @@ +import Layout from "@/components/Layout"; + import InteractiveGallery from "@/components/InteractiveGallery"; const SchoolConnect = () => { return ( -
- -
+ +
+ +
+
); };