forge
Explore
Log in

Don't you dare go Hollow

Build hero and product sections

Browse files at this commit

376fd39203145eb0c3bedc7fe23ca4f47521bcbaBurak BoduroğluParent: 7d42c39
  • feat
    • build hero and product sections
Show full message
feat(landing): build hero and product sections

Tek sayfa, on bölüm: hero, neden Hezarfen, ürünler, modüller, nasıl çalışır, roller, güven, kimler için, hakkımızda ve SSS; sayfa demo isteğiyle kapanır.

Hero'nun merkezinde platformun tek ekran hâlinin çizimi var; ürün bölümleri kopya ile çizimi yan yana koyar ve satır satır yön değiştirir. Header çubuğun ortasına sabitlenmiş bir içindekiler listesidir: gezinme yerine çıpa, aktif bölüm IntersectionObserver ile işaretlenir.
src/components/Footer.tsxadded+119 -0
@@ -0,0 +1,119 @@
1+import { For } from "solid-js";
2+import { FiArrowUpRight, FiLinkedin } from "solid-icons/fi";
3+import Logo from "./Logo";
4+import { anchors, mailto, site } from "~/config";
5+import { t } from "~/i18n";
6+
7+export default function Footer() {
8+ // Icons keyed by the `site.social` account names, so the row below iterates
9+ // the config itself: an account added in `config.ts` fails the typecheck
10+ // until it gains an icon here, and a removed one vanishes from the footer
11+ // and from the JsonLd `sameAs` together — the list is never half-updated.
12+ const socialMeta = {
13+ linkedin: { label: "LinkedIn", icon: FiLinkedin },
14+ } as const;
15+
16+ const columns = [
17+ {
18+ title: t.footer.sections.product,
19+ links: [
20+ { label: t.nav.products, href: anchors.products },
21+ { label: t.nav.platform, href: anchors.platform },
22+ { label: t.nav.theory, href: anchors.theory },
23+ { label: t.nav.roles, href: anchors.roles },
24+ ],
25+ },
26+ {
27+ title: t.footer.sections.company,
28+ links: [
29+ { label: t.nav.problem, href: anchors.problem },
30+ { label: t.nav.trust, href: anchors.trust },
31+ { label: t.nav.audience, href: anchors.audience },
32+ { label: t.nav.about, href: anchors.about },
33+ { label: t.nav.faq, href: anchors.faq },
34+ ],
35+ },
36+ ];
37+
38+ const socials = (Object.keys(site.social) as (keyof typeof site.social)[]).map(key => ({
39+ label: socialMeta[key].label,
40+ href: site.social[key],
41+ icon: socialMeta[key].icon,
42+ }));
43+
44+ return (
45+ <footer class="hz-footer">
46+ <div class="hz-footer-inner">
47+ <div class="hz-footer-cols">
48+ <div>
49+ <Logo />
50+ <p class="hz-small mt-4 max-w-[36ch]">{t.footer.tagline}</p>
51+ <p class="hz-small mt-4">
52+ {site.city} ·{" "}
53+ <a
54+ href={site.builder.url}
55+ rel="noopener noreferrer"
56+ target="_blank"
57+ class="underline decoration-[var(--line-strong)] underline-offset-2 hover:text-[var(--brand-ink)]"
58+ >
59+ {t.footer.builtBy}
60+ </a>
61+ </p>
62+ </div>
63+
64+ <For each={columns}>
65+ {column => (
66+ <div>
67+ <h4>{column.title}</h4>
68+ <ul>
69+ <For each={column.links}>
70+ {link => (
71+ <li>
72+ <a href={link.href}>{link.label}</a>
73+ </li>
74+ )}
75+ </For>
76+ </ul>
77+ </div>
78+ )}
79+ </For>
80+
81+ {/* The address is the one thing anyone comes down here for, so it is
82+ set larger than the links beside it. */}
83+ <div>
84+ <h4>{t.footer.sections.contact}</h4>
85+ <a
86+ href={mailto(t.cta.subject)}
87+ class="group mt-4 inline-flex items-baseline gap-1 font-medium text-[var(--ink)] hover:text-[var(--brand-ink)]"
88+ >
89+ {site.email}
90+ <FiArrowUpRight class="size-4 shrink-0 self-center transition-transform duration-300 group-hover:-translate-y-0.5 group-hover:translate-x-0.5" />
91+ </a>
92+ </div>
93+ </div>
94+
95+ <div class="hz-footer-legal">
96+ <span>
97+ © {new Date().getFullYear()} {site.legalName}. {t.footer.rights}
98+ </span>
99+ <div class="flex items-center gap-3">
100+ <span>{site.domain}</span>
101+ <For each={socials}>
102+ {social => (
103+ <a
104+ href={social.href}
105+ aria-label={social.label}
106+ rel="noopener noreferrer"
107+ target="_blank"
108+ class="hz-social"
109+ >
110+ <social.icon class="size-4" />
111+ </a>
112+ )}
113+ </For>
114+ </div>
115+ </div>
116+ </div>
117+ </footer>
118+ );
119+}
src/components/Header.tsxadded+121 -0
@@ -0,0 +1,121 @@
1+import { createSignal, For, onCleanup, onMount, Show } from "solid-js";
2+import Logo from "./Logo";
3+import { PixelClose, PixelMenu } from "./icons/pixel";
4+import { anchors, mailto, site } from "~/config";
5+import { t } from "~/i18n";
6+
7+/**
8+ * The site is one page, so the bar is a table of contents rather than a set of
9+ * routes: every label is an in-page anchor, and the band currently under the
10+ * header is the one marked as current.
11+ */
12+export default function Header() {
13+ const [open, setOpen] = createSignal(false);
14+ const [active, setActive] = createSignal<string | null>(null);
15+
16+ /** The bar carries four bands; the sheet carries all of them. */
17+ const primary = [
18+ { href: anchors.products, label: t.nav.products },
19+ { href: anchors.theory, label: t.nav.theory },
20+ { href: anchors.audience, label: t.nav.audience },
21+ { href: anchors.about, label: t.nav.about },
22+ ];
23+
24+ const all = [
25+ { href: anchors.problem, label: t.nav.problem },
26+ ...primary,
27+ { href: anchors.platform, label: t.nav.platform },
28+ { href: anchors.roles, label: t.nav.roles },
29+ { href: anchors.trust, label: t.nav.trust },
30+ { href: anchors.faq, label: t.nav.faq },
31+ ];
32+
33+ const id = (href: string) => href.split("#")[1]!;
34+
35+ /**
36+ * Which band is current. The observer's top margin is the header's own
37+ * height, so a section counts as "under the bar" rather than merely on
38+ * screen, and the bottom margin keeps a band that is only just visible from
39+ * taking the mark from the one filling the viewport.
40+ */
41+ onMount(() => {
42+ if (!("IntersectionObserver" in window)) return;
43+
44+ const sections = all
45+ .map(item => document.getElementById(id(item.href)))
46+ .filter((node): node is HTMLElement => node !== null);
47+
48+ const observer = new IntersectionObserver(
49+ entries => {
50+ const visible = entries
51+ .filter(entry => entry.isIntersecting)
52+ .sort((a, b) => a.boundingClientRect.top - b.boundingClientRect.top);
53+ if (visible.length > 0) setActive(visible[0]!.target.id);
54+ },
55+ { rootMargin: "-72px 0px -55% 0px", threshold: 0 },
56+ );
57+
58+ sections.forEach(section => observer.observe(section));
59+ onCleanup(() => observer.disconnect());
60+ });
61+
62+ return (
63+ <header class="hz-header">
64+ <div class="hz-header-inner">
65+ <Logo />
66+
67+ <nav class="hz-nav" aria-label={t.nav.menu}>
68+ <For each={primary}>
69+ {item => (
70+ <a
71+ href={item.href}
72+ class={active() === id(item.href) ? "is-current" : undefined}
73+ aria-current={active() === id(item.href) ? "true" : undefined}
74+ >
75+ {item.label}
76+ </a>
77+ )}
78+ </For>
79+ </nav>
80+
81+ <div class="hz-header-actions">
82+ <a href={mailto(t.cta.subject)} class="hz-btn hz-btn-primary">
83+ {t.nav.demo}
84+ </a>
85+ <button
86+ type="button"
87+ class="hz-menu-btn"
88+ aria-expanded={open()}
89+ aria-controls="site-menu"
90+ aria-label={open() ? t.nav.close : t.nav.menu}
91+ onClick={() => setOpen(!open())}
92+ >
93+ <Show when={open()} fallback={<PixelMenu class="size-5" />}>
94+ <PixelClose class="size-5" />
95+ </Show>
96+ </button>
97+ </div>
98+ </div>
99+
100+ <Show when={open()}>
101+ <div id="site-menu" class="hz-sheet">
102+ <For each={all}>
103+ {item => (
104+ <a href={item.href} onClick={() => setOpen(false)}>
105+ {item.label}
106+ </a>
107+ )}
108+ </For>
109+ <a
110+ href={mailto(t.cta.subject)}
111+ onClick={() => setOpen(false)}
112+ class="hz-btn hz-btn-primary"
113+ >
114+ {t.nav.demo}
115+ </a>
116+ <p class="hz-small mt-3 px-3">{site.email}</p>
117+ </div>
118+ </Show>
119+ </header>
120+ );
121+}
src/components/home/Hero.tsxadded+53 -0
@@ -0,0 +1,53 @@
1+import { For } from "solid-js";
2+import { PixelArrowRight } from "../icons/pixel";
3+import { AppScreenIllustration } from "../illustrations/edu";
4+import { anchors, mailto } from "~/config";
5+import { t } from "~/i18n";
6+
7+/**
8+ * The first screen: a sentence, what it means, two actions, and a drawing of
9+ * the thing itself on a framed card. The roles the platform serves close the
10+ * hero on a ruled row, so the page visibly continues below without anything
11+ * having to move.
12+ */
13+export default function Hero() {
14+ return (
15+ <section class="hz-hero">
16+ <div class="hz-hero-copy">
17+ <h1 class="hz-display">
18+ {t.hero.line1}
19+ <br />
20+ {t.hero.line2}
21+ </h1>
22+ <p class="hz-lead">{t.hero.lead}</p>
23+ <div class="hz-hero-actions">
24+ <a href={mailto(t.cta.subject)} class="hz-btn hz-btn-primary hz-btn-lg">
25+ {t.hero.primary}
26+ </a>
27+ <a href={anchors.products} class="hz-btn hz-btn-ghost hz-btn-lg">
28+ {t.hero.secondary}
29+ <PixelArrowRight aria-hidden="true" />
30+ </a>
31+ </div>
32+ <p class="hz-hero-note">{t.hero.note}</p>
33+ </div>
34+
35+ {/* The product as one screen, on a card that reads as a frame without
36+ pretending to be a screenshot. */}
37+ <div class="hz-art-card">
38+ <AppScreenIllustration class="hz-illustration" />
39+ </div>
40+
41+ <div class="hz-roles">
42+ <For each={t.hero.roles}>
43+ {role => (
44+ <span>
45+ <i aria-hidden="true" />
46+ {role}
47+ </span>
48+ )}
49+ </For>
50+ </div>
51+ </section>
52+ );
53+}
src/components/home/Sections.tsxadded+469 -0
@@ -0,0 +1,469 @@
1+import { For } from "solid-js";
2+import {
3+ PixelArrowRight,
4+ PixelBookOpen,
5+ PixelCalendar,
6+ PixelCheck,
7+ PixelCircleInfo,
8+ PixelClock,
9+ PixelFileText,
10+ PixelGlobe,
11+ PixelLayout,
12+ PixelLock,
13+ PixelMail,
14+ PixelMonitor,
15+ PixelNotebook,
16+ PixelServer,
17+ PixelShield,
18+ PixelShoppingCart,
19+ PixelSmartphone,
20+ PixelStore,
21+ PixelUser,
22+ PixelUserPlus,
23+ PixelUsers,
24+} from "../icons/pixel";
25+import {
26+ AnswerSheetIllustration,
27+ AudioLessonIllustration,
28+ GuidedScreenIllustration,
29+ StudyPlanIllustration,
30+} from "../illustrations/edu";
31+import Reveal from "../Reveal";
32+import SectionHeader from "../SectionHeader";
33+import { mailto, site } from "~/config";
34+import { t } from "~/i18n";
35+
36+/** The four things that go wrong today, as four cards. */
37+export function Problem() {
38+ const icons = [PixelLayout, PixelUsers, PixelClock, PixelShield];
39+
40+ return (
41+ <section class="hz-band hz-anchor" id="neden">
42+ <div class="hz-wrap">
43+ <SectionHeader
44+ label={t.problem.label}
45+ title={t.problem.title}
46+ description={t.problem.description}
47+ />
48+ <div class="hz-grid">
49+ <For each={t.problem.items}>
50+ {(item, i) => {
51+ const Icon = icons[i() % icons.length]!;
52+ return (
53+ <Reveal index={i()}>
54+ <article class="hz-card">
55+ <span class="hz-card-icon">
56+ <Icon aria-hidden="true" />
57+ </span>
58+ <h3>{item.title}</h3>
59+ <p>{item.description}</p>
60+ </article>
61+ </Reveal>
62+ );
63+ }}
64+ </For>
65+ </div>
66+ </div>
67+ </section>
68+ );
69+}
70+
71+/** One feature row per product: copy beside a drawing of what it does. */
72+export function Products() {
73+ const art = [
74+ AnswerSheetIllustration,
75+ StudyPlanIllustration,
76+ GuidedScreenIllustration,
77+ AudioLessonIllustration,
78+ ];
79+
80+ return (
81+ <section class="hz-band hz-band-alt hz-anchor" id="urunler">
82+ <div class="hz-wrap">
83+ <SectionHeader
84+ label={t.products.label}
85+ title={t.products.title}
86+ description={t.products.description}
87+ center
88+ />
89+
90+ <div class="mt-10">
91+ <For each={t.products.items}>
92+ {(item, i) => {
93+ const Art = art[i() % art.length]!;
94+ return (
95+ <Reveal>
96+ <div class="hz-feature" classList={{ "hz-feature-flip": i() % 2 === 1 }}>
97+ <div class="hz-feature-copy">
98+ <span class="hz-tag">{item.tag}</span>
99+ <h3 class="hz-h2">{item.name}</h3>
100+ <p>{item.description}</p>
101+ <ul class="hz-checks">
102+ <For each={item.rows}>
103+ {row => (
104+ <li>
105+ <PixelCheck aria-hidden="true" />
106+ {row}
107+ </li>
108+ )}
109+ </For>
110+ </ul>
111+ <div class="hz-pills">
112+ <For each={item.pills}>{pill => <span>{pill}</span>}</For>
113+ </div>
114+ </div>
115+ <div class="hz-feature-art">
116+ <Art class="hz-illustration" />
117+ </div>
118+ </div>
119+ </Reveal>
120+ );
121+ }}
122+ </For>
123+ </div>
124+
125+ <Reveal>
126+ <p class="hz-note">
127+ <PixelCircleInfo aria-hidden="true" />
128+ {t.products.note}
129+ </p>
130+ </Reveal>
131+ </div>
132+ </section>
133+ );
134+}
135+
136+/** What is inside the platform, as a grid of small cards. */
137+export function Platform() {
138+ const icons: Record<string, typeof PixelLock> = {
139+ roller: PixelLock,
140+ dersler: PixelCalendar,
141+ sinav: PixelFileText,
142+ yoklama: PixelCheck,
143+ odev: PixelNotebook,
144+ iletisim: PixelMail,
145+ odeme: PixelShoppingCart,
146+ panolar: PixelMonitor,
147+ };
148+
149+ return (
150+ <section class="hz-band hz-anchor" id="moduller">
151+ <div class="hz-wrap">
152+ <SectionHeader
153+ label={t.platform.label}
154+ title={t.platform.title}
155+ description={t.platform.description}
156+ />
157+ <div class="hz-grid">
158+ <For each={t.platform.items}>
159+ {(item, i) => {
160+ const Icon = icons[item.id] ?? PixelLayout;
161+ return (
162+ <Reveal index={i()}>
163+ <article class="hz-card">
164+ <span class="hz-card-icon">
165+ <Icon aria-hidden="true" />
166+ </span>
167+ <h3>{item.title}</h3>
168+ <p>{item.description}</p>
169+ </article>
170+ </Reveal>
171+ );
172+ }}
173+ </For>
174+ </div>
175+ </div>
176+ </section>
177+ );
178+}
179+
180+/** The chain from a marked exam to an approved plan, as four steps. */
181+export function Theory() {
182+ return (
183+ <section class="hz-band hz-band-alt hz-anchor" id="nasil-calisir">
184+ <div class="hz-wrap">
185+ <SectionHeader
186+ label={t.theory.label}
187+ title={t.theory.title}
188+ description={t.theory.description}
189+ center
190+ />
191+ <div class="hz-steps">
192+ <For each={t.theory.steps}>
193+ {(step, i) => (
194+ <Reveal index={i()}>
195+ <div class="hz-step">
196+ <span class="hz-step-num">{step.num}</span>
197+ <h3 class="hz-h3">{step.title}</h3>
198+ <p>{step.description}</p>
199+ </div>
200+ </Reveal>
201+ )}
202+ </For>
203+ </div>
204+ </div>
205+ </section>
206+ );
207+}
208+
209+/** One card per role: the same data, four screens. */
210+export function Roles() {
211+ const icons: Record<string, typeof PixelUser> = {
212+ yonetici: PixelLayout,
213+ ogretmen: PixelUserPlus,
214+ ogrenci: PixelUser,
215+ veli: PixelUsers,
216+ };
217+
218+ return (
219+ <section class="hz-band hz-anchor" id="roller">
220+ <div class="hz-wrap">
221+ <SectionHeader
222+ label={t.roles.label}
223+ title={t.roles.title}
224+ description={t.roles.description}
225+ />
226+ <div class="hz-grid">
227+ <For each={t.roles.items}>
228+ {(item, i) => {
229+ const Icon = icons[item.id] ?? PixelUser;
230+ return (
231+ <Reveal index={i()}>
232+ <article class="hz-card">
233+ <span class="hz-card-icon">
234+ <Icon aria-hidden="true" />
235+ </span>
236+ <h3>{item.title}</h3>
237+ <p>{item.description}</p>
238+ </article>
239+ </Reveal>
240+ );
241+ }}
242+ </For>
243+ </div>
244+ </div>
245+ </section>
246+ );
247+}
248+
249+/** What keeps the system inside its bounds. */
250+export function Trust() {
251+ const icons: Record<string, typeof PixelShield> = {
252+ kanit: PixelFileText,
253+ kaynak: PixelBookOpen,
254+ onay: PixelCheck,
255+ yetki: PixelLock,
256+ kvkk: PixelShield,
257+ yerel: PixelServer,
258+ };
259+
260+ return (
261+ <section class="hz-band hz-band-alt hz-anchor" id="guven">
262+ <div class="hz-wrap">
263+ <SectionHeader
264+ label={t.trust.label}
265+ title={t.trust.title}
266+ description={t.trust.description}
267+ />
268+ <div class="hz-grid hz-grid-3">
269+ <For each={t.trust.items}>
270+ {(item, i) => {
271+ const Icon = icons[item.id] ?? PixelShield;
272+ return (
273+ <Reveal index={i()}>
274+ <article class="hz-card">
275+ <span class="hz-card-icon">
276+ <Icon aria-hidden="true" />
277+ </span>
278+ <h3>{item.title}</h3>
279+ <p>{item.description}</p>
280+ </article>
281+ </Reveal>
282+ );
283+ }}
284+ </For>
285+ </div>
286+ </div>
287+ </section>
288+ );
289+}
290+
291+/** Who it is built for, in the order they come on board. */
292+export function Audience() {
293+ const icons: Record<string, typeof PixelStore> = {
294+ kurslar: PixelStore,
295+ okullar: PixelGlobe,
296+ ogrenciler: PixelSmartphone,
297+ };
298+
299+ return (
300+ <section class="hz-band hz-anchor" id="kimler-icin">
301+ <div class="hz-wrap">
302+ <SectionHeader
303+ label={t.audience.label}
304+ title={t.audience.title}
305+ description={t.audience.description}
306+ />
307+ <div class="hz-grid hz-grid-3">
308+ <For each={t.audience.items}>
309+ {(item, i) => {
310+ const Icon = icons[item.id] ?? PixelStore;
311+ return (
312+ <Reveal index={i()}>
313+ <article class="hz-card">
314+ <span class="hz-card-icon">
315+ <Icon aria-hidden="true" />
316+ </span>
317+ <span class="hz-tag">{item.tag}</span>
318+ <h3>{item.title}</h3>
319+ <p>{item.description}</p>
320+ </article>
321+ </Reveal>
322+ );
323+ }}
324+ </For>
325+ </div>
326+ </div>
327+ </section>
328+ );
329+}
330+
331+/**
332+ * What the product is, and who builds it. The page is about Hezarfen, so this
333+ * band stays about Hezarfen: the engineering credit is one card at the end,
334+ * not a team roster.
335+ */
336+export function About() {
337+ return (
338+ <section class="hz-band hz-band-alt hz-anchor" id="hakkimizda">
339+ <div class="hz-wrap">
340+ <SectionHeader
341+ label={t.about.label}
342+ title={t.about.title}
343+ description={t.about.description}
344+ />
345+
346+ <Reveal>
347+ <div class="hz-prose">
348+ <For each={t.about.paragraphs}>{paragraph => <p>{paragraph}</p>}</For>
349+ </div>
350+ </Reveal>
351+
352+ <Reveal>
353+ <div class="hz-facts">
354+ <dl class="hz-figures">
355+ <For each={t.about.facts}>
356+ {fact => (
357+ <div>
358+ <dt>{fact.value}</dt>
359+ <dd>{fact.label}</dd>
360+ </div>
361+ )}
362+ </For>
363+ </dl>
364+ <div class="hz-builder">
365+ <h3 class="hz-h3">{t.about.builder.title}</h3>
366+ <p class="hz-small">{t.about.builder.description}</p>
367+ <a
368+ class="hz-btn hz-btn-quiet"
369+ href={site.builder.url}
370+ rel="noopener noreferrer"
371+ target="_blank"
372+ >
373+ {t.about.builder.linkLabel}
374+ <PixelArrowRight aria-hidden="true" />
375+ </a>
376+ </div>
377+ </div>
378+ </Reveal>
379+ </div>
380+ </section>
381+ );
382+}
383+
384+/**
385+ * The questions a müdür asks before a demo. Native `<details>`: it opens with
386+ * no script, the page can be searched for an answer that is closed, and
387+ * assistive tech already knows the pattern.
388+ */
389+export function Faq() {
390+ return (
391+ <section class="hz-band hz-anchor" id="sss">
392+ <div class="hz-wrap">
393+ <div class="hz-narrow">
394+ <SectionHeader
395+ label={t.faq.label}
396+ title={t.faq.title}
397+ description={t.faq.description}
398+ />
399+ <div class="hz-faq">
400+ <For each={t.faq.items}>
401+ {item => (
402+ <details class="hz-faq-item">
403+ <summary>
404+ <span>{item.q}</span>
405+ <PixelArrowRight aria-hidden="true" />
406+ </summary>
407+ <p>{item.a}</p>
408+ </details>
409+ )}
410+ </For>
411+ </div>
412+ </div>
413+ </div>
414+ </section>
415+ );
416+}
417+
418+/**
419+ * The ask: how a first conversation turns into a pilot, then the panel the
420+ * page closes on. Both live in one band so the four stops read as the
421+ * explanation of the button underneath them.
422+ */
423+export function Contact() {
424+ return (
425+ <section class="hz-band hz-band-alt hz-anchor" id="iletisim">
426+ <div class="hz-wrap">
427+ <SectionHeader
428+ label={t.cta.label}
429+ title={t.cta.title}
430+ description={t.cta.subtitle}
431+ center
432+ />
433+
434+ <div class="hz-steps">
435+ <For each={t.cta.journey}>
436+ {(stop, i) => (
437+ <Reveal index={i()}>
438+ <div class="hz-step">
439+ <span class="hz-step-num">0{stop.step}</span>
440+ <h3 class="hz-h3">{stop.title}</h3>
441+ <p>{stop.description}</p>
442+ </div>
443+ </Reveal>
444+ )}
445+ </For>
446+ </div>
447+
448+ <Reveal class="mt-14">
449+ <div class="hz-cta">
450+ <h2 class="hz-h2">{t.cta.panelTitle}</h2>
451+ <p>{t.cta.panelSubtitle}</p>
452+ <div class="hz-hero-actions">
453+ <a class="hz-btn hz-btn-primary hz-btn-lg" href={mailto(t.cta.subject)}>
454+ {t.nav.demo}
455+ </a>
456+ <a class="hz-btn hz-btn-ghost hz-btn-lg" href={mailto(t.cta.pilotSubject)}>
457+ {t.cta.secondary}
458+ <PixelArrowRight aria-hidden="true" />
459+ </a>
460+ </div>
461+ <a class="hz-cta-mail" href={mailto(t.cta.subject)}>
462+ {site.email}
463+ </a>
464+ </div>
465+ </Reveal>
466+ </div>
467+ </section>
468+ );
469+}
src/routes/index.tsxadded+52 -0
@@ -0,0 +1,52 @@
1+import Seo from "~/components/Seo";
2+import Hero from "~/components/home/Hero";
3+import {
4+ About,
5+ Audience,
6+ Contact,
7+ Faq,
8+ Platform,
9+ Problem,
10+ Products,
11+ Roles,
12+ Theory,
13+ Trust,
14+} from "~/components/home/Sections";
15+import { routes, site } from "~/config";
16+import { t } from "~/i18n";
17+import { faqPage, productList } from "~/lib/schema";
18+
19+/**
20+ * The landing page is the site: one stack of bands, in the order a kurum
21+ * müdürü asks the questions — what is wrong today, what the products are,
22+ * what is inside the platform, how it works, who sees what, what keeps the
23+ * AI honest, who it is for, what it is, and the six things asked before a
24+ * demo — closing on the single brand panel before the footer.
25+ */
26+export default function Home() {
27+ const url = () => `${site.url}${routes.home}`;
28+
29+ return (
30+ <>
31+ <Seo
32+ title={t.meta.homeTitle}
33+ description={t.meta.homeDescription}
34+ full
35+ schema={[productList(t, url()), faqPage(t, url())]}
36+ />
37+ {/* Bands alternate white and the off-white ground, so a section
38+ boundary is a change of surface rather than a rule. */}
39+ <Hero />
40+ <Problem />
41+ <Products />
42+ <Platform />
43+ <Theory />
44+ <Roles />
45+ <Trust />
46+ <Audience />
47+ <About />
48+ <Faq />
49+ <Contact />
50+ </>
51+ );
52+}