Skip to content

Commit 5a47c98

Browse files
committed
feat: enhance Waitlist page with background and layout improvements
- Added a new BeamBackground component to the Waitlist page for visual enhancement. - Wrapped the WaitlistForm in a div with a background image for better aesthetics. - Updated the WaitlistForm styling to include a 'bg-center' class for improved layout.
1 parent 7b04840 commit 5a47c98

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

app/(landing)/waitlist/page.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
import { Metadata } from 'next';
22
import { generatePageMetadata } from '@/lib/metadata';
33
import WaitlistForm from '@/components/waitlist/WaitlistForm';
4+
import BeamBackground from '@/components/landing-page/BeamBackground';
45

56
export const metadata: Metadata = generatePageMetadata('waitlist');
67

78
export default function WaitlistPage() {
8-
return <WaitlistForm />;
9+
return (
10+
<div className='bg-[url(/waitlist-bg.svg)] bg-cover bg-center'>
11+
<BeamBackground />
12+
<WaitlistForm />
13+
</div>
14+
);
915
}

components/waitlist/WaitlistForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ export default function WaitlistForm() {
466466
return (
467467
<div
468468
ref={container}
469-
className=' max-w-[446px] mx-auto flex flex-col gap-16 items-center justify-start px-4 mt-[65px]'
469+
className=' max-w-[446px] mx-auto flex flex-col gap-16 items-center justify-start px-4 mt-[65px] bg-center'
470470
>
471471
<div className={cn(' w-full text-center', isSubmitted && 'hidden')}>
472472
<h1

public/waitlist-bg.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)