From b7b1fca1bcd94eabff2e6c3ec01953c784f00c68 Mon Sep 17 00:00:00 2001 From: Alex Stan Date: Sun, 2 Jun 2024 10:43:45 +0300 Subject: [PATCH] Updated animations --- app/components/logo.tsx | 26 +++++++++++-- app/page.tsx | 79 +++++++++++++++++++++----------------- app/sessionconfig/page.tsx | 17 ++++++-- 3 files changed, 80 insertions(+), 42 deletions(-) diff --git a/app/components/logo.tsx b/app/components/logo.tsx index d430e49..a4e2930 100644 --- a/app/components/logo.tsx +++ b/app/components/logo.tsx @@ -1,9 +1,29 @@ +'use client'; +import { Transition } from "@headlessui/react"; +import { useState } from "react"; + const Logo = () => { + + const [logoHovered, setLogoHovered] = useState( false ); + const [aboutButtonHovered, setAboutButtonHovered] = useState( false ); + return (
- - - + {/* */} + setLogoHovered(true)} + onMouseLeave={()=>setLogoHovered(false)}> + + + {/* */}
-
-
- -
-

- Start using flash cards -
- Begin with our app today. -

-

- Get questions from a multitude of different subjects that include cybersecurity, geography and C++ -

-
+ +
+
+ +
+

+ Start using flash cards +
+ Begin with our app today. +

+

+ Get questions from a multitude of different subjects that include cybersecurity, geography and C++ +

+ +
-
+