diff --git a/team-strawhats-portfolio/.firebaserc b/.firebaserc similarity index 100% rename from team-strawhats-portfolio/.firebaserc rename to .firebaserc diff --git a/team-strawhats-portfolio/.gitignore b/.gitignore similarity index 100% rename from team-strawhats-portfolio/.gitignore rename to .gitignore diff --git a/team-strawhats-portfolio/README.md b/README.md similarity index 100% rename from team-strawhats-portfolio/README.md rename to README.md diff --git a/team-strawhats-portfolio/eslint.config.mjs b/eslint.config.mjs similarity index 100% rename from team-strawhats-portfolio/eslint.config.mjs rename to eslint.config.mjs diff --git a/team-strawhats-portfolio/firebase.json b/firebase.json similarity index 100% rename from team-strawhats-portfolio/firebase.json rename to firebase.json diff --git a/team-strawhats-portfolio/next.config.ts b/next.config.ts similarity index 100% rename from team-strawhats-portfolio/next.config.ts rename to next.config.ts diff --git a/team-strawhats-portfolio/package-lock.json b/package-lock.json similarity index 100% rename from team-strawhats-portfolio/package-lock.json rename to package-lock.json diff --git a/team-strawhats-portfolio/package.json b/package.json similarity index 100% rename from team-strawhats-portfolio/package.json rename to package.json diff --git a/team-strawhats-portfolio/postcss.config.mjs b/postcss.config.mjs similarity index 100% rename from team-strawhats-portfolio/postcss.config.mjs rename to postcss.config.mjs diff --git a/team-strawhats-portfolio/public/file.svg b/public/file.svg similarity index 100% rename from team-strawhats-portfolio/public/file.svg rename to public/file.svg diff --git a/team-strawhats-portfolio/public/globe.svg b/public/globe.svg similarity index 100% rename from team-strawhats-portfolio/public/globe.svg rename to public/globe.svg diff --git a/team-strawhats-portfolio/public/hand.glb b/public/hand.glb similarity index 100% rename from team-strawhats-portfolio/public/hand.glb rename to public/hand.glb diff --git a/team-strawhats-portfolio/public/models/hand.glb b/public/models/hand.glb similarity index 100% rename from team-strawhats-portfolio/public/models/hand.glb rename to public/models/hand.glb diff --git a/team-strawhats-portfolio/public/next.svg b/public/next.svg similarity index 100% rename from team-strawhats-portfolio/public/next.svg rename to public/next.svg diff --git a/team-strawhats-portfolio/public/vercel.svg b/public/vercel.svg similarity index 100% rename from team-strawhats-portfolio/public/vercel.svg rename to public/vercel.svg diff --git a/team-strawhats-portfolio/public/window.svg b/public/window.svg similarity index 100% rename from team-strawhats-portfolio/public/window.svg rename to public/window.svg diff --git a/team-strawhats-portfolio/src/app/favicon.ico b/src/app/favicon.ico similarity index 100% rename from team-strawhats-portfolio/src/app/favicon.ico rename to src/app/favicon.ico diff --git a/team-strawhats-portfolio/src/app/globals.css b/src/app/globals.css similarity index 100% rename from team-strawhats-portfolio/src/app/globals.css rename to src/app/globals.css diff --git a/team-strawhats-portfolio/src/app/layout.tsx b/src/app/layout.tsx similarity index 100% rename from team-strawhats-portfolio/src/app/layout.tsx rename to src/app/layout.tsx diff --git a/team-strawhats-portfolio/src/app/page.tsx b/src/app/page.tsx similarity index 100% rename from team-strawhats-portfolio/src/app/page.tsx rename to src/app/page.tsx diff --git a/team-strawhats-portfolio/src/components/canvas/BackgroundGradient.tsx b/src/components/canvas/BackgroundGradient.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/canvas/BackgroundGradient.tsx rename to src/components/canvas/BackgroundGradient.tsx diff --git a/team-strawhats-portfolio/src/components/canvas/BootSequence.tsx b/src/components/canvas/BootSequence.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/canvas/BootSequence.tsx rename to src/components/canvas/BootSequence.tsx diff --git a/team-strawhats-portfolio/src/components/canvas/Effects.tsx b/src/components/canvas/Effects.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/canvas/Effects.tsx rename to src/components/canvas/Effects.tsx diff --git a/team-strawhats-portfolio/src/components/canvas/MemberManager.tsx b/src/components/canvas/MemberManager.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/canvas/MemberManager.tsx rename to src/components/canvas/MemberManager.tsx diff --git a/team-strawhats-portfolio/src/components/canvas/MemberModel.tsx b/src/components/canvas/MemberModel.tsx similarity index 93% rename from team-strawhats-portfolio/src/components/canvas/MemberModel.tsx rename to src/components/canvas/MemberModel.tsx index f7a359d..1493805 100644 --- a/team-strawhats-portfolio/src/components/canvas/MemberModel.tsx +++ b/src/components/canvas/MemberModel.tsx @@ -36,6 +36,7 @@ export default function MemberModel() { // Listen to global window scroll useEffect(() => { const handleScroll = () => { + // Calculate 70% threshold const totalHeight = document.documentElement.scrollHeight - window.innerHeight let progress = 0 if (totalHeight > 0) { @@ -93,17 +94,6 @@ export default function MemberModel() { if (orbitRef2.current) orbitRef2.current.rotation.z += delta * 2.5 if (orbitRef3.current) orbitRef3.current.rotation.z += delta * 3 } - - // 6. CYBER HAND ANIMATION (Active Member 0 / Index 0) - if (activeMember === 0) { - const t = state.clock.elapsedTime - // Wiggle fingers in a wave - if (thumbRef.current) thumbRef.current.rotation.z = Math.sin(t * 3) * 0.2 - if (indexRef.current) indexRef.current.rotation.x = Math.sin(t * 4 + 0.5) * 0.3 - if (middleRef.current) middleRef.current.rotation.x = Math.sin(t * 4 + 1.0) * 0.3 - if (ringRef.current) ringRef.current.rotation.x = Math.sin(t * 4 + 1.5) * 0.3 - if (pinkyRef.current) pinkyRef.current.rotation.x = Math.sin(t * 4 + 2.0) * 0.3 - } }) return ( @@ -138,8 +128,6 @@ export default function MemberModel() { - - )} diff --git a/team-strawhats-portfolio/src/components/canvas/Particles.tsx b/src/components/canvas/Particles.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/canvas/Particles.tsx rename to src/components/canvas/Particles.tsx diff --git a/team-strawhats-portfolio/src/components/canvas/Scene.tsx b/src/components/canvas/Scene.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/canvas/Scene.tsx rename to src/components/canvas/Scene.tsx diff --git a/team-strawhats-portfolio/src/components/dom/CustomCursor.tsx b/src/components/dom/CustomCursor.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/dom/CustomCursor.tsx rename to src/components/dom/CustomCursor.tsx diff --git a/team-strawhats-portfolio/src/components/dom/Footer.tsx b/src/components/dom/Footer.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/dom/Footer.tsx rename to src/components/dom/Footer.tsx diff --git a/team-strawhats-portfolio/src/components/dom/Hero.tsx b/src/components/dom/Hero.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/dom/Hero.tsx rename to src/components/dom/Hero.tsx diff --git a/team-strawhats-portfolio/src/components/dom/Loader.tsx b/src/components/dom/Loader.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/dom/Loader.tsx rename to src/components/dom/Loader.tsx diff --git a/team-strawhats-portfolio/src/components/dom/Projects.tsx b/src/components/dom/Projects.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/dom/Projects.tsx rename to src/components/dom/Projects.tsx diff --git a/src/components/dom/TeamOverlay.tsx b/src/components/dom/TeamOverlay.tsx new file mode 100644 index 0000000..385e665 --- /dev/null +++ b/src/components/dom/TeamOverlay.tsx @@ -0,0 +1,159 @@ +"use client" + +import { useStore } from "@/store/useStore" +import { motion, AnimatePresence } from "framer-motion" + +const MEMBERS = [ + { + name: "SHUBHAM PODDAR", + role: "B.Tech Mechatronics", + desc: "Specializing in robotics and integrated systems.", + stack: ["Robotics", "IoT", "Embedded Systems"], + github: "https://github.com/shubhampoddar013", + linkedin: "https://www.linkedin.com/in/shubhamshibupoddar/" + }, + { + name: "NEEL PATEL", + role: "B.Tech Chemical", + desc: "Process optimization and material science expert.", + stack: ["Process Design", "Simulink", "MATLAB"], + github: "https://github.com/patelramesh7311-code", + linkedin: "https://www.linkedin.com/in/neel-patel-0864773a4/" + }, + { + name: "VISHAL GALANDE", + role: "B.Tech Computer Science", + desc: "Full-stack development and cloud architecture.", + stack: ["React", "Node.js", "AWS"], + github: "https://github.com/vishalgalande/", + linkedin: "https://www.linkedin.com/in/vishalgalande/" + }, + { + name: "JAIDEEP BISHNOI", + role: "B.Tech Computer Science", + desc: "Creative technologist and UI/UX visionary.", + stack: ["Next.js", "Three.js", "Design Systems"], + github: "https://github.com/Jaideep-21", + linkedin: "https://www.linkedin.com/in/jaideep-bishnoi-0897a3249/" + } +] + +export default function TeamOverlay() { + const activeMember = useStore((state) => state.activeMember) + const hoveredModel = useStore((state) => state.hoveredModel) + + return ( +
+ + {activeMember !== -1 && ( + + {/* Decorative scanline */} +
+ + {/* Staggered Content */} +
+ {/* Header */} +
+ + + MEMBER_0{activeMember + 1} + +
+ + + + {MEMBERS[activeMember].name.split(" ")[0]} + + + {MEMBERS[activeMember].role} + +
+ + {/* Description */} + + {MEMBERS[activeMember].desc} + + + {/* Tech Stack Tags */} + + {MEMBERS[activeMember].stack.map((tech) => ( + + {tech} + + ))} + + + {/* Social Links */} + + + GITHUB + + + + LINKEDIN + + + +
+ + )} + +
+ ) +} diff --git a/team-strawhats-portfolio/src/components/layout/CanvasLayout.tsx b/src/components/layout/CanvasLayout.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/layout/CanvasLayout.tsx rename to src/components/layout/CanvasLayout.tsx diff --git a/team-strawhats-portfolio/src/components/layout/SmoothScroll.tsx b/src/components/layout/SmoothScroll.tsx similarity index 100% rename from team-strawhats-portfolio/src/components/layout/SmoothScroll.tsx rename to src/components/layout/SmoothScroll.tsx diff --git a/team-strawhats-portfolio/src/store/useStore.ts b/src/store/useStore.ts similarity index 100% rename from team-strawhats-portfolio/src/store/useStore.ts rename to src/store/useStore.ts diff --git a/team-strawhats-portfolio/src/types/maath.d.ts b/src/types/maath.d.ts similarity index 100% rename from team-strawhats-portfolio/src/types/maath.d.ts rename to src/types/maath.d.ts diff --git a/team-strawhats-portfolio/tsconfig.json b/tsconfig.json similarity index 100% rename from team-strawhats-portfolio/tsconfig.json rename to tsconfig.json