Skip to content

Commit 835ba58

Browse files
committed
Add fade animation to site header
1 parent d310152 commit 835ba58

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/app/(auth)/login/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default async function InventoryLayout({
1313
}) {
1414
return (
1515
<>
16-
<main className="relative z-10 min-h-[100svh] flex items-center justify-center animate-fade animate-delay-300 animate-duration-[600ms]">
16+
<main className="relative z-10 min-h-[100svh] flex items-center justify-center animate-fade animate-delay-500 animate-duration-[600ms]">
1717
{children}
1818
</main>
1919
<Image

src/app/(site)/about/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Link from "next/link";
55
export default function Page() {
66
return (
77
<main className="mx-auto mt-0 p-5 md:mt-16">
8-
<header className="mx-auto flex max-w-xl items-center justify-between">
8+
<header className="mx-auto flex max-w-xl items-center justify-between animate-fade">
99
<div className="flex items-center gap-3">
1010
<Image
1111
src="/ouranos.svg"

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Link from "next/link";
44
export default function Home() {
55
return (
66
<main className="mx-auto mt-0 p-5 md:mt-16">
7-
<header className="mx-auto flex max-w-xl items-center justify-between">
7+
<header className="mx-auto flex max-w-xl items-center justify-between animate-fade">
88
<div className="flex items-center gap-3">
99
<Image
1010
src="/ouranos.svg"

src/components/forms/loginForm/LoginForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function LoginForm() {
5757

5858
if (isRedirecting) {
5959
return (
60-
<section className="bg-skin-base border border-skin-base shadow-2xl shadow-primary-light/30 max-w-xs rounded-2xl p-5">
60+
<section className="bg-skin-base border border-skin-base/30 shadow-2xl shadow-primary-light/30 max-w-xs rounded-2xl p-5">
6161
<Image
6262
src="/logo.svg"
6363
alt="Ouranos logo"
@@ -79,7 +79,7 @@ export default function LoginForm() {
7979
}
8080

8181
return (
82-
<section className="bg-skin-base border border-skin-base max-w-xs rounded-2xl p-5 shadow-2xl shadow-primary-light/30">
82+
<section className="bg-skin-base border border-skin-base/30 max-w-xs rounded-2xl p-5 shadow-2xl shadow-primary-light/30">
8383
<Image
8484
src="/logo.svg"
8585
alt="Ouranos logo"

0 commit comments

Comments
 (0)