forge
Explore
Log in

Don't you dare go Hollow

hezarfen_landing

Clone
★ 0

0 watching0 forksTypeScript581.6 KiB94b1804Burak Boduroğlu2 months ago15 commits

config.ts75 lines, 2.6 KiBHistoryRawDownload
1/**
2 * Single source of truth for contact details, canonical URLs and the anchors
3 * the landing page is built out of.
4 *
5 * The site is one page: every nav label, footer link and structured-data URL
6 * resolves to a band on `/`. Adding a band means adding its anchor here, not
7 * editing three components.
8 */
9export const site = {
10 name: "Hezarfen",
11 legalName: "Hezarfen",
12 /** Not registered yet — swap the two lines below when the domain is live. */
13 domain: "hezarfen.app",
14 url: "https://hezarfen.app",
15 /* Mail runs on the Dizey domain: it is the address that already receives
16 and is already answered, and a contact address nobody reads is worse
17 than one that does not match the site's domain. */
18 email: "merhaba@dizey.sh",
19 founded: 2026,
20 /** Who builds it. The product speaks for itself; this is the credit line. */
21 builder: { name: "Dizey Lab", url: "https://dizey.sh" },
22 /**
23 * Only accounts we actually run. The footer row and `sameAs` in the
24 * structured data both read this list and treat it as complete, so an
25 * account added here shows up in both with no other change needed.
26 */
27 social: {
28 linkedin: "https://www.linkedin.com/company/hezarfen/",
29 },
30} as const;
31
32/**
33 * The standing pages. The landing page carries the argument; the other two
34 * are the places it sends people — the form that starts a demo, and the
35 * diagram that answers "how does this actually work?" in full.
36 */
37export const routes = {
38 home: "/",
39 contact: "/iletisim",
40 how: "/nasil-calisir",
41} as const;
42
43/**
44 * Bands on the landing page, in the order they are rendered. The header nav,
45 * the footer columns and the sitemap all iterate these, which is what keeps a
46 * renamed section from leaving a dead link behind.
47 */
48export const anchors = {
49 problem: "/#neden",
50 products: "/#urunler",
51 platform: "/#moduller",
52 theory: "/#akis",
53 roles: "/#roller",
54 trust: "/#guven",
55 audience: "/#kimler-icin",
56 about: "/#hakkimizda",
57 faq: "/#sss",
58 contact: "/#iletisim",
59} as const;
60
61/** `mailto:` with a subject, so a cold enquiry arrives already labelled. */
62export const mailto = (subject: string) =>
63 `mailto:${site.email}?subject=${encodeURIComponent(subject)}`;
64
65/**
66 * Last meaningful content change, in ISO form, for `<lastmod>` in the sitemap.
67 * Kept by hand on purpose: stamping the build time would tell crawlers the
68 * page changed on every deploy, and Google stops trusting the field when it
69 * does. Bump it when the copy actually changes.
70 */
71export const pageUpdated: Record<keyof typeof routes, string> = {
72 home: "2026-09-12",
73 contact: "2026-09-12",
74 how: "2026-09-12",
75};