From 853837bd5e00dd9035a1c1bc17223eebcee2d80e Mon Sep 17 00:00:00 2001 From: Petra Jaros Date: Fri, 2 Aug 2024 16:47:11 -0400 Subject: [PATCH 1/2] feat: Improved layout styling --- src/app/globals.css | 10 +++++++--- src/components/Authenticator.tsx | 2 +- src/components/Layout.tsx | 6 +++--- src/components/Loader.tsx | 2 +- src/components/PlanGate.tsx | 8 +++----- src/components/SidebarLayout.tsx | 8 ++++---- src/components/SpaceEnsurer.tsx | 6 +++--- 7 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 64e069f..116fdb7 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -19,11 +19,15 @@ } .bg-racha-fire { background: var(--hot-red-light) url("/racha-fire.png") bottom left; - background-size: cover; + background-size: 100% auto; + background-position: bottom; + background-repeat: no-repeat; } .bg-racha-fire\/50 { background: transparent url("/racha-fire-opacity-50.png") bottom left; - background-size: cover; + background-size: 100% auto; + background-position: bottom; + background-repeat: no-repeat; } .bg-hot-red, .hover\:bg-hot-red:hover { @@ -88,7 +92,7 @@ } .authenticator { - @apply bg-racha-fire w-full h-screen flex flex-col justify-center items-center; + @apply bg-racha-fire w-full min-h-screen flex flex-col justify-center items-center py-4; } @keyframes bgPosDrift { diff --git a/src/components/Authenticator.tsx b/src/components/Authenticator.tsx index 2ecd555..ba503dd 100644 --- a/src/components/Authenticator.tsx +++ b/src/components/Authenticator.tsx @@ -29,7 +29,7 @@ export function AuthenticationForm (): JSX.Element { -

+

By registering with storacha.network, you agree to the storacha.network Terms of Service.

diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 5524c9c..cb5c922 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -15,7 +15,7 @@ interface SidebarComponentProps { function Sidebar ({ sidebar =
}: SidebarComponentProps): JSX.Element { return ( -