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 deleted file mode 100644 index 5524c9c..0000000 --- a/src/components/Layout.tsx +++ /dev/null @@ -1,90 +0,0 @@ -import { Logo } from '../brand' -import { Fragment, useState } from 'react' -import { Dialog, Transition } from '@headlessui/react' -import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline' - -const navLinks = [ - { name: 'Terms', href: '/terms' }, - { name: 'Docs', href: '/docs' }, - { name: 'Support', href: 'https://github.com/web3-storage/w3ui/issues' }, -] - -interface SidebarComponentProps { - sidebar?: JSX.Element | JSX.Element[] -} - -function Sidebar ({ sidebar = }: SidebarComponentProps): JSX.Element { - return ( - - ) -} - -interface LayoutComponentProps extends SidebarComponentProps { - children: JSX.Element | JSX.Element[] -} - -export function DefaultLayout ({ sidebar = , children }: LayoutComponentProps): JSX.Element { - const [sidebarOpen, setSidebarOpen] = useState(false) - - return ( -@@ -30,9 +30,7 @@ export function PlanGate ({ children }: { children: ReactNode }): ReactNode { Pick a plan below and complete the Stripe signup flow to get started!