Skip to content

Commit 2d98ccb

Browse files
author
non-stop-dev
committed
fix: correct class properties for layout consistency and improve responsiveness
1 parent 9a6d133 commit 2d98ccb

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/components/landing/hero/LandingHero.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section
22
aria-labelledby="landing-hero-title"
3-
class="mx-auto h-[calc(100dvh-var(--nav-height))] max-w-[96rem] px-6 py-10 md:px-10 lg:px-12 lg:py-10"
3+
class="mx-auto h-[calc(100dvh-var(--nav-height))] max-w-384 px-6 py-10 md:px-10 lg:px-12 lg:py-10"
44
>
55
<div class="grid h-full items-center gap-12 lg:grid-cols-[minmax(0,0.76fr)_minmax(0,1.24fr)] lg:gap-16">
66
<header class="flex max-w-xl flex-col justify-center">
@@ -106,7 +106,7 @@
106106

107107
<div class="grid gap-4">
108108
<article
109-
class="brutal-paper w-[78%] justify-self-center rotate-[3deg] bg-white px-6 py-7 sm:w-[60%] sm:px-8 sm:py-8 lg:w-full"
109+
class="brutal-paper w-[78%] justify-self-center rotate-3 bg-white px-6 py-7 sm:w-[60%] sm:px-8 sm:py-8 lg:w-full"
110110
aria-label="Vista previa de CV optimizado"
111111
>
112112
<header class="relative z-10 border-b-2 border-(--line) pb-4">
@@ -121,7 +121,7 @@
121121
</p>
122122

123123
<div
124-
class="clean-stamp absolute right-2 top-[5.5rem] inline-flex rotate-[-14deg] border-[3px] border-(--brand-optimizer) px-4 py-2 font-mono text-xs font-black uppercase tracking-[0.24em] text-(--brand-optimizer) sm:right-4 sm:top-24"
124+
class="clean-stamp absolute right-2 top-22 inline-flex rotate-[-14deg] border-[3px] border-(--brand-optimizer) px-4 py-2 font-mono text-xs font-black uppercase tracking-[0.24em] text-(--brand-optimizer) sm:right-4 sm:top-24"
125125
aria-hidden="true"
126126
>
127127
ATS Ready

src/components/landing/problem/ProblemSection.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
<div class="relative">
4444
<aside
45-
class="brutal-warning warning-jolt absolute -left-3 top-6 z-20 max-w-[15rem]"
45+
class="brutal-warning warning-jolt absolute -left-3 top-6 z-20 max-w-60"
4646
aria-label="ATS Warning"
4747
>
4848
<div class="flex items-start gap-3">
@@ -62,7 +62,7 @@
6262
<p class="font-mono text-[0.72rem] font-black uppercase tracking-[0.24em] text-white">
6363
ATS Warning
6464
</p>
65-
<p class="mt-2 max-w-[12rem] text-sm leading-relaxed text-white/95">
65+
<p class="mt-2 max-w-48 text-sm leading-relaxed text-white/95">
6666
Lo decorativo no siempre se traduce en legible.
6767
</p>
6868
</div>

src/components/landing/workflow/WorkflowSection.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ const steps = [
4848
</div>
4949

5050
<ol
51-
class="timeline-sheen mt-10 grid overflow-hidden rounded-[2rem] border-2 border-(--line) bg-white shadow-[10px_10px_0_var(--shadow)] lg:grid-cols-4"
51+
class="timeline-sheen mt-10 grid overflow-hidden rounded-4xl border-2 border-(--line) bg-white shadow-[10px_10px_0_var(--shadow)] lg:grid-cols-4"
5252
>
5353
{steps.map((step, index) => (
5454
<li
5555
class:list={[
56-
'relative flex min-h-[18rem] flex-col justify-between bg-white px-6 py-6 sm:px-7 sm:py-7',
56+
'relative flex min-h-72 flex-col justify-between bg-white px-6 py-6 sm:px-7 sm:py-7',
5757
index > 0 ? 'border-t-2 border-(--line) lg:border-l-2 lg:border-t-0' : ''
5858
]}
5959
>

src/components/nav-bar/NavBar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<header class="sticky top-0 z-50 h-[var(--nav-height)] w-full border-b-2 border-(--line) bg-white shadow-[0_8px_0_var(--shadow)]">
1+
<header class="sticky top-0 z-50 h-(--nav-height) w-full border-b-2 border-(--line) bg-white shadow-[0_8px_0_var(--shadow)]">
22
<nav
33
class="grid h-full w-full grid-cols-[auto_1fr_auto] items-center gap-4 px-6 md:px-10 lg:px-12"
44
aria-label="Principal"

0 commit comments

Comments
 (0)