From e6c58e6daad236b95a49952d3776b90c9b065fd6 Mon Sep 17 00:00:00 2001 From: tymur999 Date: Sat, 19 Oct 2024 17:51:17 -0400 Subject: [PATCH] initial animation --- src/app/landing/page.tsx | 25 ++++++++++++++++++++----- src/app/landing/time.tsx | 8 ++++++-- src/app/layout.tsx | 2 +- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/src/app/landing/page.tsx b/src/app/landing/page.tsx index fdc8d22..7090f55 100644 --- a/src/app/landing/page.tsx +++ b/src/app/landing/page.tsx @@ -3,16 +3,31 @@ import arrow from "../../img/arrow.png"; import gradient from "../../img/gradient.png"; import Image from "next/image"; -import { useState } from "react"; +import { useEffect, useState } from "react"; import { Time } from "@/app/landing/time"; +import { motion } from "framer"; +import {useAnimate} from "framer-motion"; +const slides = [