Skip to content

Commit 878002a

Browse files
Programcodeclaude
andcommitted
Fit the five-section case sample in the hero demo
Stack the demo's form and sample so the case sections get the full width, shorten the sample lines, and move the owl clear of the text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 87c5edd commit 878002a

4 files changed

Lines changed: 18 additions & 17 deletions

File tree

‎src/components/landing/Hero.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const HeroPreview = () => {
111111
<Reveal onLoad delay={0.1} className="relative hidden w-full lg:block">
112112
<div className="absolute -inset-8 bg-linear-to-r from-plume-400/25 via-plume-200/20 to-[rgb(255_196_20/0.22)] blur-3xl" />
113113
{/* The owl points the visitor at the product. */}
114-
<Owl pose="point" size={140} priority breathe={false} className="absolute -bottom-10 -left-12 z-20 -scale-x-100" />
114+
<Owl pose="point" size={140} priority breathe={false} className="absolute -bottom-10 -left-24 z-20 -scale-x-100" />
115115
<div className="relative overflow-hidden rounded-xl border-2 border-border bg-card shadow-2xl">
116116
{/* Browser chrome */}
117117
<div className="flex items-center border-b-2 border-border px-5 py-3">
@@ -122,7 +122,8 @@ const HeroPreview = () => {
122122
</div>
123123
</div>
124124

125-
<div className="grid grid-cols-1 gap-4 bg-background p-5 lg:grid-cols-[1.05fr_0.95fr]">
125+
{/* Stacked: the case sample needs the full width for its five sections. */}
126+
<div className="grid grid-cols-1 gap-4 bg-background p-5">
126127
<div className="space-y-4 rounded-lg border-2 border-border bg-card p-4">
127128
<div className="flex items-center justify-between gap-3">
128129
<p className="font-display text-lg font-[600] text-heading">{t(`features.${mode}`)}</p>

‎src/locales/en.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -913,15 +913,15 @@
913913
"sampleCase": {
914914
"title": "Ready-to-read case",
915915
"openingLabel": "Opening",
916-
"opening": "Today we will show two arguments that prove phones belong outside the classroom.",
916+
"opening": "Two arguments show phones belong outside class.",
917917
"argumentLabel": "Argument",
918-
"argument": "Phones break concentration: every notification pulls attention away from the lesson.",
918+
"argument": "Notifications break concentration.",
919919
"evidenceLabel": "Evidence",
920-
"evidence": "A study on how long students take to refocus after a notification, with its source and year.",
920+
"evidence": "A refocus-time study, with source and year.",
921921
"ifTheySayLabel": "If they say…",
922-
"ifTheySay": "\"Students need phones for emergencies.\" We answer: the school office can always reach families.",
922+
"ifTheySay": "\"Emergencies!\" We answer: the office can call home.",
923923
"closingLabel": "Closing",
924-
"closing": "A lesson without phones is a lesson students actually hear."
924+
"closing": "No phones, lessons students hear."
925925
},
926926
"sampleCrossfireTitle": "Crossfire exchange",
927927
"sampleQuestionLabel": "Question",

‎src/locales/es.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -913,15 +913,15 @@
913913
"sampleCase": {
914914
"title": "Caso listo para leer",
915915
"openingLabel": "Apertura",
916-
"opening": "Hoy demostraremos con dos argumentos que los teléfonos deben quedarse fuera del aula.",
916+
"opening": "Dos argumentos: el móvil, fuera del aula.",
917917
"argumentLabel": "Argumento",
918-
"argument": "El teléfono rompe la concentración: cada notificación aparta la atención de la clase.",
918+
"argument": "Las notificaciones rompen la concentración.",
919919
"evidenceLabel": "Evidencia",
920-
"evidence": "Un estudio sobre cuánto tardan los alumnos en volver a concentrarse tras una notificación, con su fuente y año.",
920+
"evidence": "Un estudio sobre reconcentrarse, con fuente y año.",
921921
"ifTheySayLabel": "Si dicen…",
922-
"ifTheySay": "«Los alumnos necesitan el teléfono para emergencias». Respondemos: la secretaría del colegio siempre puede avisar a las familias.",
922+
"ifTheySay": "«¡Emergencias!». Respondemos: el colegio llama a casa.",
923923
"closingLabel": "Cierre",
924-
"closing": "Una clase sin teléfonos es una clase que los alumnos de verdad escuchan."
924+
"closing": "Sin móviles, clases que se escuchan."
925925
},
926926
"sampleCrossfireTitle": "Intercambio de interrogatorio",
927927
"sampleQuestionLabel": "Pregunta",

‎src/locales/hu.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -913,15 +913,15 @@
913913
"sampleCase": {
914914
"title": "Felolvasható eset",
915915
"openingLabel": "Nyitás",
916-
"opening": "Ma két érvvel bizonyítjuk, hogy a telefonok helye az osztálytermen kívül van.",
916+
"opening": "Két érv: a telefon helye az órán kívül van.",
917917
"argumentLabel": "Érv",
918-
"argument": "A telefon megtöri a figyelmet: minden értesítés elviszi a figyelmet az óráról.",
918+
"argument": "Az értesítések megtörik a figyelmet.",
919919
"evidenceLabel": "Bizonyíték",
920-
"evidence": "Egy kutatás arról, mennyi idő alatt koncentrálnak újra a diákok egy értesítés után, forrással és évszámmal.",
920+
"evidence": "Kutatás az újrafókuszálásról, forrással, évszámmal.",
921921
"ifTheySayLabel": "Ha azt mondják…",
922-
"ifTheySay": "„A diákoknak vészhelyzetre kell a telefon.” Válaszunk: az iskola titkársága mindig eléri a családokat.",
922+
"ifTheySay": "„Vészhelyzet!” Válaszunk: a titkárság hazatelefonál.",
923923
"closingLabel": "Zárás",
924-
"closing": "A telefon nélküli óra az, amire a diákok tényleg odafigyelnek."
924+
"closing": "Telefon nélkül figyelnek a diákok."
925925
},
926926
"sampleCrossfireTitle": "Keresztkérdezési párbeszéd",
927927
"sampleQuestionLabel": "Kérdés",

0 commit comments

Comments
 (0)