diff --git a/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx b/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx index b5bbee91dd..3ca6c753b8 100644 --- a/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx +++ b/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx @@ -17,7 +17,7 @@ export default function Navbar() { return (
diff --git a/frontend/apps/artcraft-website/src/pages/landing/landing.tsx b/frontend/apps/artcraft-website/src/pages/landing/landing.tsx index f4755a4a32..52d7ddb879 100644 --- a/frontend/apps/artcraft-website/src/pages/landing/landing.tsx +++ b/frontend/apps/artcraft-website/src/pages/landing/landing.tsx @@ -2,27 +2,9 @@ import { Button } from "@storyteller/ui-button"; import { faApple, faWindows } from "@fortawesome/free-brands-svg-icons"; import { faDesktop } from "@fortawesome/pro-solid-svg-icons"; import { isMobile, isWindows, isMacOs } from "react-device-detect"; -import { useRef, useState } from "react"; import { DOWNLOAD_LINKS } from "../../config/downloads"; const Landing = () => { - const [currentVideoIndex, setCurrentVideoIndex] = useState(0); - const videoRef = useRef(null); - - const videos = [ - "/videos/artcraft-canvas-demo.mp4", - "/videos/artcraft-3d-demo.mp4", - ]; - - const handleVideoEnd = () => { - if (videoRef.current) { - const nextIndex = (currentVideoIndex + 1) % videos.length; - setCurrentVideoIndex(nextIndex); - videoRef.current.src = videos[nextIndex]; - videoRef.current.play(); - } - }; - const handleDownload = () => { const downloadLink = isWindows ? DOWNLOAD_LINKS.WINDOWS @@ -59,59 +41,103 @@ const Landing = () => { ]; return ( -
+
{/* Hero Section */} -
- {/* Content Container */} -
-
-
-
- - ArtCraft - -
- -

- AI editor. -
+
+
+
+
+

+ AI editor. +
+ On your local machine. -

- -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do - eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut - enim ad minim veniam, quis nostrud exercitation. -

- -
- -
-
+ +

-
+ +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do + eiusmod tempor incididunt ut labore et dolore magna aliqua. +

+ +
+ + +
+ +
+
+
+ + {/* Video Sections */} +
+ {/* First Video Section */} +
+
+
+
+

MAKE YOUR CREATIONS MORE FUN

+

+ Use custom effects, AI-powered tools, and creative features to add + your personality to your artwork. Set your style and create your + own unique pieces that stand out. +

+ +
+
+ + {/* Second Video Section */} +
+
+

UNLEASH YOUR CREATIVITY

+

+ Transform your ideas into reality with our powerful AI tools and + creative features. Perfect for both beginners and professional + artists. +

+ +
+
+
@@ -197,4 +223,39 @@ const Landing = () => { ); }; +const styles = ` + @keyframes float { + 0% { transform: translateY(0px); } + 50% { transform: translateY(-10px); } + 100% { transform: translateY(0px); } + } + + @keyframes pulse-slow { + 0% { opacity: 0.4; } + 50% { opacity: 0.6; } + 100% { opacity: 0.4; } + } + + .animate-float { + animation: float 6s ease-in-out infinite; + } + + .animate-pulse-slow { + animation: pulse-slow 4s ease-in-out infinite; + } + + .animate-fade-in { + animation: fadeIn 0.8s ease-out; + } + + @keyframes fadeIn { + from { opacity: 0; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } + } +`; + +const styleSheet = document.createElement("style"); +styleSheet.innerText = styles; +document.head.appendChild(styleSheet); + export default Landing; diff --git a/frontend/apps/artcraft-website/src/styles.css b/frontend/apps/artcraft-website/src/styles.css index cc7e40b290..163e012694 100644 --- a/frontend/apps/artcraft-website/src/styles.css +++ b/frontend/apps/artcraft-website/src/styles.css @@ -6,6 +6,13 @@ body { font-family: "Source Sans 3", sans-serif; color: #ffffff; - background-color: #101014; + background-color: #1b1b1f; } } + +.bg-dots { + background-image: radial-gradient(#ffffff25 1px, transparent 0); + background-color: #1b1b1f; + background-size: 36px 36px; + @apply bg-center; +}