Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

feat: add interactive recording steps component with step-by-step guidance

CristianOlivera1c378fd06af16
diff --git a/.gitignore b/.gitignore
index 4a26e60..b101980 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,4 +45,7 @@ supabase-setup.sql
BACKEND_SPEC.md
BACKEND_TESTING.md
-/openvid-back
\ No newline at end of file
+/openvid-back
+.agents
+.github
+skills-lock.json
\ No newline at end of file
diff --git a/app/[locale]/(home)/page.tsx b/app/[locale]/(home)/page.tsx
index f544031..af2552b 100644
--- a/app/[locale]/(home)/page.tsx
+++ b/app/[locale]/(home)/page.tsx
@@ -1,11 +1,11 @@
-import { CarouselDemos } from "@/app/components/ui/CarouselDemos";
-import DonationCard from "@/app/components/ui/DonationCard";
-import EditorPreview from "@/app/components/ui/EditorPreview";
-import Hero from "@/app/components/ui/Hero";
-import { HeroScrollMask } from "@/app/components/ui/HeroScrollMask";
-import InteractiveRecordingSteps from "@/app/components/ui/RecordingSteps";
+import { CarouselDemos } from "@/app/components/ui/home/CarouselDemos";
+import Hero from "@/app/components/ui/home/Hero";
+import InteractiveRecordingSteps from "@/app/components/ui/home/RecordingSteps";
import { StructuredData, generateWebAppSchema, generateOrganizationSchema } from "@/app/components/seo/StructuredData";
import type { Metadata } from 'next';
+import DonationCard from "@/app/components/ui/home/DonationCard";
+import EditorPreview from "@/app/components/ui/home/EditorPreview";
+import VideoHero from "@/app/components/ui/home/VideoHero";
type Props = {
params: Promise<{ locale: string }>;
@@ -70,52 +70,49 @@ export default async function Home({ params }: Props) {
<>
<StructuredData data={generateWebAppSchema(locale as 'es' | 'en')} />
<StructuredData data={generateOrganizationSchema()} />
-
- <div className="flex flex-col">
- <div className="relative overflow-hidden bg-gradient-radial-primary w-full">
- <div className="absolute top-0 left-1/2 -translate-x-1/2 w-75 h-75 rounded-full bg-cyan-500/15 blur-[80px] pointer-events-none z-0" aria-hidden="true" />
+ <div className="flex flex-col">
+ <div className="relative overflow-hidden bg-gradient-radial-primary w-full">
+ <div className="absolute top-0 left-1/2 -translate-x-1/2 w-75 h-75 rounded-full bg-cyan-500/15 blur-[80px] pointer-events-none z-0" aria-hidden="true" />
+ <section className="pt-32 pb-6 sm:pb-14" aria-label="Hero section">
+ <div className="max-w-6xl mx-auto px-6 text-center relative z-10">
+ <Hero />
+ </div>
+ <VideoHero />
+ </section>
+ <div className="absolute inset-x-0 bottom-0 h-40 bg-linear-to-t from-[#0a0a0a] to-transparent pointer-events-none z-20" />
+ </div>
- <section className="pt-32 pb-6 sm:pb-14 bg-gradient-radial-primary" aria-label="Hero section">
- <div className="max-w-6xl mx-auto px-6 text-center relative z-10">
- <Hero />
+ <section className="w-full py-10 sm:py-16" aria-label="How it works">
+ <div className="max-w-6xl mx-auto px-6 xl:px-0">
+ <InteractiveRecordingSteps />
</div>
</section>
- <section className="w-full" aria-label="Product preview">
- <HeroScrollMask />
- </section>
- </div>
- <section className="w-full py-10 sm:py-16" aria-label="How it works">
- <div className="max-w-6xl mx-auto px-6">
- <InteractiveRecordingSteps />
- </div>
- </section>
-
- <div className="relative overflow-hidden bg-gradient-radial-primary w-full pt-0 pb-30 sm:py-20">
- <div className="absolute top-0 left-1/2 -translate-x-1/2 w-250 h-[150%] rounded-[100%] blur-xl pointer-events-none" aria-hidden="true"></div>
- <section className="w-full" aria-label="Editor features and demos">
- <div className="w-full mx-auto bg-[url('/images/pages/dots.svg')] bg-no-repeat bg-contain bg-center">
- <EditorPreview />
- </div>
- <CarouselDemos />
- <section className="pt-4 pb-10 sm:py-2 w-full mb-0 sm:mb-42" aria-label="Support the project">
- <div
- className="absolute left-1/2 -translate-x-1/2 w-150 h-500 pointer-events-none z-0 pro-glow"
- style={{
- mixBlendMode: 'plus-lighter',
- willChange: 'filter, background',
- background: 'radial-gradient(circle at var(--glow-x) 20%, rgba(6, 182, 212, 0.25) 0%, transparent 70%)'
- }}
- aria-hidden="true"
- />
- <div className="max-w-xl mx-auto px-6">
- <DonationCard />
+ <div className="relative overflow-hidden bg-gradient-radial-primary w-full pt-0 pb-30 sm:py-20">
+ <div className="absolute top-0 left-1/2 -translate-x-1/2 w-250 h-[150%] rounded-[100%] blur-xl pointer-events-none" aria-hidden="true"></div>
+ <section className="w-full" aria-label="Editor features and demos">
+ <div className="w-full mx-auto bg-[url('/images/pages/dots.svg')] bg-no-repeat bg-[size:68%] bg-center">
+ <EditorPreview />
</div>
+ <CarouselDemos />
+ <section className="pt-4 pb-10 sm:py-2 w-full mb-0 sm:mb-42" aria-label="Support the project">
+ <div
+ className="absolute left-1/2 -translate-x-1/2 w-150 h-500 pointer-events-none z-0 pro-glow"
+ style={{
+ mixBlendMode: 'plus-lighter',
+ willChange: 'filter, background',
+ background: 'radial-gradient(circle at var(--glow-x) 20%, rgba(6, 182, 212, 0.25) 0%, transparent 70%)'
+ }}
+ aria-hidden="true"
+ />
+ <div className="max-w-xl mx-auto px-6">
+ <DonationCard />
+ </div>
+ </section>
</section>
- </section>
+ </div>
</div>
- </div>
</>
);
}
\ No newline at end of file
diff --git a/app/[locale]/not-found.tsx b/app/[locale]/not-found.tsx
index 326cf0f..9e4ee93 100644
--- a/app/[locale]/not-found.tsx
+++ b/app/[locale]/not-found.tsx
@@ -41,7 +41,6 @@ export default function NotFound() {
</Link>
<div className="absolute inset-0 bg-[radial-gradient(circle_at_center,rgba(0,163,255,0.08)_0%,transparent_60%)] pointer-events-none" />
-
</div>
<Footer/>
</AuthProvider>
diff --git a/app/components/common/Header.tsx b/app/components/common/Header.tsx
index bbeaa72..43c4b6d 100644
--- a/app/components/common/Header.tsx
+++ b/app/components/common/Header.tsx
@@ -20,7 +20,7 @@ export default function Header() {
const [isScrolled, setIsScrolled] = useState(false);
const [isMounted, setIsMounted] = useState(false);
- const { startCountdown, stopRecording, isIdle, isRecording, isCountdown, isProcessing } = useRecording();
+ const { startCountdown, stopRecording, isRecording, isCountdown, isProcessing } = useRecording();
const [setupDialogOpen, setSetupDialogOpen] = useState(false);
const [showMobileAlert, setShowMobileAlert] = useState(false);
@@ -73,7 +73,7 @@ export default function Header() {
isScrolled ? "border-b border-white/10 bg-[#050505]/80 backdrop-blur-xl py-0" : "bg-transparent border-transparent py-2"
)}
>
- <div className="max-w-6xl mx-auto px-3 sm:px-6 h-16 flex items-center justify-between">
+ <div className="max-w-6xl px-6 xl:px-0 mx-auto h-16 flex items-center justify-between">
<Link href="/" className="flex items-center gap-2 group" aria-label="OpenVid - Go to home">
<Image src="/svg/logo-openvid.svg" alt="" aria-hidden="true" width={50} height={50} style={{ height: "auto" }} />
<Image src="/svg/openvid.svg" alt="OpenVid" width={100} height={50} className="hidden sm:flex" style={{ height: "auto" }} />
diff --git a/app/components/ui/CarouselDemos.tsx b/app/components/ui/home/CarouselDemos.tsx
similarity index 88%
rename from app/components/ui/CarouselDemos.tsx
rename to app/components/ui/home/CarouselDemos.tsx
index 2226ca9..c72b578 100644
--- a/app/components/ui/CarouselDemos.tsx
+++ b/app/components/ui/home/CarouselDemos.tsx
@@ -92,22 +92,7 @@ export function CarouselDemos() {
`}</style>
<div className="scene-3d relative">
- <div className="absolute bottom-20 sm:-bottom-4 sm:left-120 z-0 pointer-events-none opacity-50">
- <img
- src="/images/carousel/decorators/sparkle.png"
- alt=""
- className="size-20 md:size-48 animate-pulse"
- aria-hidden="true"
- />
- </div>
- <div className="absolute bottom-10 sm:bottom-0 right-1/4 z-10 pointer-events-none">
- <img
- src="/images/carousel/decorators/sparkle-move.svg"
- alt=""
- className="size-8 md:size-10"
- aria-hidden="true"
- />
- </div>
+
<div className="a3d-container row-videos" style={{ "--n": videos.length } as React.CSSProperties}>
{videos.map((vid, index) => (
<video
diff --git a/app/components/ui/DemoVideo.tsx b/app/components/ui/home/DemoVideo.tsx
similarity index 100%
rename from app/components/ui/DemoVideo.tsx
rename to app/components/ui/home/DemoVideo.tsx
diff --git a/app/components/ui/DonationCard.tsx b/app/components/ui/home/DonationCard.tsx
similarity index 100%
rename from app/components/ui/DonationCard.tsx
rename to app/components/ui/home/DonationCard.tsx
diff --git a/app/components/ui/EditorPreview.tsx b/app/components/ui/home/EditorPreview.tsx
similarity index 96%
rename from app/components/ui/EditorPreview.tsx
rename to app/components/ui/home/EditorPreview.tsx
index 6885934..3094a65 100644
--- a/app/components/ui/EditorPreview.tsx
+++ b/app/components/ui/home/EditorPreview.tsx
@@ -24,7 +24,6 @@ export default function EditorPreview() {
}, []);
return (
<div className="relative max-w-6xl mx-auto mt-30 sm:mt-0 isolate">
- <div className="hidden sm:block absolute top-0 left-1/2 -translate-x-1/2 w-140 h-80 rounded-full bg-[#0095ED]/40 blur-[120px] pointer-events-none -z-10" />
<div className="hidden sm:block absolute top-20 left-1/3 w-60 h-60 rounded-full bg-blue-600/20 blur-[80px] pointer-events-none -z-10" />
<div className="absolute top-0 right-0 md:-right-10 z-30 pointer-events-none">
<img
diff --git a/app/components/ui/Hero.tsx b/app/components/ui/home/Hero.tsx
similarity index 100%
rename from app/components/ui/Hero.tsx
rename to app/components/ui/home/Hero.tsx
diff --git a/app/components/ui/HeroScrollMask.tsx b/app/components/ui/home/HeroScrollMask.tsx
similarity index 84%
rename from app/components/ui/HeroScrollMask.tsx
rename to app/components/ui/home/HeroScrollMask.tsx
index 3cfd5d4..1bfb4bd 100644
--- a/app/components/ui/HeroScrollMask.tsx
+++ b/app/components/ui/home/HeroScrollMask.tsx
@@ -1,8 +1,7 @@
"use client";
-import React, { useEffect, useRef, useState } from "react";
+import { useEffect, useRef } from "react";
import gsap from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
-import { Icon } from "@iconify/react";
import { useTranslations } from "next-intl";
gsap.registerPlugin(ScrollTrigger);
@@ -28,22 +27,6 @@ export function HeroScrollMask() {
const containerRef = useRef<HTMLDivElement>(null);
const textContainerRef = useRef<HTMLDivElement>(null);
- const [featureIndex, setFeatureIndex] = useState(0);
- const [isTransitioning, setIsTransitioning] = useState(false);
- const features = t.raw("features") as string[];
-
- useEffect(() => {
- if (!features?.length) return;
- const interval = setInterval(() => {
- setIsTransitioning(true);
- setTimeout(() => {
- setFeatureIndex((prev) => (prev + 1) % features.length);
- setIsTransitioning(false);
- }, 400);
- }, 3000);
- return () => clearInterval(interval);
- }, [features]);
-
useEffect(() => {
const mm = gsap.matchMedia();
@@ -154,36 +137,6 @@ export function HeroScrollMask() {
</div>
<div className="relative z-10 w-full flex flex-col sm:absolute sm:inset-0 pointer-events-none">
- <div className="relative w-full h-0 sm:h-full flex justify-center items-center z-30">
- <div
- ref={textContainerRef}
- className="hidden sm:flex absolute top-[8svh] sm:top-2 right-4 sm:right-6 md:top-14 md:right-8 z-40 opacity-100 sm:opacity-0 pointer-events-auto"
- >
- <div className="bg-black/40 backdrop-blur-xl border border-white/20 rounded-xl md:rounded-2xl px-2 py-2 md:px-6 md:py-4 shadow-[0_20px_50px_rgba(0,0,0,0.5)] flex flex-col items-end min-w-45 sm:min-w-65 md:min-w-[320px]">
- <div className="h-4 md:h-6 w-full flex items-center justify-end overflow-hidden px-1">
- <h2
- className={`text-[12px] sm:text-xl md:text-2xl font-black text-white italic tracking-tighter drop-shadow-[0_8px_8px_rgba(0,0,0,0.5)] uppercase whitespace-nowrap transition-all duration-400 ease-in-out ${
- isTransitioning
- ? "opacity-0 translate-y-4 skew-y-6"
- : "opacity-100 translate-y-0 skew-y-0"
- }`}
- >
- {features?.[featureIndex]}
- </h2>
- </div>
- <div
- className={`h-px md:h-1 bg-linear-to-r from-transparent via-blue-500 to-blue-400 rounded-full shadow-[0_0_10px_rgba(59,130,246,0.5)] transition-all duration-500 origin-right ${
- isTransitioning ? "scale-x-0 opacity-0" : "scale-x-100 opacity-100"
- } w-full`}
- />
- </div>
- </div>
-
- <p className="hidden sm:block absolute bottom-10 z-30 text-white/80 font-semibold text-4xl">
- <Icon icon="iconoir:mouse-scroll-wheel" aria-hidden="true" />
- </p>
- </div>
-
<h2 className="relative w-full flex flex-col sm:block justify-center items-center pointer-events-none h-auto min-h-[100svh] sm:min-h-0 sm:h-full shrink-0">
<span
diff --git a/app/components/ui/RecordingSteps.tsx b/app/components/ui/home/RecordingSteps.tsx
similarity index 96%
rename from app/components/ui/RecordingSteps.tsx
rename to app/components/ui/home/RecordingSteps.tsx
index 189a296..d204df1 100644
--- a/app/components/ui/RecordingSteps.tsx
+++ b/app/components/ui/home/RecordingSteps.tsx
@@ -5,7 +5,7 @@ import { Icon } from "@iconify/react";
import StepRow from "./StepRow";
import { useRecording } from "@/hooks/RecordingContext";
import { Alert, AlertTitle, AlertDescription } from "@/components/ui/alert";
-import RecordingSetupDialog from "./RecordingSetupDialog";
+import RecordingSetupDialog from "../RecordingSetupDialog";
import { useTranslations } from "next-intl";
export default function InteractiveRecordingSteps() {
@@ -103,19 +103,19 @@ export default function InteractiveRecordingSteps() {
<div className="absolute inset-0 bg-[radial-linear(#ffffff22_1px,transparent_1px)] [bg-size:16px_16px] opacity-10"></div>
<div className="bg-[#292A2D] rounded-xl w-full max-w-full shadow-2xl relative z-10 flex flex-col font-sans border border-white/5 origin-center">
<div className="flex justify-between px-2 sm:px-4 pt-2 sm:pt-3 border-b border-white/10 text-[9px] sm:text-[11px] font-medium">
- <div className="pb-2 text-neutral-400 hover:text-neutral-200 cursor-pointer flex-1 text-center transition-colors truncate px-1">
+ <div className="pb-2 text-neutral-400 hover:text-neutral-200 flex-1 text-center transition-colors truncate px-1">
{t('step1.visual.browserTab')}
</div>
<div className="pb-2 text-[#C0B4F0] border-b-2 border-[#C0B4F0] flex-1 text-center truncate px-1">
{t('step1.visual.window')}
</div>
- <div className="pb-2 text-neutral-400 hover:text-neutral-200 cursor-pointer flex-1 text-center transition-colors truncate px-1 hidden sm:block">
+ <div className="pb-2 text-neutral-400 hover:text-neutral-200 flex-1 text-center transition-colors truncate px-1 hidden sm:block">
{t('step1.visual.fullscreen')}
</div>
</div>
<div className="p-3 sm:p-5 flex justify-center gap-3 sm:gap-4 h-auto sm:h-37.5">
<div className="w-24 sm:w-32.5 flex flex-col gap-2">
- <div className="w-full h-14 sm:h-18.75 bg-[#141414] rounded-md border-2 border-[#C0B4F0] overflow-hidden shadow-inner relative transition-colors cursor-pointer">
+ <div className="w-full h-14 sm:h-18.75 bg-[#141414] rounded-md border-2 border-[#C0B4F0] overflow-hidden shadow-inner relative transition-colors">
<div className="absolute top-1 sm:top-2 left-1 sm:left-2 w-full h-full bg-neutral-800 rounded-t-md border border-white/5"></div>
</div>
<div className="flex items-center gap-1.5 text-[9px] sm:text-[10px] text-neutral-200">
@@ -124,7 +124,7 @@ export default function InteractiveRecordingSteps() {
</div>
</div>
<div className="w-24 sm:w-32.5 flex flex-col gap-2">
- <div className="w-full h-14 sm:h-18.75 bg-[#141414] rounded-md border border-gray-500 overflow-hidden shadow-inner relative cursor-pointer">
+ <div className="w-full h-14 sm:h-18.75 bg-[#141414] rounded-md border border-gray-500 overflow-hidden shadow-inner relative">
<div className="absolute top-1 left-1 w-[95%] h-[90%] bg-[#1E1E1E] rounded border border-white/5 flex flex-col">
<div className="h-1.5 sm:h-2 border-b border-white/5"></div>
<div className="p-1 sm:p-1.5 space-y-1">
@@ -152,10 +152,10 @@ export default function InteractiveRecordingSteps() {
</div>
</div>
<div className="flex w-full sm:w-auto justify-end gap-2 sm:gap-3">
- <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#3C3D3F] text-neutral-400 rounded-full text-[10px] sm:text-[11px] font-medium cursor-not-allowed">
+ <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#3C3D3F] text-neutral-400 rounded-full text-[10px] sm:text-[11px] font-medium cursor-default!">
{t('step1.visual.share')}
</button>
- <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#292A2D] text-white rounded-full text-[10px] sm:text-[11px] font-medium border border-[#C0B4F0] ring-1 ring-[#C0B4F0] ring-offset-2 ring-offset-[#292A2D] outline-none">
+ <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#292A2D] text-white rounded-full text-[10px] sm:text-[11px] font-medium border border-[#C0B4F0] ring-1 ring-[#C0B4F0] ring-offset-2 ring-offset-[#292A2D] outline-none cursor-default!">
{t('step1.visual.cancel')}
</button>
</div>
@@ -189,7 +189,7 @@ export default function InteractiveRecordingSteps() {
<button className="bg-[#B7BEF8] hover:bg-[#A6AEF7] text-[#141414] text-[10px] sm:text-[11px] font-medium px-3 sm:px-4 py-1.5 rounded-full transition-colors whitespace-nowrap cursor-default!">
{t('step2.visual.stop')}
</button>
- <div className="relative group/btn cursor-pointer">
+ <div className="relative group/btn">
<span className="text-[#8AB4F8] text-[10px] sm:text-[11px] font-medium hover:text-white transition-colors">
{t('step2.visual.hide')}
</span>
@@ -297,9 +297,9 @@ export default function InteractiveRecordingSteps() {
];
return (
- <div id="docs" className="w-full max-w-7xl mx-auto px-0 sm:px-6 py-6 sm:py-24 text-left">
+ <div id="docs" className="w-full max-w-7xl mx-auto px-0 py-6 sm:py-24 text-left">
<div className="max-w-3xl mx-auto text-center mb-32">
- <h2 className="text-4xl md:text-6xl font-bold tracking-tighter text-white mb-6 leading-tight drop-shadow-[1.2px_1.2px_100.2px_rgba(183,203,248,1)]">
+ <h2 className="text-4xl md:text-6xl font-bold tracking-tighter text-white mb-6 leading-tight drop-shadow-[1.2px_1.2px_12px_rgba(183,203,248,0.4)]">
{t('title')} <br />
<span className="bg-linear-to-r from-[#003780] to-white bg-clip-text text-transparent">
{t('title2')}
diff --git a/app/components/ui/StepRow.tsx b/app/components/ui/home/StepRow.tsx
similarity index 100%
rename from app/components/ui/StepRow.tsx
rename to app/components/ui/home/StepRow.tsx
diff --git a/app/components/ui/home/VideoHero.tsx b/app/components/ui/home/VideoHero.tsx
new file mode 100644
index 0000000..2d5e028
--- /dev/null
+++ b/app/components/ui/home/VideoHero.tsx
@@ -0,0 +1,38 @@
+"use client";
+
+import { useTranslations } from "next-intl";
+
+export default function VideoHero() {
+ const t = useTranslations("demo");
+
+ return (
+ <section className="relative w-full overflow-visible flex justify-center animate-fade-in-up">
+ <div className="pointer-events-none absolute top-0 left-1/2 -translate-x-1/2 w-screen max-w-480 h-full -z-10">
+ <div className="absolute inset-0 -top-28 bottom-64 mix-blend-hard-light blur-[80px]" style={{ background: 'linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 138, 255, 0.1) 30%, rgb(255, 255, 255) 20%, rgb(247, 164, 66) 70%, rgb(233, 66, 247) 100%)' }} />
+ <div className="absolute inset-0 -top-28 bottom-64 mix-blend-soft-light blur-[80px]" style={{ background: 'linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 138, 255, 0.2) 35%, rgb(255, 255, 255) 70%, rgb(247, 164, 66) 80%, rgb(233, 66, 247) 100%)' }} />
+ </div>
+
+ <div className="relative px-4 w-full">
+ <div className="relative mx-auto max-w-7xl">
+ <div className="relative mt-4 h-fit w-full md:mt-12">
+ <div className="relative -mx-6 flex max-w-screen justify-center p-8 delay-[800ms] duration-1000 will-change-transform starting:translate-y-16 starting:opacity-0 starting:blur-xs">
+ <div className="relative w-full max-w-[calc(100vw-48px)] lg:w-7xl lg:min-w-200 lg:aspect-video">
+ <div aria-hidden="true" className="absolute -inset-6 squircle-element-xl blur-3xl -z-10 bg-linear-to-b from-cyan-500/15 via-fuchsia-500/10 to-transparent" />
+ <div className="relative w-full h-full p-0 sm:p-4 squircle-element-2xl sm:border sm:border-white/10 bg-white/2 sm:backdrop-blur-xs shadow-[0_0_0_1px_rgba(255,255,255,0.04),0_30px_120px_rgba(0,0,0,0.25)]">
+ <div className="relative w-full h-full overflow-hidden squircle-element-xl border border-white/10 bg-white/3">
+ <div className="absolute inset-x-0 top-0 h-px bg-linear-to-r from-transparent via-white/40 to-transparent z-20" />
+ <div className="absolute inset-x-0 top-0 h-40 bg-linear-to-b from-white/10 to-transparent z-10 pointer-events-none" />
+ <video autoPlay loop muted playsInline preload="auto" poster="/images/pages/demo-hero-poster.webp" aria-label={t("title")} className="block w-full h-full object-cover">
+ <source src="/images/pages/demo-hero.mp4" type="video/mp4" />
+ </video>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ </section>
+ );
+}
diff --git a/app/globals.css b/app/globals.css
index 4fd7616..cfc3b01 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -257,6 +257,11 @@ button {
border-radius: 50px;
}
+.squircle-element-2xl {
+ corner-shape: squircle;
+ border-radius: 70px;
+}
+
.hero-perspective-container {
perspective: 1500px;
}
@@ -310,17 +315,42 @@ button {
}
@keyframes float-glow {
- 0%, 100% { --glow-x: 45%; filter: blur(100px) opacity(0.8); }
- 50% { --glow-x: 55%; filter: blur(130px) opacity(1); }
+
+ 0%,
+ 100% {
+ --glow-x: 45%;
+ filter: blur(100px) opacity(0.8);
+ }
+
+ 50% {
+ --glow-x: 55%;
+ filter: blur(130px) opacity(1);
+ }
}
.pro-glow {
- background: radial-gradient(
- circle at var(--glow-x) 50%,
- rgba(6, 182, 212, 0.5) 0%,
- rgba(6, 182, 212, 0.1) 40%,
- rgba(6, 182, 212, 0) 70%
- );
+ background: radial-gradient(circle at var(--glow-x) 50%,
+ rgba(6, 182, 212, 0.5) 0%,
+ rgba(6, 182, 212, 0.1) 40%,
+ rgba(6, 182, 212, 0) 70%);
animation: float-glow 10s ease-in-out infinite;
- mix-blend-mode: screen;
+ mix-blend-mode: screen;
+}
+
+@keyframes fadeInUp {
+ from {
+ opacity: 0;
+ transform: translateY(60px);
+ }
+
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.animate-fade-in-up {
+ opacity: 0;
+ animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
+ animation-delay: 0.4s;
}
\ No newline at end of file