progmaweb
The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.
Clonegit clone https://git.progmasoft.com/progmaweb
Give progmasoft.com a plain, institutional look
- Commit
44a130f5e4f9517f8cdff8a76ca74bc95770994f- Author
- Leitwolf11 ·
- Parents
1472f7d9c1a5
Changes
apps/web/app/globals.css | 34 +-- apps/web/app/page.tsx | 189 ++++++++-------- apps/web/app/products/catalog.css | 2 +- apps/web/app/site.css | 415 ++++++++++++----------------------- apps/web/components/Footer.tsx | 3 +- apps/web/lib/home-messages.ts | 341 ++++++++++++---------------- apps/web/lib/localization.ts | 15 -- apps/web/tests/localization.test.mjs | 2 +- apps/web/tests/sites.test.mjs | 2 +- 9 files changed, 378 insertions(+), 625 deletions(-) diff --git a/apps/web/app/globals.css b/apps/web/app/globals.css index e814549..d23ac67 100644 --- a/apps/web/app/globals.css +++ b/apps/web/app/globals.css @@ -18,15 +18,8 @@ --surface-muted: #f5f7f9; --surface-blue: #f1f8ff; --header-surface: rgb(255 255 255 / 94%); - --hero-background: - radial-gradient(circle at 85% 14%, rgb(0 120 212 / 10%), transparent 34%), - linear-gradient(180deg, #fff, #f7fbff); - --account-background: linear-gradient( - 145deg, - #f8fbff 0%, - #fff 55%, - #f1f8ff 100% - ); + --hero-background: #fff; + --account-background: #f5f7f9; --danger: #b42318; --shadow-sm: 0 2px 8px rgb(18 20 23 / 8%); --shadow-md: 0 16px 44px rgb(18 20 23 / 12%); @@ -56,15 +49,8 @@ --surface-muted: #171c22; --surface-blue: #10283a; --header-surface: rgb(16 19 23 / 94%); - --hero-background: - radial-gradient(circle at 85% 14%, rgb(54 159 232 / 16%), transparent 34%), - linear-gradient(180deg, #101317, #131a22); - --account-background: linear-gradient( - 145deg, - #131a22 0%, - #101317 55%, - #102231 100% - ); + --hero-background: #101317; + --account-background: #131a22; --danger: #ff8f86; --shadow-sm: 0 2px 8px rgb(0 0 0 / 28%); --shadow-md: 0 16px 44px rgb(0 0 0 / 42%); @@ -488,11 +474,9 @@ a { .eyebrow { margin: 0 0 12px; - color: var(--blue-700); - font-size: 13px; - font-weight: 750; - letter-spacing: 0.095em; - text-transform: uppercase; + color: var(--ink-500); + font-size: 14px; + font-weight: 600; } .hero { @@ -846,6 +830,10 @@ a { font-size: 13px; } +.footer-bottom a { + color: #d8dde2; +} + .account-landing { min-height: 70vh; } diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index 88b3df6..4deca33 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -4,11 +4,13 @@ import type { Metadata } from "next"; import { Footer } from "@/components/Footer"; import { JsonLd } from "@/components/JsonLd"; +import { formatDay } from "@/components/ProductCatalog"; import { SiteHeader } from "@/components/SiteHeader"; -import { AreaIcon, areaKinds } from "@/components/site/AreaIcon"; import { getHomeMessages } from "@/lib/home-messages"; import { getLocale } from "@/lib/locale.server"; import { getMessages } from "@/lib/localization"; +import { policyUrls } from "@/lib/policies"; +import { getCatalogMessages, products, releases } from "@/lib/products"; import { organizationData, websiteData } from "@/lib/structured-data"; import "./site.css"; @@ -22,129 +24,120 @@ export async function generateMetadata(): Promise<Metadata> { }; } +const discovery = + "https://credentials.progmasoft.com/.well-known/openid-configuration"; + /** - * progmasoft.com. Progmasoft is presented as a pool of technology areas; the - * products have their own catalog on product.progmasoft.com. + * progmasoft.com: the areas Progmasoft works in, the newest releases of the + * catalog, and where developers and everyone else go next. Plain text and + * rules, no decoration: the page says what is there. */ export default async function Homepage() { const locale = await getLocale(); - const { hero, pool, principles, developers } = getHomeMessages(locale); + const home = getHomeMessages(locale); + const catalog = getCatalogMessages(locale); + const recent = releases().slice(0, 5); return ( <div className="pm-page"> <JsonLd data={[organizationData(), websiteData(locale)]} /> <SiteHeader locale={locale} /> <main> - <section className="pm-hero"> - <div className="pm-shell pm-hero-inner"> - <div> - <p className="eyebrow">{hero.eyebrow}</p> - <h1> - {hero.titleStart} <span>{hero.titleAccent}</span> - </h1> - <p className="pm-lede">{hero.description}</p> - <div className="pm-actions"> - <a className="button" href="#technology"> - {hero.explore} - </a> - <a - className="button button-secondary" - href="https://product.progmasoft.com/" - > - {hero.products} → - </a> - </div> - </div> - <div className="pm-pool-visual" aria-label={hero.poolLabel}> - {pool.areas.map(([title], index) => ( - <div className="pm-pool-tile" key={title}> - <span className={`pm-icon pm-icon-${areaKinds[index]}`}> - <AreaIcon kind={areaKinds[index] ?? "languages"} /> - </span> - <strong>{title}</strong> - </div> - ))} - </div> + <section className="pm-intro"> + <div className="pm-shell"> + <h1>{home.hero.title}</h1> + <p className="pm-lede">{home.hero.description}</p> + <p className="pm-actions"> + <a className="button" href="https://product.progmasoft.com/"> + {home.hero.catalog} + </a> + <a className="pm-link" href="https://github.com/Progmasoft"> + {home.hero.source} + </a> + </p> </div> </section> <section className="pm-section" id="technology"> - <div className="pm-shell"> - <div className="pm-heading"> - <p className="eyebrow">{pool.eyebrow}</p> - <h2>{pool.title}</h2> - <p>{pool.description}</p> - </div> - <div className="pm-bento"> - {pool.areas.map(([title, description], index) => ( - <article - className={`pm-card${[0, 3, 4].includes(index) ? " pm-card-wide" : ""}`} - key={title} - > - <span className={`pm-icon pm-icon-${areaKinds[index]}`}> - <AreaIcon kind={areaKinds[index] ?? "languages"} /> - </span> - <h3>{title}</h3> - <p>{description}</p> - </article> + <div className="pm-shell pm-split"> + <h2>{home.areas.title}</h2> + <dl className="pm-areas"> + {home.areas.items.map(([title, description]) => ( + <div key={title}> + <dt>{title}</dt> + <dd>{description}</dd> + </div> ))} - </div> - <div className="pm-catalog"> - <p>{pool.catalog}</p> - <a className="pm-link" href="https://product.progmasoft.com/"> - {pool.catalogLink} → - </a> - </div> + </dl> </div> </section> - <section className="pm-section pm-section-muted" id="principles"> - <div className="pm-shell"> - <div className="pm-heading"> - <p className="eyebrow">{principles.eyebrow}</p> - <h2>{principles.title}</h2> - </div> - <div className="pm-principles"> - {principles.items.map(([title, description], index) => ( - <article key={title}> - <span>{String(index + 1).padStart(2, "0")}</span> - <h3>{title}</h3> - <p>{description}</p> - </article> - ))} + <section className="pm-section" id="releases"> + <div className="pm-shell pm-split"> + <h2>{home.releases.title}</h2> + <div> + <ul className="pm-releases"> + {recent.map(({ slug, release }) => ( + <li key={slug}> + <time dateTime={release.date}> + {formatDay(locale, release.date)} + </time> + <a href={`https://product.progmasoft.com/${slug}`}> + {products[slug].name} {release.version} + </a> + <span>{catalog.products[slug].tagline}</span> + </li> + ))} + </ul> + <a + className="pm-link" + href="https://product.progmasoft.com/releases" + > + {home.releases.all} + </a> </div> </div> </section> <section className="pm-section" id="developers"> - <div className="pm-shell pm-band"> + <div className="pm-shell pm-split"> + <h2>{home.developers.title}</h2> <div> - <p className="eyebrow">{developers.eyebrow}</p> - <h2>{developers.title}</h2> - <p>{developers.description}</p> - <div className="pm-actions"> - <a - className="button button-light" - href="https://console.progmasoft.com/" - > - {developers.console} + <p className="pm-text">{home.developers.description}</p> + <p className="pm-discovery"> + <span>{home.developers.discovery}</span> + <code dir="ltr">{discovery}</code> + </p> + <p className="pm-actions"> + <a className="button" href="https://console.progmasoft.com/"> + {home.developers.console} </a> - <a - className="button button-secondary" - href="https://account.progmasoft.com/" - > - {developers.account} + <a className="pm-link" href="https://account.progmasoft.com/"> + {home.developers.account} </a> - </div> + </p> </div> - <pre className="pm-code" dir="ltr"> - <code> - <b>GET</b> https://credentials.progmasoft.com - {"\n"} - {" "}/.well-known/openid-configuration - {"\n\n"} - <b>scope</b> openid profile email - </code> - </pre> + </div> + </section> + + <section className="pm-section" id="contact"> + <div className="pm-shell pm-split"> + <h2>{home.contact.title}</h2> + <dl className="pm-contact"> + <div> + <dt>{home.contact.support}</dt> + <dd> + <a href="mailto:support@progmasoft.com"> + support@progmasoft.com + </a> + </dd> + </div> + <div> + <dt>{home.contact.security}</dt> + <dd> + <a href={policyUrls.security}>{policyUrls.security}</a> + </dd> + </div> + </dl> </div> </section> </main> diff --git a/apps/web/app/products/catalog.css b/apps/web/app/products/catalog.css index 9395893..28a1517 100644 --- a/apps/web/app/products/catalog.css +++ b/apps/web/app/products/catalog.css @@ -14,7 +14,7 @@ .pm-views a { border: 1px solid var(--line); - border-radius: 999px; + border-radius: var(--radius-sm); padding: 6px 14px; background: var(--surface); color: var(--ink-800); diff --git a/apps/web/app/site.css b/apps/web/app/site.css index 93df053..e975671 100644 --- a/apps/web/app/site.css +++ b/apps/web/app/site.css @@ -1,9 +1,8 @@ /* SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> */ /* SPDX-License-Identifier: AGPL-3.0-or-later */ -/* progmasoft.com, product.progmasoft.com and the product sites. Static - gradients and borders only: no blur filters and no running animations, so - a theme change repaints in one frame. */ +/* progmasoft.com, product.progmasoft.com and the product sites. Flat + surfaces, rules and type: no gradients, glows, shadows or icon tiles. */ .pm-page { --pm-violet: #6d4fe0; @@ -28,149 +27,159 @@ /* Hero */ .pm-hero { - position: relative; - overflow: hidden; border-bottom: 1px solid var(--line); - background: - radial-gradient(60% 80% at 85% 10%, rgb(109 79 224 / 14%), transparent 70%), - radial-gradient(50% 70% at 10% 90%, rgb(15 158 148 / 12%), transparent 70%), - radial-gradient(40% 60% at 60% 60%, var(--pm-glow), transparent 70%), - var(--surface); -} - -.pm-hero::before { - position: absolute; - inset: 0; - background-image: - linear-gradient(var(--line) 1px, transparent 1px), - linear-gradient(90deg, var(--line) 1px, transparent 1px); - background-size: 56px 56px; - content: ""; - mask-image: radial-gradient(70% 70% at 50% 40%, black, transparent); - opacity: 0.45; - pointer-events: none; -} - -.pm-hero-inner { - position: relative; - display: grid; - grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); - align-items: center; - gap: 64px; - padding-block: 96px 104px; + background: var(--surface); } .pm-hero h1 { + max-width: 900px; margin: 0; - font-size: clamp(40px, 5.4vw, 72px); - font-weight: 760; - letter-spacing: -0.05em; - line-height: 0.98; + font-size: clamp(34px, 4.4vw, 56px); + font-weight: 700; + letter-spacing: -0.03em; + line-height: 1.08; } .pm-hero h1 span { - display: block; - background: linear-gradient( - 100deg, - var(--blue-600), - var(--pm-violet) 55%, - var(--pm-teal) - ); - -webkit-background-clip: text; - background-clip: text; - color: transparent; + color: inherit; } .pm-lede { - max-width: 620px; - margin: 28px 0 0; + max-width: 680px; + margin: 24px 0 0; color: var(--ink-650); - font-size: clamp(17px, 1.6vw, 20px); + font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; } .pm-actions { display: flex; flex-wrap: wrap; - gap: 12px; - margin-top: 36px; + align-items: center; + gap: 12px 28px; + margin: 32px 0 0; } .pm-actions .button { - padding: 13px 24px; - border-radius: 999px; + padding: 11px 20px; + border-radius: var(--radius-sm); } -/* The pool: six tiles that light up the areas. */ +/* The home page: an introduction, then sections whose heading stands beside + their content, each above a rule. */ -.pm-pool-visual { +.pm-intro { + border-bottom: 1px solid var(--line); + padding-block: 88px 80px; +} + +.pm-intro h1 { + max-width: 880px; + margin: 0; + font-size: clamp(34px, 4.6vw, 58px); + font-weight: 700; + letter-spacing: -0.03em; + line-height: 1.08; +} + +.pm-split { display: grid; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 14px; + grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); + gap: 48px; + align-items: start; +} + +.pm-split > h2 { + margin: 0; + font-size: 22px; + font-weight: 650; + letter-spacing: -0.01em; + line-height: 1.3; } -.pm-pool-tile { +.pm-areas, +.pm-contact { display: grid; - gap: 10px; - min-height: 108px; - border: 1px solid var(--line); - border-radius: 18px; - padding: 18px; - background: var(--surface); - box-shadow: var(--shadow-sm); + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 36px 48px; + margin: 0; } -.pm-pool-tile:nth-child(even) { - transform: translateY(22px); +.pm-areas dt, +.pm-contact dt { + border-top: 1px solid var(--ink-950); + padding-top: 14px; + font-size: 16px; + font-weight: 650; } -.pm-pool-tile strong { +.pm-areas dd, +.pm-contact dd { + margin: 8px 0 0; + color: var(--ink-650); font-size: 15px; - letter-spacing: -0.01em; + line-height: 1.6; } -.pm-icon { - width: 40px; - height: 40px; +.pm-releases { + margin: 0 0 24px; + padding: 0; + border-top: 1px solid var(--ink-950); + list-style: none; +} + +.pm-releases li { display: grid; - place-items: center; - border-radius: 12px; - color: white; + grid-template-columns: 9rem minmax(0, 0.7fr) minmax(0, 1fr); + gap: 24px; + border-bottom: 1px solid var(--line); + padding-block: 14px; + font-size: 15px; } -.pm-icon-languages { - background: linear-gradient(135deg, var(--pm-violet), var(--blue-600)); +.pm-releases time, +.pm-releases span { + color: var(--ink-650); } -.pm-icon-build { - background: linear-gradient(135deg, var(--pm-orange), #d9468b); +.pm-releases a { + font-weight: 650; } -.pm-icon-tools { - background: linear-gradient(135deg, var(--blue-500), var(--pm-teal)); +.pm-text { + max-width: 680px; + margin: 0; + color: var(--ink-650); + font-size: 16px; + line-height: 1.65; } -.pm-icon-quality { - background: linear-gradient(135deg, var(--green-600), var(--pm-teal)); +.pm-discovery { + display: grid; + gap: 6px; + margin: 24px 0 0; + border-left: 2px solid var(--line-strong); + padding-left: 16px; + font-size: 14px; } -.pm-icon-identity { - background: linear-gradient(135deg, #3a4a63, var(--blue-600)); +.pm-discovery span { + color: var(--ink-650); } -.pm-icon-infrastructure { - background: linear-gradient(135deg, #59606b, #2a2f35); +.pm-discovery code { + overflow-wrap: anywhere; + font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; } /* Sections */ .pm-section { - padding-block: 112px; + padding-block: 72px; } -.pm-section-muted { - border-block: 1px solid var(--line); - background: var(--surface-muted); +.pm-section + .pm-section { + border-top: 1px solid var(--line); } .pm-heading { @@ -180,10 +189,10 @@ .pm-heading h2 { margin: 0; - font-size: clamp(32px, 4.2vw, 52px); - font-weight: 740; - letter-spacing: -0.04em; - line-height: 1.05; + font-size: clamp(26px, 3vw, 36px); + font-weight: 700; + letter-spacing: -0.02em; + line-height: 1.15; } .pm-heading p:not(.eyebrow) { @@ -193,31 +202,20 @@ line-height: 1.6; } -.pm-bento { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 18px; -} - .pm-card { position: relative; display: grid; align-content: start; gap: 14px; border: 1px solid var(--line); - border-radius: 22px; - padding: 28px; + border-radius: var(--radius-sm); + padding: 24px; background: var(--surface); - transition: - border-color 160ms ease, - box-shadow 160ms ease, - transform 160ms ease; + transition: border-color 120ms ease; } .pm-card:hover { - border-color: var(--line-strong); - box-shadow: var(--shadow-md); - transform: translateY(-2px); + border-color: var(--ink-650); } .pm-card h3 { @@ -236,119 +234,12 @@ grid-column: span 2; } -.pm-catalog { - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: space-between; - gap: 16px; - margin-top: 28px; - border: 1px dashed var(--line-strong); - border-radius: 22px; - padding: 22px 28px; -} - -.pm-catalog p { - margin: 0; - font-size: 17px; - font-weight: 600; -} - .pm-link { font-weight: 650; } /* Principles */ -.pm-principles { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 40px; -} - -.pm-principles article { - border-top: 2px solid var(--ink-950); - padding-top: 22px; -} - -.pm-principles span { - display: block; - color: var(--ink-500); - font-family: ui-monospace, SFMono-Regular, Consolas, monospace; - font-size: 14px; -} - -.pm-principles h3 { - margin: 14px 0 10px; - font-size: 22px; - letter-spacing: -0.02em; -} - -.pm-principles p { - margin: 0; - color: var(--ink-650); - line-height: 1.6; -} - -/* The developers band */ - -.pm-band { - display: grid; - grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); - align-items: center; - gap: 48px; - border-radius: 28px; - padding: 56px; - background: - radial-gradient(60% 90% at 100% 0%, rgb(109 79 224 / 45%), transparent 70%), - radial-gradient(60% 90% at 0% 100%, rgb(0 120 212 / 40%), transparent 70%), - #111722; - color: #f4f6f8; -} - -.pm-band h2 { - margin: 0; - font-size: clamp(30px, 3.6vw, 46px); - letter-spacing: -0.035em; -} - -.pm-band p:not(.eyebrow) { - margin: 16px 0 0; - color: #c8d0da; - font-size: 17px; - line-height: 1.6; -} - -.pm-band .eyebrow { - color: #8fc8ff; -} - -.pm-band .button-secondary { - border-color: rgb(255 255 255 / 30%); - background: transparent; - color: #f4f6f8; -} - -.pm-code { - overflow-x: auto; - margin: 0; - border: 1px solid rgb(255 255 255 / 12%); - border-radius: 16px; - padding: 22px; - background: rgb(0 0 0 / 35%); - color: #dfe7f1; - font-family: ui-monospace, SFMono-Regular, Consolas, monospace; - font-size: 14px; - line-height: 1.7; -} - -.pm-code b { - color: #8fc8ff; - font-weight: 600; -} - -/* Product pages */ - .pm-product-hero { padding-block: 80px 72px; } @@ -385,32 +276,31 @@ } .pm-accent { - height: 4px; - border-radius: 999px; + height: 3px; } .pm-accent-violet { - background: linear-gradient(90deg, var(--pm-violet), var(--blue-500)); + background: var(--pm-violet); } .pm-accent-blue { - background: linear-gradient(90deg, var(--blue-600), var(--pm-teal)); + background: var(--blue-600); } .pm-accent-teal { - background: linear-gradient(90deg, var(--pm-teal), var(--green-600)); + background: var(--pm-teal); } .pm-accent-green { - background: linear-gradient(90deg, var(--green-600), var(--pm-teal)); + background: var(--green-600); } .pm-accent-orange { - background: linear-gradient(90deg, var(--pm-orange), #d9468b); + background: var(--pm-orange); } .pm-accent-slate { - background: linear-gradient(90deg, #59606b, var(--blue-600)); + background: #59606b; } .pm-detail { @@ -421,44 +311,24 @@ } .pm-features { - display: grid; - gap: 12px; margin: 0; padding: 0; + border-top: 1px solid var(--ink-950); list-style: none; } .pm-features li { - display: flex; - gap: 12px; - border: 1px solid var(--line); - border-radius: 14px; - padding: 14px 16px; - background: var(--surface); -} - -.pm-features li::before { - flex: none; - width: 20px; - height: 20px; - display: grid; - place-items: center; - margin-top: 2px; - border-radius: 50%; - background: var(--blue-100); - color: var(--blue-600); - content: "✓"; - font-size: 12px; - font-weight: 800; + border-bottom: 1px solid var(--line); + padding: 12px 0; } .pm-aside { display: grid; gap: 12px; border: 1px solid var(--line); - border-radius: 22px; - padding: 26px; - background: var(--surface-muted); + border-radius: var(--radius-sm); + padding: 24px; + background: var(--surface); } .pm-aside .button { @@ -487,40 +357,33 @@ } @media (max-width: 960px) { - .pm-hero-inner, - .pm-band, - .pm-detail { - grid-template-columns: 1fr; - } - - .pm-bento, - .pm-principles { + .pm-detail, + .pm-split { grid-template-columns: 1fr; } - .pm-card-wide { - grid-column: auto; + .pm-split { + gap: 24px; } - .pm-pool-visual { - display: none; + .pm-section { + padding-block: 56px; } - .pm-band { - padding: 36px 26px; + .pm-intro { + padding-block: 56px; } +} - .pm-section { - padding-block: 80px; +@media (max-width: 640px) { + .pm-areas, + .pm-contact { + grid-template-columns: 1fr; } -} -@media (max-width: 560px) { - .pm-code { - padding: 18px; - font-size: 13px; - white-space: pre-wrap; - overflow-wrap: anywhere; + .pm-releases li { + grid-template-columns: 1fr; + gap: 2px; } } @@ -528,10 +391,6 @@ .pm-card { transition: none; } - - .pm-card:hover { - transform: none; - } } /* Policies */ diff --git a/apps/web/components/Footer.tsx b/apps/web/components/Footer.tsx index 5c7d810..180388e 100644 --- a/apps/web/components/Footer.tsx +++ b/apps/web/components/Footer.tsx @@ -18,7 +18,6 @@ export function Footer({ locale }: { locale: Locale }) { <div className="shell footer-grid"> <div> <Brand /> - <p>{footer.summary}</p> </div> <div> <strong>{footer.products}</strong> @@ -41,7 +40,7 @@ export function Footer({ locale }: { locale: Locale }) { </div> <div className="shell footer-bottom"> <span>© 2026 Progmasoft</span> - <span>{footer.closing}</span> + <a href="mailto:support@progmasoft.com">support@progmasoft.com</a> </div> </footer> ); diff --git a/apps/web/lib/home-messages.ts b/apps/web/lib/home-messages.ts index af6fca9..1c4bfe5 100644 --- a/apps/web/lib/home-messages.ts +++ b/apps/web/lib/home-messages.ts @@ -4,9 +4,9 @@ import type { Locale } from "./localization"; /** - * The text of progmasoft.com. The page describes Progmasoft as a pool of - * technology areas, not as a list of products: the products have their own - * catalog on product.progmasoft.com. + * The text of progmasoft.com. The page describes the areas Progmasoft works + * in, not a list of products: the products have their own catalog on + * product.progmasoft.com, and the releases the page lists come from it. */ interface HomeMessages { navigation: { @@ -15,343 +15,272 @@ interface HomeMessages { developers: string; }; hero: { - eyebrow: string; - titleStart: string; - titleAccent: string; - description: string; - explore: string; - products: string; - poolLabel: string; - }; - pool: { - eyebrow: string; title: string; description: string; - areas: [title: string, description: string][]; catalog: string; - catalogLink: string; + source: string; }; - principles: { - eyebrow: string; + areas: { title: string; items: [title: string, description: string][]; }; + releases: { + title: string; + all: string; + }; developers: { - eyebrow: string; title: string; description: string; console: string; account: string; + discovery: string; + }; + contact: { + title: string; + support: string; + security: string; }; } export const homeMessages: Record<Locale, HomeMessages> = { "en-US": { navigation: { - technology: "Technology", + technology: "Areas", products: "Products", developers: "Developers", }, hero: { - eyebrow: "Progmasoft", - titleStart: "Technology built to", - titleAccent: "last and to explain itself.", + title: "Developer tools and infrastructure, built in the open.", description: - "Progmasoft designs build systems, testing tools, agentic development environments, data infrastructure and the services around them. Everything shares one discipline: explicit contracts, real verification and names that mean what they say.", - explore: "Explore the technology", - products: "See the products", - poolLabel: "Areas of the Progmasoft technology pool", + "Progmasoft develops build systems, testing libraries, data infrastructure and an operating system, and runs the services they rely on. The source of every project is public.", + catalog: "Product catalog", + source: "Source on GitHub", }, - pool: { - eyebrow: "Technology pool", - title: "Areas, not just products.", - description: - "Products come and grow; the technology underneath them is what we keep building. Each area is shared by everything Progmasoft makes.", - areas: [ - [ - "Data infrastructure", - "Columnar in-memory formats and engines for large data on the JVM.", - ], + areas: { + title: "Areas of work", + items: [ [ "Build and packages", - "Reproducible builds, dependency resolution, lockfiles and a package registry.", - ], - [ - "Developer tools", - "Formatters, linters and agentic development environments.", + "Builds that run each action again only when its inputs change, toolchains, lockfiles and a module registry.", ], [ "Quality and testing", - "Property-based, stateful and mutation testing, coverage and test selection.", + "Testing libraries for C++: property-based, stateful and mutation testing, coverage and test selection.", ], [ - "Identity and access", - "Progmasoft accounts, OAuth 2.1 and OpenID Connect for every application.", + "Development environments", + "An agentic development environment and the integrations of the tools with editors.", ], [ - "Infrastructure", - "Services Progmasoft operates itself: hosting, mail, registries and continuous integration.", - ], - ], - catalog: "Looking for a specific product?", - catalogLink: "Open the product catalog", - }, - principles: { - eyebrow: "How we build", - title: "Engineering that stays legible.", - items: [ - [ - "Explicit contracts", - "Typed boundaries make ownership, compatibility and failure behaviour visible.", + "Data infrastructure", + "Columnar in-memory formats and engines for large data on the JVM.", ], [ - "Real verification", - "Tests exercise installed artifacts, production-shaped paths and observable behaviour.", + "Operating systems", + "A kernel with Darwin's system call ABI, its loader and the system around it.", ], [ - "Durable names", - "Public vocabulary follows the model, not the history of an implementation.", + "Identity and services", + "Progmasoft accounts with OAuth 2.1 and OpenID Connect, Git mirrors, registries and continuous integration.", ], ], }, + releases: { + title: "Recent releases", + all: "All releases", + }, developers: { - eyebrow: "For developers", - title: "Build on Progmasoft.", + title: "For developers", description: - "Sign people in with their Progmasoft account through OAuth 2.1, and manage the tokens of your applications in the Progmasoft Console.", + "Applications sign people in with their Progmasoft account through OAuth 2.1 and OpenID Connect. The Console manages the clients and tokens of your applications.", console: "Open the Console", account: "Progmasoft account", + discovery: "OpenID Connect discovery", + }, + contact: { + title: "Contact", + support: "Questions and support", + security: "Report a vulnerability", }, }, "de-DE": { navigation: { - technology: "Technologie", + technology: "Bereiche", products: "Produkte", developers: "Entwickler", }, hero: { - eyebrow: "Progmasoft", - titleStart: "Technologie, gebaut um", - titleAccent: "zu bleiben und sich zu erklären.", + title: "Entwicklerwerkzeuge und Infrastruktur, offen entwickelt.", description: - "Progmasoft entwirft Build-Systeme, Testwerkzeuge, agentische Entwicklungsumgebungen, Dateninfrastruktur und die Dienste um sie herum. Alles folgt einer Disziplin: explizite Verträge, echte Prüfung und Namen, die sagen, was sie meinen.", - explore: "Technologie entdecken", - products: "Zu den Produkten", - poolLabel: "Bereiche des Progmasoft-Technologiepools", + "Progmasoft entwickelt Build-Systeme, Testbibliotheken, Dateninfrastruktur und ein Betriebssystem und betreibt die Dienste, auf die sie angewiesen sind. Der Quellcode jedes Projekts ist öffentlich.", + catalog: "Produktkatalog", + source: "Quellcode auf GitHub", }, - pool: { - eyebrow: "Technologiepool", - title: "Bereiche, nicht nur Produkte.", - description: - "Produkte entstehen und wachsen; die Technologie darunter bauen wir dauerhaft weiter. Jeder Bereich trägt alles, was Progmasoft macht.", - areas: [ - [ - "Dateninfrastruktur", - "Spaltenorientierte In-Memory-Formate und Engines für große Datenmengen auf der JVM.", - ], + areas: { + title: "Arbeitsbereiche", + items: [ [ "Build und Pakete", - "Reproduzierbare Builds, Abhängigkeitsauflösung, Lockfiles und eine Paketregistrierung.", - ], - [ - "Entwicklerwerkzeuge", - "Formatierer, Linter und agentische Entwicklungsumgebungen.", + "Builds, die eine Aktion nur dann erneut ausführen, wenn sich ihre Eingaben ändern, Toolchains, Lockfiles und eine Modulregistrierung.", ], [ "Qualität und Tests", - "Eigenschaftsbasierte, zustandsbehaftete und Mutationstests, Abdeckung und Testauswahl.", + "Testbibliotheken für C++: eigenschaftsbasierte, zustandsbehaftete und Mutationstests, Abdeckung und Testauswahl.", ], [ - "Identität und Zugriff", - "Progmasoft-Konten, OAuth 2.1 und OpenID Connect für jede Anwendung.", + "Entwicklungsumgebungen", + "Eine agentische Entwicklungsumgebung und die Integration der Werkzeuge in Editoren.", ], [ - "Infrastruktur", - "Dienste, die Progmasoft selbst betreibt: Hosting, Mail, Registrierungen und kontinuierliche Integration.", - ], - ], - catalog: "Suchen Sie ein bestimmtes Produkt?", - catalogLink: "Produktkatalog öffnen", - }, - principles: { - eyebrow: "Wie wir bauen", - title: "Technik, die lesbar bleibt.", - items: [ - [ - "Explizite Verträge", - "Typisierte Grenzen machen Zuständigkeit, Kompatibilität und Fehlerverhalten sichtbar.", + "Dateninfrastruktur", + "Spaltenorientierte In-Memory-Formate und Engines für große Datenmengen auf der JVM.", ], [ - "Echte Prüfung", - "Tests prüfen installierte Artefakte, produktionsnahe Wege und beobachtbares Verhalten.", + "Betriebssysteme", + "Ein Kernel mit Darwins Systemaufruf-ABI, sein Loader und das System um ihn herum.", ], [ - "Beständige Namen", - "Das öffentliche Vokabular folgt dem Modell, nicht der Geschichte einer Implementierung.", + "Identität und Dienste", + "Progmasoft-Konten mit OAuth 2.1 und OpenID Connect, Git-Spiegel, Registrierungen und kontinuierliche Integration.", ], ], }, + releases: { + title: "Neueste Versionen", + all: "Alle Versionen", + }, developers: { - eyebrow: "Für Entwickler", - title: "Mit Progmasoft entwickeln.", + title: "Für Entwickler", description: - "Melden Sie Menschen mit ihrem Progmasoft-Konto über OAuth 2.1 an und verwalten Sie die Tokens Ihrer Anwendungen in der Progmasoft Console.", + "Anwendungen melden Personen über OAuth 2.1 und OpenID Connect mit ihrem Progmasoft-Konto an. In der Console verwalten Sie die Clients und Tokens Ihrer Anwendungen.", console: "Console öffnen", account: "Progmasoft-Konto", + discovery: "OpenID-Connect-Discovery", + }, + contact: { + title: "Kontakt", + support: "Fragen und Support", + security: "Eine Schwachstelle melden", }, }, "ru-RU": { navigation: { - technology: "Технологии", + technology: "Направления", products: "Продукты", developers: "Разработчикам", }, hero: { - eyebrow: "Progmasoft", - titleStart: "Технологии, созданные,", - titleAccent: "чтобы служить долго и быть понятными.", + title: "Инструменты разработчика и инфраструктура, создаваемые открыто.", description: - "Progmasoft создаёт системы сборки, инструменты тестирования, агентные среды разработки, инфраструктуру данных и сервисы вокруг них. Всё подчиняется одной дисциплине: явные контракты, настоящая проверка и имена, которые значат то, что говорят.", - explore: "Изучить технологии", - products: "Перейти к продуктам", - poolLabel: "Направления технологического пула Progmasoft", + "Progmasoft разрабатывает системы сборки, библиотеки тестирования, инфраструктуру данных и операционную систему, а также поддерживает сервисы, на которые они опираются. Исходный код каждого проекта открыт.", + catalog: "Каталог продуктов", + source: "Исходный код на GitHub", }, - pool: { - eyebrow: "Технологический пул", - title: "Направления, а не только продукты.", - description: - "Продукты появляются и растут; технологии под ними мы развиваем постоянно. Каждое направление служит всему, что делает Progmasoft.", - areas: [ - [ - "Инфраструктура данных", - "Колоночные форматы данных в памяти и движки для больших данных на JVM.", - ], + areas: { + title: "Направления работы", + items: [ [ "Сборка и пакеты", - "Воспроизводимые сборки, разрешение зависимостей, lock-файлы и реестр пакетов.", - ], - [ - "Инструменты разработчика", - "Форматировщики, линтеры и агентные среды разработки.", + "Сборка, повторяющая действие только при изменении его входных данных, наборы инструментов, lock-файлы и реестр модулей.", ], [ "Качество и тестирование", - "Тестирование на основе свойств, с состоянием и мутационное, покрытие и выбор тестов.", + "Библиотеки тестирования для C++: тестирование на основе свойств, с состоянием и мутационное, покрытие и выбор тестов.", ], [ - "Идентификация и доступ", - "Аккаунты Progmasoft, OAuth 2.1 и OpenID Connect для любого приложения.", + "Среды разработки", + "Агентная среда разработки и интеграция инструментов с редакторами.", ], [ - "Инфраструктура", - "Сервисы, которыми Progmasoft управляет сам: хостинг, почта, реестры и непрерывная интеграция.", - ], - ], - catalog: "Ищете конкретный продукт?", - catalogLink: "Открыть каталог продуктов", - }, - principles: { - eyebrow: "Как мы работаем", - title: "Инженерия, которая остаётся понятной.", - items: [ - [ - "Явные контракты", - "Типизированные границы делают видимыми ответственность, совместимость и поведение при ошибках.", + "Инфраструктура данных", + "Колоночные форматы данных в памяти и движки для больших данных на JVM.", ], [ - "Настоящая проверка", - "Тесты проверяют установленные артефакты, пути как в продакшене и наблюдаемое поведение.", + "Операционные системы", + "Ядро с ABI системных вызовов Darwin, его загрузчик и система вокруг него.", ], [ - "Устойчивые имена", - "Публичный словарь следует модели, а не истории реализации.", + "Идентификация и сервисы", + "Аккаунты Progmasoft с OAuth 2.1 и OpenID Connect, зеркала Git, реестры и непрерывная интеграция.", ], ], }, + releases: { + title: "Последние выпуски", + all: "Все выпуски", + }, developers: { - eyebrow: "Разработчикам", - title: "Разрабатывайте на Progmasoft.", + title: "Разработчикам", description: - "Позвольте людям входить с аккаунтом Progmasoft через OAuth 2.1 и управляйте токенами своих приложений в Progmasoft Console.", + "Приложения выполняют вход пользователей с аккаунтом Progmasoft через OAuth 2.1 и OpenID Connect. В Console вы управляете клиентами и токенами своих приложений.", console: "Открыть Console", account: "Аккаунт Progmasoft", + discovery: "Обнаружение OpenID Connect", + }, + contact: { + title: "Контакты", + support: "Вопросы и поддержка", + security: "Сообщить об уязвимости", }, }, "fr-FR": { navigation: { - technology: "Technologie", + technology: "Domaines", products: "Produits", developers: "Développeurs", }, hero: { - eyebrow: "Progmasoft", - titleStart: "Une technologie faite pour", - titleAccent: "durer et s’expliquer d’elle-même.", + title: "Outils pour développeurs et infrastructure, développés en public.", description: - "Progmasoft conçoit des systèmes de build, des outils de test, des environnements de développement agentiques, une infrastructure de données et les services qui les entourent. Tout partage une même discipline : des contrats explicites, une vérification réelle et des noms qui disent ce qu’ils désignent.", - explore: "Découvrir la technologie", - products: "Voir les produits", - poolLabel: "Domaines du socle technologique de Progmasoft", + "Progmasoft développe des systèmes de build, des bibliothèques de test, une infrastructure de données et un système d'exploitation, et opère les services dont ils dépendent. Le code source de chaque projet est public.", + catalog: "Catalogue des produits", + source: "Code source sur GitHub", }, - pool: { - eyebrow: "Socle technologique", - title: "Des domaines, pas seulement des produits.", - description: - "Les produits naissent et grandissent ; la technologie qui les porte est ce que nous continuons de construire. Chaque domaine est partagé par tout ce que fait Progmasoft.", - areas: [ - [ - "Infrastructure de données", - "Formats et moteurs en colonnes, en mémoire, pour de grands volumes de données sur la JVM.", - ], + areas: { + title: "Domaines de travail", + items: [ [ "Build et paquets", - "Builds reproductibles, résolution des dépendances, fichiers de verrouillage et un registre de paquets.", - ], - [ - "Outils pour développeurs", - "Formateurs, linters et environnements de développement agentiques.", + "Des builds qui ne relancent une action que lorsque ses entrées changent, des chaînes d'outils, des fichiers de verrouillage et un registre de modules.", ], [ "Qualité et tests", - "Tests fondés sur les propriétés, tests à état et tests de mutation, couverture et sélection des tests.", + "Des bibliothèques de test pour C++ : tests fondés sur les propriétés, tests à état et tests de mutation, couverture et sélection des tests.", ], [ - "Identité et accès", - "Comptes Progmasoft, OAuth 2.1 et OpenID Connect pour chaque application.", + "Environnements de développement", + "Un environnement de développement agentique et l'intégration des outils dans les éditeurs.", ], [ - "Infrastructure", - "Des services que Progmasoft exploite lui-même : hébergement, messagerie, registres et intégration continue.", - ], - ], - catalog: "Vous cherchez un produit précis ?", - catalogLink: "Ouvrir le catalogue des produits", - }, - principles: { - eyebrow: "Notre façon de construire", - title: "Une ingénierie qui reste lisible.", - items: [ - [ - "Des contrats explicites", - "Des frontières typées rendent visibles la propriété, la compatibilité et le comportement en cas d’échec.", + "Infrastructure de données", + "Formats et moteurs en colonnes, en mémoire, pour de grands volumes de données sur la JVM.", ], [ - "Une vérification réelle", - "Les tests éprouvent les artefacts installés, des chemins semblables à la production et le comportement observable.", + "Systèmes d'exploitation", + "Un noyau avec l'ABI des appels système de Darwin, son chargeur et le système qui l'entoure.", ], [ - "Des noms durables", - "Le vocabulaire public suit le modèle, et non l’histoire d’une implémentation.", + "Identité et services", + "Comptes Progmasoft avec OAuth 2.1 et OpenID Connect, miroirs Git, registres et intégration continue.", ], ], }, + releases: { + title: "Versions récentes", + all: "Toutes les versions", + }, developers: { - eyebrow: "Pour les développeurs", - title: "Construisez sur Progmasoft.", + title: "Pour les développeurs", description: - "Connectez les utilisateurs avec leur compte Progmasoft grâce à OAuth 2.1, et gérez les jetons de vos applications dans la Console Progmasoft.", + "Les applications connectent les personnes avec leur compte Progmasoft via OAuth 2.1 et OpenID Connect. La Console gère les clients et les jetons de vos applications.", console: "Ouvrir la Console", account: "Compte Progmasoft", + discovery: "Découverte OpenID Connect", + }, + contact: { + title: "Contact", + support: "Questions et assistance", + security: "Signaler une vulnérabilité", }, }, }; diff --git a/apps/web/lib/localization.ts b/apps/web/lib/localization.ts index 284afc0..e09e4ca 100644 --- a/apps/web/lib/localization.ts +++ b/apps/web/lib/localization.ts @@ -168,14 +168,11 @@ export const messages = { pageTitle: "Page not found", }, footer: { - summary: - "Developer tools and data infrastructure built with durable contracts.", products: "Products", openSource: "Open source", organization: "Organization", support: "Support", websiteSource: "Website source", - closing: "Designed for clarity, security, and long-term maintenance.", }, account: { securityLabel: "Account security properties", @@ -338,15 +335,11 @@ export const messages = { pageTitle: "Seite nicht gefunden", }, footer: { - summary: - "Entwicklerwerkzeuge und Dateninfrastruktur auf der Grundlage beständiger Verträge.", products: "Produkte", openSource: "Open Source", organization: "Organisation", support: "Support", websiteSource: "Quellcode der Website", - closing: - "Entwickelt für Klarheit, Sicherheit und langfristige Wartbarkeit.", }, account: { securityLabel: "Sicherheitsmerkmale des Kontos", @@ -512,15 +505,11 @@ export const messages = { pageTitle: "Страница не найдена", }, footer: { - summary: - "Инструменты разработчика и инфраструктура данных, построенные на надёжных контрактах.", products: "Продукты", openSource: "Открытый исходный код", organization: "Организация", support: "Поддержка", websiteSource: "Исходный код сайта", - closing: - "Создано ради ясности, безопасности и долгосрочного сопровождения.", }, account: { securityLabel: "Свойства безопасности аккаунта", @@ -686,15 +675,11 @@ export const messages = { pageTitle: "Page introuvable", }, footer: { - summary: - "Des outils pour développeurs et une infrastructure de données bâtis sur des contrats durables.", products: "Produits", openSource: "Open source", organization: "Organisation", support: "Assistance", websiteSource: "Source du site", - closing: - "Conçu pour la clarté, la sécurité et la maintenance à long terme.", }, account: { securityLabel: "Propriétés de sécurité du compte", diff --git a/apps/web/tests/localization.test.mjs b/apps/web/tests/localization.test.mjs index 740e259..b0ea8c5 100644 --- a/apps/web/tests/localization.test.mjs +++ b/apps/web/tests/localization.test.mjs @@ -162,7 +162,7 @@ test("the Russian messages are written in Cyrillic", () => { const russian = messages["ru-RU"]; for (const text of [ russian.navigation.language, - homeMessages["ru-RU"].hero.titleStart, + homeMessages["ru-RU"].hero.title, russian.auth.signIn, russian.dashboard.welcome, ]) { diff --git a/apps/web/tests/sites.test.mjs b/apps/web/tests/sites.test.mjs index 7ac366d..f7f0957 100644 --- a/apps/web/tests/sites.test.mjs +++ b/apps/web/tests/sites.test.mjs @@ -65,7 +65,7 @@ test("the catalog lists the projects, each with its repository", () => { test("the home page names areas, not products", () => { const productNames = Object.values(products).map((product) => product.name); for (const locale of supportedLocales) { - for (const [title, description] of homeMessages[locale].pool.areas) { + for (const [title, description] of homeMessages[locale].areas.items) { for (const name of productNames) { assert.ok(!title.includes(name), `${locale}: ${title}`); assert.ok(!description.includes(name), `${locale}: ${description}`);