Skip to content

Commit bf3ec19

Browse files
author
selleo
committed
Align landing page hero content horizontally on desktop
Update LandingPage.tsx to adjust layout for desktop view, moving the logo to the right and captions to the left. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 22ce06f0-aefe-49da-9e0b-0e23ca0edae4 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: b0426cec-64ec-4ffb-a85c-e832abbd19b5 Replit-Helium-Checkpoint-Created: true
1 parent 18ab3b6 commit bf3ec19

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

apps/web-app/app/modules/Landing/Landing.page.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,8 @@ export default function LandingPage() {
4444
id="product"
4545
className="relative overflow-hidden border-b border-border/60 bg-gradient-to-b from-primary/5 via-background to-background"
4646
>
47-
<div className="mx-auto flex w-full max-w-3xl flex-col items-center gap-10 px-4 pt-16 pb-24 text-center md:px-6 md:pt-20">
48-
<div className="relative flex h-48 w-48 items-center justify-center md:h-56 md:w-56">
49-
<div className="absolute inset-0 scale-105 rounded-3xl bg-gradient-to-tr from-primary/10 via-primary/40 to-primary/10 opacity-60 blur-3xl" />
50-
<div className="relative flex size-40 items-center justify-center rounded-3xl border border-primary/30 bg-background/80 shadow-2xl backdrop-blur md:size-52">
51-
<img
52-
src="/brand.svg"
53-
alt="Boilerplate brand"
54-
className="h-20 w-20 md:h-24 md:w-24"
55-
/>
56-
</div>
57-
</div>
58-
<div className="space-y-6">
47+
<div className="mx-auto flex w-full max-w-6xl flex-col items-center gap-10 px-4 pt-16 pb-24 text-center md:flex-row md:items-center md:gap-16 md:px-6 md:pt-20 md:text-left">
48+
<div className="space-y-6 md:flex-1">
5949
<span className="inline-flex items-center gap-2 rounded-full border border-primary/20 bg-primary/10 px-4 py-1 text-sm font-medium text-primary">
6050
<Sparkles className="size-4" />
6151
{t("landing.hero.badge")}
@@ -66,15 +56,15 @@ export default function LandingPage() {
6656
<p className="text-base text-pretty text-muted-foreground sm:text-lg md:text-xl">
6757
{t("landing.hero.description")}
6858
</p>
69-
<div className="flex flex-col items-center gap-4 sm:flex-row sm:justify-center">
59+
<div className="flex flex-col items-center gap-4 sm:flex-row sm:justify-center md:justify-start">
7060
<Button size="lg" asChild>
7161
<Link to="/auth">{t("landing.hero.primaryCta")}</Link>
7262
</Button>
7363
<Button variant="ghost" size="lg" asChild>
7464
<Link to="/dashboard">{t("landing.hero.secondaryCta")}</Link>
7565
</Button>
7666
</div>
77-
<div className="flex flex-wrap items-center justify-center gap-6 text-sm text-muted-foreground">
67+
<div className="flex flex-wrap items-center justify-center gap-6 text-sm text-muted-foreground md:justify-start">
7868
<span className="flex items-center gap-2">
7969
<CheckCircle2 className="size-4 text-primary" />
8070
{t("landing.hero.highlights.auth")}
@@ -85,6 +75,16 @@ export default function LandingPage() {
8575
</span>
8676
</div>
8777
</div>
78+
<div className="relative flex h-48 w-48 shrink-0 items-center justify-center md:h-72 md:w-72">
79+
<div className="absolute inset-0 scale-105 rounded-3xl bg-gradient-to-tr from-primary/10 via-primary/40 to-primary/10 opacity-60 blur-3xl" />
80+
<div className="relative flex size-40 items-center justify-center rounded-3xl border border-primary/30 bg-background/80 shadow-2xl backdrop-blur md:size-64">
81+
<img
82+
src="/brand.svg"
83+
alt="Boilerplate brand"
84+
className="h-20 w-20 md:h-32 md:w-32"
85+
/>
86+
</div>
87+
</div>
8888
</div>
8989
</section>
9090

0 commit comments

Comments
 (0)