Compare commits
3 Commits
version_7
...
version_10
| Author | SHA1 | Date | |
|---|---|---|---|
| 74cc4cf71c | |||
| f19dd2efd6 | |||
| 31fd4a9bbf |
@@ -1,8 +1,9 @@
|
||||
"use client"
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
||||
import { useState, useEffect } from 'react';
|
||||
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
|
||||
@@ -13,6 +14,27 @@ import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||
import { Sparkles } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const [bubbles, setBubbles] = useState([]);
|
||||
|
||||
useEffect(() => {
|
||||
const handleMouseMove = (e) => {
|
||||
const newBubble = {
|
||||
id: Date.now(),
|
||||
x: e.clientX,
|
||||
y: e.clientY,
|
||||
};
|
||||
|
||||
setBubbles((prev) => [...prev, newBubble]);
|
||||
|
||||
// Remove bubble after animation completes (2 seconds)
|
||||
setTimeout(() => {
|
||||
setBubbles((prev) => prev.filter((bubble) => bubble.id !== newBubble.id));
|
||||
}, 2000);
|
||||
};
|
||||
|
||||
window.addEventListener('mousemove', handleMouseMove);
|
||||
return () => window.removeEventListener('mousemove', handleMouseMove);
|
||||
}, []);
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
@@ -26,6 +48,46 @@ export default function LandingPage() {
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
{/* Anatomical Shape Container */}
|
||||
<div className="fixed inset-0 pointer-events-none overflow-hidden">
|
||||
{bubbles.map((bubble) => (
|
||||
<svg
|
||||
key={bubble.id}
|
||||
className="absolute animate-float-up"
|
||||
width="24"
|
||||
height="32"
|
||||
viewBox="0 0 24 32"
|
||||
style={{
|
||||
left: `${bubble.x}px`,
|
||||
top: `${bubble.y}px`,
|
||||
transform: 'translate(-50%, -50%)',
|
||||
}}
|
||||
>
|
||||
{/* Anatomical penis shape for educational purposes */}
|
||||
<ellipse cx="12" cy="8" rx="6" ry="8" fill="#d4a574" opacity="0.8" />
|
||||
<rect x="9" y="14" width="6" height="14" rx="3" fill="#d4a574" opacity="0.8" />
|
||||
<ellipse cx="12" cy="28" rx="4" ry="3" fill="#c9956f" opacity="0.8" />
|
||||
</svg>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<style jsx>{`
|
||||
@keyframes float-up {
|
||||
0% {
|
||||
opacity: 0.7;
|
||||
transform: translate(-50%, -50%) scale(1);
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: translate(-50%, -500px) scale(0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-float-up {
|
||||
animation: float-up 2s ease-out forwards;
|
||||
}
|
||||
`}</style>
|
||||
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
|
||||
Reference in New Issue
Block a user