diff --git a/frontend/src/app/(marketing)/page.tsx b/frontend/src/app/(marketing)/page.tsx index 897b40a2..4611c4a6 100644 --- a/frontend/src/app/(marketing)/page.tsx +++ b/frontend/src/app/(marketing)/page.tsx @@ -6,7 +6,7 @@ import { homeRouteForRole } from "@/server/auth/access-rules"; export const metadata: Metadata = { title: { absolute: "Edorax: every lesson starts with a question" }, - description: "Short lessons you can read, play with, listen to and prove. Built for phones, slow connections and second-language learners.", + description: "Courses you read, play, hear and prove, plus visual, guided and shell labs. Try every kind from the home page, no account needed.", alternates: { canonical: "/" }, openGraph: { title: "Edorax: every lesson starts with a question", url: "/", images: [SITE_SHARE_IMAGE] }, }; diff --git a/frontend/src/components/marketing/edorax/edorax-landing.module.css b/frontend/src/components/marketing/edorax/edorax-landing.module.css index 2d280c0d..59db0524 100644 --- a/frontend/src/components/marketing/edorax/edorax-landing.module.css +++ b/frontend/src/components/marketing/edorax/edorax-landing.module.css @@ -34,8 +34,19 @@ /* Inline styles carry the desktop design; these reshape it for phones. */ @media (max-width: 640px) { + /* The drawn desktop app stacks its task panel over its terminal. */ + .appBody { + grid-template-columns: minmax(0, 1fr) !important; + } + + /* Sized so "The #1 platform for" stays on one line on a phone. */ .h1 { - font-size: 32px !important; + font-size: clamp(25px, 7.4vw, 32px) !important; + } + + .heroLead { + margin-top: 14px !important; + font-size: 17px !important; } .h2 { @@ -76,9 +87,9 @@ } .hero { - padding-top: 24px !important; - padding-bottom: 56px !important; - gap: 32px !important; + padding-top: 16px !important; + padding-bottom: 48px !important; + gap: 16px !important; } /* Card sets become a swipe row with the next card peeking in, not a tall stack. */ diff --git a/frontend/src/components/marketing/edorax/edorax-landing.tsx b/frontend/src/components/marketing/edorax/edorax-landing.tsx index 83e0d568..b41baefe 100644 --- a/frontend/src/components/marketing/edorax/edorax-landing.tsx +++ b/frontend/src/components/marketing/edorax/edorax-landing.tsx @@ -1,14 +1,16 @@ import Link from "next/link"; import { ChoiceGroup } from "./choice-group"; import { Dot } from "@/components/brand/dot"; -import { HeroQuestion } from "./hero-question"; +import { RotatingHeadline } from "./try-it/rotating-headline"; +import { TryIt } from "./try-it/try-it"; +import { DesktopApp, HandsOnLabs } from "./labs-and-desktop"; import { AreaShowcase } from "./area-showcase"; import { Wordmark } from "@/components/brand/wordmark"; import s from "./edorax-landing.module.css"; // The Edorax home page. Static markup with inline brand values so it matches the -// approved design one to one; only the hero question and the leaderboard choice -// are interactive. Font variables (--font-unbounded, --font-dm-sans) are defined +// approved design one to one; only the hero's try-it panel and the leaderboard +// choice are interactive. Font variables (--font-unbounded, --font-dm-sans) are defined // globally in layout.tsx. function AccountLink({ dashboardHref }: { dashboardHref: string | null }) { @@ -39,26 +41,27 @@ export function EdoraxLanding({ dashboardHref = null }: { dashboardHref?: string
-

Every lesson starts with a question you already wonder about.

-

Then you play with it, listen to it and prove it. Short chapters that work on a phone, on a slow connection, in your second language.

+ +

Courses you read, play, hear and prove. Labs you build and break. Try each kind right here in two minutes, no account needed.

- Answer the question - See how a chapter works + Start trying + See the labs
- +
@@ -134,6 +137,8 @@ export function EdoraxLanding({ dashboardHref = null }: { dashboardHref?: string
+ +
@@ -312,7 +317,7 @@ export function EdoraxLanding({ dashboardHref = null }: { dashboardHref?: string

Answer one question. See where it takes you.

Make an account only when you want to keep your progress.

@@ -329,6 +334,8 @@ export function EdoraxLanding({ dashboardHref = null }: { dashboardHref?: string