diff --git a/public/ml4elogo.png b/public/ml4elogo.png
new file mode 100644
index 0000000..26106c6
Binary files /dev/null and b/public/ml4elogo.png differ
diff --git a/src/app/components/Footer.jsx b/src/app/components/Footer.jsx
index f98e2c3..a46e50b 100644
--- a/src/app/components/Footer.jsx
+++ b/src/app/components/Footer.jsx
@@ -45,7 +45,7 @@ export default function Footer() {
href="mailto:swaina@nitrkl.ac.in"
className="mt-3 inline-flex items-center justify-center rounded-md bg-cyan-900/30 px-3 py-2 text-cyan-200 hover:bg-cyan-800/40 transition"
>
- ✉️ swaina@nitrkl.ac.in
+ ✉️ baigm@nitrkl.ac.in
diff --git a/src/app/components/Home.jsx b/src/app/components/Home.jsx
index 88ddeea..ec035a2 100644
--- a/src/app/components/Home.jsx
+++ b/src/app/components/Home.jsx
@@ -46,6 +46,198 @@
//
// );
// }
+// import { Canvas } from "@react-three/fiber";
+// import { OrbitControls } from "@react-three/drei";
+// import { Sphere, Line } from "@react-three/drei";
+// import { useRef } from "react";
+// import { useFrame } from "@react-three/fiber";
+// import { EffectComposer, Bloom } from "@react-three/postprocessing";
+// import { motion } from "framer-motion";
+// import { ReactTyped } from "react-typed";
+// import Navbar from "./Navbar";
+// const Glow = ({ className = "" }) => (
+//
+
-
-
-
-
+
+
+
- MACHINE LEARNING FOR EVERYONE (ML4E)
-
+
+ MACHINE LEARNING FOR EVERYONE (ML4E)
+
-
-
+
+
+
+
+
+ {/* Canvas with fixed height and proper z-index */}
+
+
+
+
+ {/* Add some scrollable content to demonstrate scrolling */}
+
-
-
);
}
\ No newline at end of file
diff --git a/src/app/page.tsx b/src/app/page.tsx
index dceae51..bebfa14 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,13 +1,191 @@
+// "use client"
+// import dynamic from "next/dynamic";
+// import Footer from "./components/Footer"
+// const Home = dynamic(() => import("./components/Home"), { ssr: false });
+// export default function App() {
+// return (
+// <>
+//
+// {/*
*/}
+//
+// >
+// );
+// }
"use client"
+import { useState, useEffect } from "react";
import dynamic from "next/dynamic";
-import Footer from "./components/Footer"
+import { motion, AnimatePresence } from "framer-motion";
+import Footer from "./components/Footer";
+
const Home = dynamic(() => import("./components/Home"), { ssr: false });
+
+// Preloader Component
+function Preloader({ onComplete }: { onComplete: () => void }) {
+ const [progress, setProgress] = useState(0);
+
+ useEffect(() => {
+ // Simulate loading progress
+ const interval = setInterval(() => {
+ setProgress((prev) => {
+ if (prev >= 100) {
+ clearInterval(interval);
+ setTimeout(() => onComplete(), 500); // Small delay before fade out
+ return 100;
+ }
+ return prev + Math.random() * 15; // Randomized progress increments
+ });
+ }, 150);
+
+ return () => clearInterval(interval);
+ }, [onComplete]);
+
+ return (
+
+ {/* Animated Background Glow */}
+
+
+ {/* Neural Network Animation */}
+
+ {[...Array(20)].map((_, i) => (
+
+ ))}
+
+
+ {/* Main Content */}
+
+ {/* Logo/Title */}
+
+
+ ML4E
+
+
+ Machine Learning For Everyone
+
+
+
+ {/* Loading Bar */}
+
+
+
+
+ {/* Glowing effect on progress bar */}
+
+
+
+ {/* Progress Percentage */}
+
+ {Math.floor(Math.min(progress, 100))}%
+
+
+
+ {/* Loading Text */}
+
+ Initializing Neural Networks...
+
+
+
+ {/* Corner Accents */}
+
+
+
+
+
+ );
+}
+
export default function App() {
+ const [isLoading, setIsLoading] = useState(true);
+ const [showHome, setShowHome] = useState(false);
+
+ useEffect(() => {
+ // Start loading the Home component immediately
+ setShowHome(true);
+ }, []);
+
return (
<>
-
- {/*
*/}
-
+
+ {isLoading && (
+ setIsLoading(false)} />
+ )}
+
+
+ {/* Home component loads in background while preloader shows */}
+
+ {showHome && (
+ <>
+
+
+ >
+ )}
+
>
);
}
\ No newline at end of file