From 1291f2e99b5ec3e43073cca8dee7ab6c027da790 Mon Sep 17 00:00:00 2001 From: idler-wheel Date: Sun, 30 Mar 2025 10:00:53 -0400 Subject: [PATCH] login animations --- React/src/app/page.tsx | 78 +++++++++++++++++++++++++++------------- React/src/app/styles.css | 34 ++++++++++++------ 2 files changed, 76 insertions(+), 36 deletions(-) diff --git a/React/src/app/page.tsx b/React/src/app/page.tsx index a37023d..9f74058 100644 --- a/React/src/app/page.tsx +++ b/React/src/app/page.tsx @@ -78,39 +78,67 @@ export default function Home() {

- Welcome to Fauxcall + welcome to Fauxcall

-

- We empower you to feel safe, whenever and wherever. -

+

+ We empower you to feel safe. +

-

- Make an account to begin. -

+

+ Whenever and wherever. +

+ + +
+
+ + + + +

+ Already have an account? +

+ + + + +
-
- - - -
-

- - Already have an account? -

- - - +
diff --git a/React/src/app/styles.css b/React/src/app/styles.css index 403d681..216a055 100644 --- a/React/src/app/styles.css +++ b/React/src/app/styles.css @@ -1,17 +1,29 @@ - +/* styles.css */ @keyframes fadeIn { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } + from { + opacity: 0; } - - .animate-fadeIn { - animation: fadeIn 1s ease-in-out; + to { + opacity: 1; } - +} + +.animate-fadeIn { + animation: fadeIn 1s ease-in-out forwards; +} + +.delay-0 { + animation-delay: 0s; +} + +.delay-1 { + animation-delay: 1s; +} + +.delay-2 { + animation-delay: 2s; +} + body { font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;