diff --git a/docs/rebuild/design/design-system.md b/docs/rebuild/design/design-system.md index b198cace..737aff74 100644 --- a/docs/rebuild/design/design-system.md +++ b/docs/rebuild/design/design-system.md @@ -593,7 +593,7 @@ Repo key: | `IntegrationFilters` | P | **New** | — | `/integrations` only: a `role="search"` GET form of native controls (search, category, TablePro app, type). Results update as you type once the page has hydrated | | `IntegrationList` | P | **New** | — | Integrations as ruled rows, rail to rail: mark, name, publisher, type, tagline. Not a card grid | | `DatabaseMark` | P | **Refactor** | `ui/database-mark.tsx` | Original colours, no `grayscale` / `opacity-40` / `invert`. Uses `iconDark` from data or a light tile | -| `SponsorList` | P | **Refactor** | `sponsors/sponsor-grid.tsx` | The homepage-placed sponsors from `sponsors.json`, then one invite cell. Each link named | +| `SponsorLink` | P | **Built** | `sponsors/sponsor-link.tsx` | One sponsor's logo, sized by area, linking to its site; the homepage band and `/sponsors` share it. Each link named | | `ProseArticle` | P | **Refactor** | `.blog-article` CSS, `ui/prose-block.tsx` | Blog and legal. Body in `--foreground`. Permalink glyph kept out of the heading's accessible name | | `TableOfContents` | P | **New** (optional) | — | Legal and long guides: sticky at ≥ 1280, a `Disclosure` below that | | `AccountBar`, `AccountNav` | A | **Refactor** | A `dashboard/account-bar.tsx`, `nav-rail.tsx` | Adds language and theme. Rail bar uses `--accent-indicator` | @@ -987,13 +987,13 @@ One shared file, `components/shared/theme-control.tsx` (architecture §1.10 and - Always next to the visible name; the mark is `alt=""`. - Integration icons follow the same rules, as PNG only: no third-party SVG is served from the site's origin. -**SponsorList:** +**SponsorLink:** -- Section 3 on the homepage, and the `#companies` section of `/sponsors`. -- An H2 in the `h3` style, then one cell per sponsor with the logo 28px tall. A `lead` sponsor spans two cells with a 44px logo. -- Each link is named (visible name in `caption` under the logo, or `aria-label`) with `rel="sponsored noopener"`. -- On the homepage, an invite cell after the last logo ("Your logo here", "7 of 12 open") and the heading link both go to `/sponsors`; the cell is hidden when no place is open. Only `/sponsors` links to GitHub Sponsors. -- Logos follow the DatabaseMark rules in dark mode. +- Section 3 on the homepage, and the `#lead` and `#homepage` bands of `/sponsors`. +- Sized by area, so a long wordmark and a square mark carry the same weight: 4200px² (lead 9000) up to 34px tall (lead 48). `/sponsors` draws them 1.5 times as large from 640px. +- No cell, border or tile. A square mark shows the sponsor's name beside it; a wordmark names the link for screen readers only. `rel="sponsored noopener"`. +- In dark mode, the sponsor's own dark file; a mark without one keeps its colours, a wordmark without one gives way to the name in text. Never a filter or recolouring. +- On the homepage, "Your logo here" with the open places goes to `/sponsors`. Only `/sponsors` links to GitHub Sponsors. #### 5.3.19 ProseArticle and TableOfContents @@ -1825,6 +1825,22 @@ Hero statement H1 · one sentence naming the TablePro team; no actions - No person, photo, city or investor. Every principle states a fact the app or the repository shows. - `#maker`, `#funding` and `#source` land on `#facts`; `#policies` and `#brand` on `#contact`. +### 8.26 Sponsors (`/sponsors`, every locale) + +Rebuilt 2026-11-08 like eslint.org/sponsors: about 200 words. + +``` +Hero H1 · one sentence (licenses and sponsors pay, no investors) · Sponsor on GitHub ↗ · "7 of 12 homepage places are open" +#lead cols 1–3: tier name, "$250 a month", "or $2,500 once" cols 4–12: what it gets, then the sponsor, or "Open." first +#homepage the same, the open places under the sentence, the logos (SponsorLink at 1.5x) in a wrapping row +#name the same, the names as links +#fine-print cols 1–3: Fine print cols 4–12 at 42rem: term rows (paying once, when it ends, private sponsors, your logo) +#sponsor closing band: one sentence with the email, Sponsor on GitHub ↗ +``` + +- Tiers come from `sponsors.json`, dearest first. No amount per sponsor, no total and no goal. +- `#tiers` lands on `#lead`, `#companies` on `#homepage`, `#individuals` on `#name`. + --- ## 9. Sharing between the two repositories diff --git a/docs/rebuild/design/sitemap.md b/docs/rebuild/design/sitemap.md index 90157020..ee4004bb 100644 --- a/docs/rebuild/design/sitemap.md +++ b/docs/rebuild/design/sitemap.md @@ -83,6 +83,7 @@ Column notes: | `/teams` | `/{locale}/teams` | Commerce | "TablePro for teams", "share database connections with a team"; buyers for a company, from /pricing and the footer | "TablePro for teams" | Rebuilt 2026-11-08, short like zed.dev/business, about 320 words (design-system §8.24): 1) Hero (`#top`): H1, one sentence, See Team pricing (to `#price`) and How Team works ↗ (docs `/features/team`), then the Team Library as a whole Mac window 2) What Team includes (`#includes`, old `#share`): Every seat gets (Pro with examples from paid-features, the device limit) beside Team adds (Team Library, Team Catalog, Priority support) 3) Price (`#price`): the Team card without its Includes list, monthly or yearly, seat stepper, Get Team 4) Seats and members (`#seats`), Buying for a company (`#buying`), Your team's data (`#data`): term rows, one sentence each 5) Enterprise (`#enterprise`): one sentence and Contact us. No ticks, no grey panels, no unbuilt features | pricing (team tier, device limit, merchant, refund days), facts (`account.teamInviteDays`), paid-features (Pro examples) | features-sync-and-teams-team | /pricing#features, /features/sync-and-teams#team, /security, /privacy, docs `/features/team` ↗ | yes (all locales) | | `/faq` | `/{locale}/faq` | Support | Pre-purchase and support questions: "is TablePro free", "Windows", "Linux", "where are my passwords" | "Frequently asked questions" | Rebuilt 2026-11-08 on the feature-page grid, 22 questions and about 950 words, each answer two sentences and one link at most, all open: 1) Topic row (scrolls sideways on a phone) 2) Hero (`#top`): H1 and one sentence, no actions 3) One band per topic: Product (`#product`, old `#general`) · Pricing (`#pricing`, old `#licensing`, `#account`: exactly four questions, then one line to /pricing#faq carrying the ids of the billing, seat and license-key questions that live only there) · Platforms (`#platforms`) · Databases (`#databases`, old `#switching`) · Privacy (`#privacy`: one sentence each, linking /security) · Support (`#support`) 4) Contact (`#contact`): email, GitHub issues and live chat. Every old question id lands (`FaqTest`). No prices, currencies or version numbers typed | faq copy plus platforms, engines, paid features, pricing (Priority support's business days), facts (import apps, local AI providers) | none | /pricing, /pricing#faq, /download, /ios, /security, /databases, /compare, /account?locale= | yes (all locales) | | `/about` | `/{locale}/about` | Trust | "who makes TablePro", "TablePro developer"; readers checking who is behind the app before they buy or connect it to production | "A database client, built in the open." | Rebuilt 2026-11-08 on the feature-page grid, about 150 words (design-system §8.25): 1) Hero (`#top`): the statement H1 and one sentence naming the TablePro team (no person or city), the platforms and who pays; no actions, no image 2) Principles (`#principles`): Native, Open, Private, Independent, one word and one sentence each, no icons 3) Facts (`#facts`, old `#maker`, `#funding`, `#source`): term rows for Made by, Repository created, Source code, License, Funded by 4) Contact (`#contact`, old `#policies`, `#brand`): one sentence with the email and GitHub, live chat. Policies and Brand are in the footer | facts (links, repository date) | none | /pricing, /sponsors, GitHub, the license text | yes (all locales) | +| `/sponsors` | `/{locale}/sponsors` | Trust | "sponsor TablePro", "TablePro sponsors"; companies weighing a placement, readers checking who funds the app | "Sponsors" | Rebuilt 2026-11-08 on the feature-page grid, about 200 words (design-system §8.26): 1) Hero (`#top`): H1, one sentence (licenses and sponsors pay, no investors), Sponsor on GitHub ↗ and the open homepage places 2) One band per tier, dearest first (`#lead` with old `#tiers`, `#homepage` with old `#companies`, `#name` with old `#individuals`): the tier name and its monthly and one-time prices on the left, what it gets and that tier's sponsors on the right; logos sized by area at 1.5 times the homepage size from 640px; an empty tier says "Open." 3) Fine print (`#fine-print`): term rows for paying once, when a sponsorship ends, private sponsors, the logo file 4) Closing (`#sponsor`): one sentence with the email, Sponsor on GitHub ↗. No amount per sponsor, total or goal | sponsors.json (tiers, places, sponsors), facts (sponsors program, email) | none (sponsor logos are identity) | GitHub Sponsors, each sponsor's site | yes (all locales) | | `/security` | `/{locale}/security` | Trust | "is TablePro safe", "where does TablePro store passwords", "TablePro telemetry", "report a vulnerability"; security reviewers before production use | "Security" | Rebuilt 2026-11-08 on the feature-page grid, about 900 words, each band's heading stating its fact, at most two limits per band: 1) Topic row 2) Hero (`#top`): H1 and one sentence, no actions 3) Credentials (`#credentials`): Keychain, Secret Service on Linux, iCloud Sync 4) What leaves your device (`#network`): one table, destination · what is sent · when · how to turn it off 5) AI & MCP (`#ai-mcp`, old `#mcp`): a table of request paths 6) Updates & signing (`#updates`, old `#distribution`): Mac signing and Sparkle, Linux packages and attestations, plugins, the App Store 7) Safe Mode (`#safe-mode`) 8) Open source (`#open-source`) 9) Report a vulnerability (`#report`, linked by the privacy policy in every locale): `security@` or a private GitHub advisory, the reply time from data, no bug bounty. No badges, diagram or certification claims; no version numbers | security copy plus facts (Safe Mode levels, MCP host, local AI providers, `support.securityEmail`), pricing (business days) | none | /privacy#apps, /features/connections, /features/ai-mcp, /features/data-editing, /download#updates, docs, security.txt | yes (all locales) | ### A.2 Features diff --git a/resources/data/content/de/sponsors.json b/resources/data/content/de/sponsors.json index 3f33c3cd..7928a09f 100644 --- a/resources/data/content/de/sponsors.json +++ b/resources/data/content/de/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Sponsoren", "header": { "title": "Sponsoren", - "lead": "TablePro ist Open Source. Sponsoren bezahlen die Zeit, die in Entwicklung und Pflege fließt.", + "lead": "Lizenzen und die Sponsoren auf dieser Seite finanzieren TablePro, das keine Investoren hat.", "action": "Auf GitHub sponsern" }, - "companies": { - "title": "Unternehmen", + "places": { "open": { - "one": "{count} von {total} Logoplätzen auf der Startseite ist frei.", - "other": "{count} von {total} Logoplätzen auf der Startseite sind frei." + "one": "{count} von {total} Logoplätzen auf der Startseite ist frei", + "other": "{count} von {total} Logoplätzen auf der Startseite sind frei" }, - "full": "Auf der Startseite ist keiner der {total} Logoplätze mehr frei." - }, - "people": { - "title": "Einzelpersonen" + "full": "Auf der Startseite ist keiner der {total} Logoplätze mehr frei" }, "tiers": { - "title": "Stufen", - "lead": { - "one": "Sponsere monatlich oder einmalig für {count} Monat mit derselben Platzierung.", - "other": "Sponsere monatlich oder einmalig für {count} Monate mit derselben Platzierung." - }, - "caption": "Sponsoring-Stufen mit monatlichem Preis, einmaligem Preis und dem, was jede Stufe umfasst", - "columns": { - "monthly": "Monatlich", - "oneTime": "Einmalig", - "benefit": "Das bekommst du" - }, - "oneTimePrice": "{price} einmalig", - "benefit": { - "name": "Dein Name mit Link auf dieser Seite und in der README von TablePro.", - "homepage": "Dein Logo mit Link auf der Startseite, auf dieser Seite und in der README von TablePro. Die Startseite bietet Platz für {total}.", - "lead": "Dein Logo zuerst und größer auf der Startseite, auf dieser Seite und in der README." - }, - "link": "TablePro auf GitHub sponsern" + "monthly": "{price} pro Monat", + "oneTime": "oder {price} einmalig", + "open": "Frei. {benefit}", + "items": { + "lead": { + "title": "Hauptsponsor", + "benefit": "Dein Logo zuerst und am größten auf der Startseite, auf dieser Seite und in der README von TablePro." + }, + "homepage": { + "title": "Logo", + "benefit": "Dein Logo mit Link auf der Startseite, auf dieser Seite und in der README von TablePro." + }, + "name": { + "title": "Name", + "benefit": "Dein Name mit Link auf dieser Seite und in der README von TablePro." + } + } + }, + "finePrint": { + "title": "Kleingedrucktes", + "rows": [ + { "term": "Einmal zahlen", "text": "Zahle einmalig das {multiplier}-Fache des Monatspreises, um denselben Platz {months} Monate lang zu behalten, sofern einer frei ist." }, + { "term": "Wenn es endet", "text": "Beim nächsten Abgleich mit GitHub Sponsors werden Logo oder Name entfernt." }, + { "term": "Private Sponsoren", "text": "Ein Sponsoring, das du auf GitHub privat stellst, wird hier und in der README nie genannt." }, + { "term": "Dein Logo", "text": "Deine eigene Datei, nie umgefärbt. Schick auch eine Version für den dunklen Modus mit." } + ] + }, + "closing": { + "title": "TablePro unterstützen", + "sentence": "Wähle eine Stufe auf GitHub Sponsors oder schreib an {email}, wenn dein Unternehmen vorher eine Frage hat." } } diff --git a/resources/data/content/en/sponsors.json b/resources/data/content/en/sponsors.json index 0cf28a77..25c59181 100644 --- a/resources/data/content/en/sponsors.json +++ b/resources/data/content/en/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Sponsors", "header": { "title": "Sponsors", - "lead": "TablePro is open source. Sponsors pay for the time that goes into building and maintaining it.", + "lead": "Licenses and the sponsors on this page pay for TablePro, which has no investors.", "action": "Sponsor on GitHub" }, - "companies": { - "title": "Companies", + "places": { "open": { - "one": "{count} of the {total} places on the homepage is open.", - "other": "{count} of the {total} places on the homepage are open." + "one": "{count} of {total} homepage places is open", + "other": "{count} of {total} homepage places are open" }, - "full": "All {total} places on the homepage are taken." - }, - "people": { - "title": "Individuals" + "full": "All {total} homepage places are taken" }, "tiers": { - "title": "Tiers", - "lead": { - "one": "Sponsor monthly, or once for {count} month of the same placement.", - "other": "Sponsor monthly, or once for {count} months of the same placement." - }, - "caption": "Sponsorship tiers with the monthly price, the one-time price and what each includes", - "columns": { - "monthly": "Monthly", - "oneTime": "One time", - "benefit": "What you get" - }, - "oneTimePrice": "{price} one time", - "benefit": { - "name": "Your name and link on this page and in the TablePro README.", - "homepage": "Your logo and link on the homepage, this page and the TablePro README. The homepage has room for {total}.", - "lead": "Your logo first and larger on the homepage, this page and the README." - }, - "link": "Sponsor TablePro on GitHub" + "monthly": "{price} a month", + "oneTime": "or {price} once", + "open": "Open. {benefit}", + "items": { + "lead": { + "title": "Lead", + "benefit": "Your logo first and largest on the homepage, on this page and in the TablePro README." + }, + "homepage": { + "title": "Logo", + "benefit": "Your logo and a link on the homepage, on this page and in the TablePro README." + }, + "name": { + "title": "Name", + "benefit": "Your name and a link on this page and in the TablePro README." + } + } + }, + "finePrint": { + "title": "Fine print", + "rows": [ + { "term": "Paying once", "text": "Pay {multiplier} times the monthly price once to keep the same place for {months} months, if one is open." }, + { "term": "When it ends", "text": "The logo or name comes off at the next check against GitHub Sponsors." }, + { "term": "Private sponsors", "text": "A sponsorship you make private on GitHub is never named here or in the README." }, + { "term": "Your logo", "text": "Your own file, never recolored. Send a version for dark mode as well." } + ] + }, + "closing": { + "title": "Sponsor TablePro", + "sentence": "Pick a tier on GitHub Sponsors, or write to {email} if your company has a question first." } } diff --git a/resources/data/content/es/sponsors.json b/resources/data/content/es/sponsors.json index cf24d47d..c7afd8e6 100644 --- a/resources/data/content/es/sponsors.json +++ b/resources/data/content/es/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Patrocinadores", "header": { "title": "Patrocinadores", - "lead": "TablePro es de código abierto. Los patrocinadores pagan el tiempo que se dedica a desarrollarlo y mantenerlo.", + "lead": "Las licencias y los patrocinadores de esta página financian TablePro, que no tiene inversores.", "action": "Patrocinar en GitHub" }, - "companies": { - "title": "Empresas", + "places": { "open": { - "one": "Queda {count} de {total} espacios en la página de inicio.", - "other": "Quedan {count} de {total} espacios en la página de inicio." + "one": "Queda {count} de {total} espacios en la página de inicio", + "other": "Quedan {count} de {total} espacios en la página de inicio" }, - "full": "Los {total} espacios de la página de inicio están ocupados." - }, - "people": { - "title": "Personas" + "full": "Los {total} espacios de la página de inicio están ocupados" }, "tiers": { - "title": "Niveles", - "lead": { - "one": "Patrocina cada mes, o una sola vez por {count} mes con la misma ubicación.", - "other": "Patrocina cada mes, o una sola vez por {count} meses con la misma ubicación." - }, - "caption": "Niveles de patrocinio con el precio mensual, el precio único y lo que incluye cada uno", - "columns": { - "monthly": "Mensual", - "oneTime": "Una vez", - "benefit": "Qué incluye" - }, - "oneTimePrice": "{price} una vez", - "benefit": { - "name": "Tu nombre y un enlace en esta página y en el README de TablePro.", - "homepage": "Tu logo y un enlace en la página de inicio, en esta página y en el README de TablePro. La página de inicio tiene {total} espacios.", - "lead": "Tu logo primero y más grande en la página de inicio, en esta página y en el README." - }, - "link": "Patrocinar TablePro en GitHub" + "monthly": "{price} al mes", + "oneTime": "o {price} una vez", + "open": "Libre. {benefit}", + "items": { + "lead": { + "title": "Principal", + "benefit": "Tu logo, el primero y el más grande, en la página de inicio, en esta página y en el README de TablePro." + }, + "homepage": { + "title": "Logo", + "benefit": "Tu logo y un enlace en la página de inicio, en esta página y en el README de TablePro." + }, + "name": { + "title": "Nombre", + "benefit": "Tu nombre y un enlace en esta página y en el README de TablePro." + } + } + }, + "finePrint": { + "title": "Letra pequeña", + "rows": [ + { "term": "Pago único", "text": "Paga una vez {multiplier} veces el precio mensual para mantener el mismo espacio durante {months} meses, si queda uno libre." }, + { "term": "Cuando termina", "text": "El logo o el nombre se retira en la siguiente comprobación con GitHub Sponsors." }, + { "term": "Patrocinadores privados", "text": "Un patrocinio que marques como privado en GitHub nunca se nombra aquí ni en el README." }, + { "term": "Tu logo", "text": "Tu propio archivo, sin cambiarle los colores. Envía también una versión para el modo oscuro." } + ] + }, + "closing": { + "title": "Patrocinar TablePro", + "sentence": "Elige un nivel en GitHub Sponsors, o escribe a {email} si tu empresa tiene alguna pregunta antes." } } diff --git a/resources/data/content/fr/sponsors.json b/resources/data/content/fr/sponsors.json index c6145adb..f722cf47 100644 --- a/resources/data/content/fr/sponsors.json +++ b/resources/data/content/fr/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Sponsors", "header": { "title": "Sponsors", - "lead": "TablePro est open source. Les sponsors financent le temps consacré à son développement et à sa maintenance.", + "lead": "Les licences et les sponsors de cette page financent TablePro, qui n’a aucun investisseur.", "action": "Sponsoriser sur GitHub" }, - "companies": { - "title": "Entreprises", + "places": { "open": { - "one": "{count} place sur {total} est libre sur la page d’accueil.", - "other": "{count} places sur {total} sont libres sur la page d’accueil." + "one": "{count} place sur {total} est libre sur la page d’accueil", + "other": "{count} places sur {total} sont libres sur la page d’accueil" }, - "full": "Les {total} places de la page d’accueil sont prises." - }, - "people": { - "title": "Particuliers" + "full": "Les {total} places de la page d’accueil sont prises" }, "tiers": { - "title": "Niveaux", - "lead": { - "one": "Sponsorisez chaque mois, ou une seule fois pour {count} mois au même emplacement.", - "other": "Sponsorisez chaque mois, ou une seule fois pour {count} mois au même emplacement." - }, - "caption": "Niveaux de parrainage avec le prix mensuel, le prix unique et ce que comprend chacun", - "columns": { - "monthly": "Mensuel", - "oneTime": "Une fois", - "benefit": "Ce que vous obtenez" - }, - "oneTimePrice": "{price} une fois", - "benefit": { - "name": "Votre nom et un lien sur cette page et dans le README de TablePro.", - "homepage": "Votre logo et un lien sur la page d’accueil, sur cette page et dans le README de TablePro. La page d’accueil compte {total} places.", - "lead": "Votre logo en premier et en plus grand sur la page d’accueil, cette page et le README." - }, - "link": "Sponsoriser TablePro sur GitHub" + "monthly": "{price} par mois", + "oneTime": "ou {price} en une fois", + "open": "Libre. {benefit}", + "items": { + "lead": { + "title": "Sponsor principal", + "benefit": "Votre logo en premier et en plus grand sur la page d’accueil, sur cette page et dans le README de TablePro." + }, + "homepage": { + "title": "Logo", + "benefit": "Votre logo et un lien sur la page d’accueil, sur cette page et dans le README de TablePro." + }, + "name": { + "title": "Nom", + "benefit": "Votre nom et un lien sur cette page et dans le README de TablePro." + } + } + }, + "finePrint": { + "title": "Conditions", + "rows": [ + { "term": "Paiement unique", "text": "Payez une fois {multiplier} fois le prix mensuel pour garder la même place pendant {months} mois, s’il en reste une de libre." }, + { "term": "À la fin", "text": "Le logo ou le nom est retiré lors de la vérification suivante auprès de GitHub Sponsors." }, + { "term": "Sponsors privés", "text": "Un parrainage que vous rendez privé sur GitHub n’est jamais nommé ici ni dans le README." }, + { "term": "Votre logo", "text": "Votre propre fichier, jamais recoloré. Envoyez aussi une version pour le mode sombre." } + ] + }, + "closing": { + "title": "Soutenir TablePro", + "sentence": "Choisissez un niveau sur GitHub Sponsors, ou écrivez à {email} si votre entreprise a d’abord une question." } } diff --git a/resources/data/content/id/sponsors.json b/resources/data/content/id/sponsors.json index 8138fa48..7280a451 100644 --- a/resources/data/content/id/sponsors.json +++ b/resources/data/content/id/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Sponsor", "header": { "title": "Sponsor", - "lead": "TablePro adalah open source. Sponsor membayar waktu yang dicurahkan untuk mengembangkan dan merawatnya.", + "lead": "Lisensi dan sponsor di halaman ini mendanai TablePro, yang tidak memiliki investor.", "action": "Sponsori di GitHub" }, - "companies": { - "title": "Perusahaan", + "places": { "open": { - "one": "{count} dari {total} tempat di beranda masih tersedia.", - "other": "{count} dari {total} tempat di beranda masih tersedia." + "one": "{count} dari {total} tempat di beranda masih tersedia", + "other": "{count} dari {total} tempat di beranda masih tersedia" }, - "full": "Semua {total} tempat di beranda sudah terisi." - }, - "people": { - "title": "Perorangan" + "full": "Semua {total} tempat di beranda sudah terisi" }, "tiers": { - "title": "Tingkatan", - "lead": { - "one": "Sponsori setiap bulan, atau sekali untuk {count} bulan dengan penempatan yang sama.", - "other": "Sponsori setiap bulan, atau sekali untuk {count} bulan dengan penempatan yang sama." - }, - "caption": "Tingkatan sponsor dengan harga bulanan, harga sekali bayar, dan isi setiap tingkatan", - "columns": { - "monthly": "Bulanan", - "oneTime": "Sekali", - "benefit": "Yang Anda dapatkan" - }, - "oneTimePrice": "{price} sekali", - "benefit": { - "name": "Nama dan tautan Anda di halaman ini dan di README TablePro.", - "homepage": "Logo dan tautan Anda di beranda, halaman ini, dan README TablePro. Beranda memuat {total} tempat.", - "lead": "Logo Anda paling depan dan lebih besar di beranda, halaman ini, dan README." - }, - "link": "Sponsori TablePro di GitHub" + "monthly": "{price} per bulan", + "oneTime": "atau {price} sekali bayar", + "open": "Tersedia. {benefit}", + "items": { + "lead": { + "title": "Sponsor utama", + "benefit": "Logo Anda paling depan dan paling besar di beranda, halaman ini, dan README TablePro." + }, + "homepage": { + "title": "Logo", + "benefit": "Logo dan tautan Anda di beranda, halaman ini, dan README TablePro." + }, + "name": { + "title": "Nama", + "benefit": "Nama dan tautan Anda di halaman ini dan di README TablePro." + } + } + }, + "finePrint": { + "title": "Ketentuan", + "rows": [ + { "term": "Bayar sekali", "text": "Bayar sekali sebesar {multiplier} kali harga bulanan untuk mempertahankan tempat yang sama selama {months} bulan, jika masih ada yang tersedia." }, + { "term": "Saat berakhir", "text": "Logo atau nama dihapus pada pengecekan berikutnya dengan GitHub Sponsors." }, + { "term": "Sponsor privat", "text": "Sponsor yang Anda jadikan privat di GitHub tidak pernah disebutkan di sini atau di README." }, + { "term": "Logo Anda", "text": "File Anda sendiri, warnanya tidak pernah diubah. Kirim juga versi untuk mode gelap." } + ] + }, + "closing": { + "title": "Sponsori TablePro", + "sentence": "Pilih tingkatan di GitHub Sponsors, atau kirim email ke {email} jika perusahaan Anda ingin bertanya lebih dulu." } } diff --git a/resources/data/content/it/sponsors.json b/resources/data/content/it/sponsors.json index 9db9d611..d768e50e 100644 --- a/resources/data/content/it/sponsors.json +++ b/resources/data/content/it/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Sponsor", "header": { "title": "Sponsor", - "lead": "TablePro è open source. Gli sponsor pagano il tempo dedicato a svilupparlo e mantenerlo.", + "lead": "Le licenze e gli sponsor di questa pagina finanziano TablePro, che non ha investitori.", "action": "Sponsorizza su GitHub" }, - "companies": { - "title": "Aziende", + "places": { "open": { - "one": "{count} posto su {total} è libero nella home page.", - "other": "{count} posti su {total} sono liberi nella home page." + "one": "{count} posto su {total} è libero nella home page", + "other": "{count} posti su {total} sono liberi nella home page" }, - "full": "Tutti i {total} posti nella home page sono occupati." - }, - "people": { - "title": "Persone" + "full": "Tutti i {total} posti nella home page sono occupati" }, "tiers": { - "title": "Livelli", - "lead": { - "one": "Sponsorizza ogni mese, oppure una volta sola per {count} mese con lo stesso posizionamento.", - "other": "Sponsorizza ogni mese, oppure una volta sola per {count} mesi con lo stesso posizionamento." - }, - "caption": "Livelli di sponsorizzazione con il prezzo mensile, il prezzo una tantum e cosa include ciascuno", - "columns": { - "monthly": "Mensile", - "oneTime": "Una tantum", - "benefit": "Cosa include" - }, - "oneTimePrice": "{price} una tantum", - "benefit": { - "name": "Il tuo nome con un link in questa pagina e nel README di TablePro.", - "homepage": "Il tuo logo con un link nella home page, in questa pagina e nel README di TablePro. La home page ha {total} posti.", - "lead": "Il tuo logo per primo e più grande nella home page, in questa pagina e nel README." - }, - "link": "Sponsorizza TablePro su GitHub" + "monthly": "{price} al mese", + "oneTime": "o {price} una tantum", + "open": "Libero. {benefit}", + "items": { + "lead": { + "title": "Sponsor principale", + "benefit": "Il tuo logo per primo e più grande di tutti nella home page, in questa pagina e nel README di TablePro." + }, + "homepage": { + "title": "Logo", + "benefit": "Il tuo logo con un link nella home page, in questa pagina e nel README di TablePro." + }, + "name": { + "title": "Nome", + "benefit": "Il tuo nome con un link in questa pagina e nel README di TablePro." + } + } + }, + "finePrint": { + "title": "Condizioni", + "rows": [ + { "term": "Pagamento unico", "text": "Paga una volta sola {multiplier} volte il prezzo mensile per tenere lo stesso posto per {months} mesi, se ce n’è uno libero." }, + { "term": "Alla fine", "text": "Il logo o il nome viene tolto al controllo successivo con GitHub Sponsors." }, + { "term": "Sponsor privati", "text": "Una sponsorizzazione che rendi privata su GitHub non viene mai nominata qui né nel README." }, + { "term": "Il tuo logo", "text": "Il tuo file, mai ricolorato. Manda anche una versione per il tema scuro." } + ] + }, + "closing": { + "title": "Sostieni TablePro", + "sentence": "Scegli un livello su GitHub Sponsors, oppure scrivi a {email} se la tua azienda ha prima una domanda." } } diff --git a/resources/data/content/ja/sponsors.json b/resources/data/content/ja/sponsors.json index b8692c7a..2de2b64d 100644 --- a/resources/data/content/ja/sponsors.json +++ b/resources/data/content/ja/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "スポンサー", "header": { "title": "スポンサー", - "lead": "TablePro はオープンソースです。スポンサーの支援が、開発と保守に費やす時間を支えています。", + "lead": "TablePro はライセンスとこのページのスポンサーの支援で開発されており、投資家はいません。", "action": "GitHub でスポンサーになる" }, - "companies": { - "title": "企業", + "places": { "open": { - "one": "トップページの {total} 枠のうち {count} 枠が空いています。", - "other": "トップページの {total} 枠のうち {count} 枠が空いています。" + "one": "トップページの {total} 枠のうち {count} 枠が空いています", + "other": "トップページの {total} 枠のうち {count} 枠が空いています" }, - "full": "トップページの {total} 枠はすべて埋まっています。" - }, - "people": { - "title": "個人" + "full": "トップページの {total} 枠はすべて埋まっています" }, "tiers": { - "title": "ティア", - "lead": { - "one": "毎月のスポンサーのほか、一括払いで同じ掲載を {count} か月受けられます。", - "other": "毎月のスポンサーのほか、一括払いで同じ掲載を {count} か月受けられます。" - }, - "caption": "スポンサーティアの月額、一括払いの金額、各ティアの内容", - "columns": { - "monthly": "月額", - "oneTime": "一括", - "benefit": "内容" - }, - "oneTimePrice": "一括 {price}", - "benefit": { - "name": "このページと TablePro の README に名前とリンクを掲載。", - "homepage": "トップページ、このページ、TablePro の README にロゴとリンクを掲載。トップページの掲載枠は {total} 枠です。", - "lead": "トップページ、このページ、README でロゴを先頭に大きく掲載。" - }, - "link": "GitHub で TablePro を支援" + "monthly": "月額 {price}", + "oneTime": "または一括 {price}", + "open": "募集中。{benefit}", + "items": { + "lead": { + "title": "筆頭", + "benefit": "トップページ、このページ、TablePro の README で、ロゴを先頭に最も大きく掲載。" + }, + "homepage": { + "title": "ロゴ", + "benefit": "トップページ、このページ、TablePro の README にロゴとリンクを掲載。" + }, + "name": { + "title": "名前", + "benefit": "このページと TablePro の README に名前とリンクを掲載。" + } + } + }, + "finePrint": { + "title": "注意事項", + "rows": [ + { "term": "一括払い", "text": "空きがある場合、月額の {multiplier} 倍を一括で支払うと、同じ枠を {months} か月間使えます。" }, + { "term": "終了時", "text": "次回 GitHub Sponsors と照合したときに、ロゴまたは名前を外します。" }, + { "term": "非公開のスポンサー", "text": "GitHub で非公開にしたスポンサーは、このページにも README にも名前が載りません。" }, + { "term": "ロゴのファイル", "text": "お送りいただいたファイルをそのまま使い、色は変えません。ダークモード用のファイルもお送りください。" } + ] + }, + "closing": { + "title": "TablePro を支援する", + "sentence": "GitHub Sponsors でティアを選ぶか、会社として先に質問がある場合は {email} までご連絡ください。" } } diff --git a/resources/data/content/ko/sponsors.json b/resources/data/content/ko/sponsors.json index 23ff33a2..71a7c945 100644 --- a/resources/data/content/ko/sponsors.json +++ b/resources/data/content/ko/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "후원자", "header": { "title": "후원자", - "lead": "TablePro는 오픈 소스입니다. 후원금은 개발과 유지 보수에 드는 시간을 지원합니다.", + "lead": "TablePro는 라이선스와 이 페이지의 후원자들로 운영되며, 투자자는 없습니다.", "action": "GitHub에서 후원하기" }, - "companies": { - "title": "기업", + "places": { "open": { - "one": "홈페이지의 {total}개 자리 중 {count}개가 비어 있습니다.", - "other": "홈페이지의 {total}개 자리 중 {count}개가 비어 있습니다." + "one": "홈페이지의 {total}개 자리 중 {count}개가 비어 있습니다", + "other": "홈페이지의 {total}개 자리 중 {count}개가 비어 있습니다" }, - "full": "홈페이지의 {total}개 자리가 모두 찼습니다." - }, - "people": { - "title": "개인" + "full": "홈페이지의 {total}개 자리가 모두 찼습니다" }, "tiers": { - "title": "후원 등급", - "lead": { - "one": "매월 후원하거나, 한 번 결제로 같은 혜택을 {count}개월 동안 받을 수 있습니다.", - "other": "매월 후원하거나, 한 번 결제로 같은 혜택을 {count}개월 동안 받을 수 있습니다." - }, - "caption": "후원 등급별 월 금액, 일시불 금액, 혜택", - "columns": { - "monthly": "월", - "oneTime": "일시불", - "benefit": "혜택" - }, - "oneTimePrice": "일시불 {price}", - "benefit": { - "name": "이 페이지와 TablePro README에 이름과 링크를 게재합니다.", - "homepage": "홈페이지, 이 페이지, TablePro README에 로고와 링크를 게재합니다. 홈페이지에는 {total}개 자리가 있습니다.", - "lead": "홈페이지, 이 페이지, README에서 로고를 맨 앞에 더 크게 게재합니다." - }, - "link": "GitHub에서 TablePro 후원하기" + "monthly": "월 {price}", + "oneTime": "또는 일시불 {price}", + "open": "모집 중. {benefit}", + "items": { + "lead": { + "title": "메인", + "benefit": "홈페이지, 이 페이지, TablePro README에서 로고를 맨 앞에 가장 크게 게재합니다." + }, + "homepage": { + "title": "로고", + "benefit": "홈페이지, 이 페이지, TablePro README에 로고와 링크를 게재합니다." + }, + "name": { + "title": "이름", + "benefit": "이 페이지와 TablePro README에 이름과 링크를 게재합니다." + } + } + }, + "finePrint": { + "title": "세부 사항", + "rows": [ + { "term": "일시불", "text": "자리가 비어 있으면 월 금액의 {multiplier}배를 한 번에 결제해 같은 자리를 {months}개월 동안 유지할 수 있습니다." }, + { "term": "후원이 끝나면", "text": "다음 GitHub Sponsors 확인 때 로고나 이름이 내려갑니다." }, + { "term": "비공개 후원", "text": "GitHub에서 비공개로 설정한 후원은 이 페이지나 README에 이름이 실리지 않습니다." }, + { "term": "로고 파일", "text": "보내 주신 파일을 그대로 사용하며 색을 바꾸지 않습니다. 다크 모드용 버전도 함께 보내 주세요." } + ] + }, + "closing": { + "title": "TablePro 후원하기", + "sentence": "GitHub Sponsors에서 등급을 고르거나, 회사에서 먼저 궁금한 점이 있으면 {email}로 연락하세요." } } diff --git a/resources/data/content/pt-BR/sponsors.json b/resources/data/content/pt-BR/sponsors.json index cb9807b1..fab43af3 100644 --- a/resources/data/content/pt-BR/sponsors.json +++ b/resources/data/content/pt-BR/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Patrocinadores", "header": { "title": "Patrocinadores", - "lead": "TablePro é de código aberto. Os patrocinadores pagam o tempo dedicado ao desenvolvimento e à manutenção.", + "lead": "As licenças e os patrocinadores desta página financiam o TablePro, que não tem investidores.", "action": "Patrocinar no GitHub" }, - "companies": { - "title": "Empresas", + "places": { "open": { - "one": "{count} de {total} espaços na página inicial está livre.", - "other": "{count} de {total} espaços na página inicial estão livres." + "one": "{count} de {total} espaços na página inicial está livre", + "other": "{count} de {total} espaços na página inicial estão livres" }, - "full": "Os {total} espaços da página inicial estão ocupados." - }, - "people": { - "title": "Pessoas" + "full": "Os {total} espaços da página inicial estão ocupados" }, "tiers": { - "title": "Níveis", - "lead": { - "one": "Patrocine todo mês, ou uma única vez por {count} mês com o mesmo posicionamento.", - "other": "Patrocine todo mês, ou uma única vez por {count} meses com o mesmo posicionamento." - }, - "caption": "Níveis de patrocínio com o preço mensal, o preço único e o que cada um inclui", - "columns": { - "monthly": "Mensal", - "oneTime": "Uma vez", - "benefit": "O que inclui" - }, - "oneTimePrice": "{price} uma vez", - "benefit": { - "name": "Seu nome e um link nesta página e no README do TablePro.", - "homepage": "Seu logo e um link na página inicial, nesta página e no README do TablePro. A página inicial tem {total} espaços.", - "lead": "Seu logo primeiro e maior na página inicial, nesta página e no README." - }, - "link": "Patrocinar TablePro no GitHub" + "monthly": "{price} por mês", + "oneTime": "ou {price} uma vez", + "open": "Livre. {benefit}", + "items": { + "lead": { + "title": "Principal", + "benefit": "Seu logo em primeiro lugar e no maior tamanho na página inicial, nesta página e no README do TablePro." + }, + "homepage": { + "title": "Logo", + "benefit": "Seu logo e um link na página inicial, nesta página e no README do TablePro." + }, + "name": { + "title": "Nome", + "benefit": "Seu nome e um link nesta página e no README do TablePro." + } + } + }, + "finePrint": { + "title": "Letras miúdas", + "rows": [ + { "term": "Pagamento único", "text": "Pague uma vez {multiplier} vezes o preço mensal para manter o mesmo espaço por {months} meses, se houver um livre." }, + { "term": "Quando termina", "text": "O logo ou o nome sai na próxima verificação com o GitHub Sponsors." }, + { "term": "Patrocinadores privados", "text": "Um patrocínio que você torna privado no GitHub nunca é citado aqui nem no README." }, + { "term": "Seu logo", "text": "Seu próprio arquivo, sem mudar as cores. Envie também uma versão para o modo escuro." } + ] + }, + "closing": { + "title": "Patrocinar TablePro", + "sentence": "Escolha um nível no GitHub Sponsors, ou escreva para {email} se sua empresa tiver alguma pergunta antes." } } diff --git a/resources/data/content/vi/sponsors.json b/resources/data/content/vi/sponsors.json index aeae4bf4..2b718b16 100644 --- a/resources/data/content/vi/sponsors.json +++ b/resources/data/content/vi/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "Nhà tài trợ", "header": { "title": "Nhà tài trợ", - "lead": "TablePro là phần mềm mã nguồn mở. Tiền tài trợ trả cho thời gian phát triển và bảo trì TablePro.", + "lead": "License và các nhà tài trợ trên trang này là nguồn kinh phí của TablePro, một dự án không có nhà đầu tư.", "action": "Tài trợ trên GitHub" }, - "companies": { - "title": "Công ty", + "places": { "open": { - "one": "Trang chủ còn trống {count} trong số {total} chỗ.", - "other": "Trang chủ còn trống {count} trong số {total} chỗ." + "one": "Trang chủ còn trống {count} trong số {total} chỗ", + "other": "Trang chủ còn trống {count} trong số {total} chỗ" }, - "full": "Trang chủ đã kín cả {total} chỗ." - }, - "people": { - "title": "Cá nhân" + "full": "Trang chủ đã kín cả {total} chỗ" }, "tiers": { - "title": "Các mức tài trợ", - "lead": { - "one": "Bạn có thể tài trợ theo tháng, hoặc tài trợ một lần để giữ cùng vị trí trong {count} tháng.", - "other": "Bạn có thể tài trợ theo tháng, hoặc tài trợ một lần để giữ cùng vị trí trong {count} tháng." - }, - "caption": "Các mức tài trợ với giá hằng tháng, giá một lần và quyền lợi của từng mức", - "columns": { - "monthly": "Theo tháng", - "oneTime": "Một lần", - "benefit": "Quyền lợi" - }, - "oneTimePrice": "{price} một lần", - "benefit": { - "name": "Tên và link của bạn trên trang này và trong README của TablePro.", - "homepage": "Logo và link của bạn trên trang chủ, trang này và README của TablePro. Trang chủ có {total} chỗ.", - "lead": "Logo của bạn đứng đầu và lớn hơn trên trang chủ, trang này và README." - }, - "link": "Tài trợ TablePro trên GitHub" + "monthly": "{price} mỗi tháng", + "oneTime": "hoặc {price} một lần", + "open": "Còn trống. {benefit}", + "items": { + "lead": { + "title": "Dẫn đầu", + "benefit": "Logo của bạn đứng đầu và lớn nhất trên trang chủ, trên trang này và trong README của TablePro." + }, + "homepage": { + "title": "Logo", + "benefit": "Logo và link của bạn trên trang chủ, trên trang này và trong README của TablePro." + }, + "name": { + "title": "Tên", + "benefit": "Tên và link của bạn trên trang này và trong README của TablePro." + } + } + }, + "finePrint": { + "title": "Lưu ý", + "rows": [ + { "term": "Trả một lần", "text": "Trả một lần gấp {multiplier} lần giá tháng để giữ cùng một chỗ trong {months} tháng, nếu còn chỗ trống." }, + { "term": "Khi kết thúc", "text": "Logo hoặc tên được gỡ xuống ở lần đối chiếu tiếp theo với GitHub Sponsors." }, + { "term": "Tài trợ riêng tư", "text": "Nếu bạn đặt khoản tài trợ ở chế độ riêng tư trên GitHub, tên của bạn không bao giờ xuất hiện ở đây hay trong README." }, + { "term": "Logo của bạn", "text": "Dùng đúng file của bạn, không bao giờ đổi màu. Hãy gửi kèm một bản cho giao diện tối." } + ] + }, + "closing": { + "title": "Tài trợ TablePro", + "sentence": "Hãy chọn một mức tài trợ trên GitHub Sponsors, hoặc gửi email tới {email} nếu công ty bạn cần hỏi trước." } } diff --git a/resources/data/content/zh-Hans/sponsors.json b/resources/data/content/zh-Hans/sponsors.json index 1e9b2674..2089f6e6 100644 --- a/resources/data/content/zh-Hans/sponsors.json +++ b/resources/data/content/zh-Hans/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "赞助商", "header": { "title": "赞助商", - "lead": "TablePro 是开源软件。赞助用于支付开发和维护所投入的时间。", + "lead": "TablePro 的资金来自许可证和本页的赞助商,没有投资者。", "action": "在 GitHub 上赞助" }, - "companies": { - "title": "公司", + "places": { "open": { - "one": "首页共 {total} 个位置,还剩 {count} 个。", - "other": "首页共 {total} 个位置,还剩 {count} 个。" + "one": "首页共 {total} 个位置,还剩 {count} 个", + "other": "首页共 {total} 个位置,还剩 {count} 个" }, - "full": "首页的 {total} 个位置已全部占满。" - }, - "people": { - "title": "个人" + "full": "首页的 {total} 个位置已全部占满" }, "tiers": { - "title": "赞助档位", - "lead": { - "one": "可以按月赞助,也可以一次性付款,在 {count} 个月内获得相同的展示位置。", - "other": "可以按月赞助,也可以一次性付款,在 {count} 个月内获得相同的展示位置。" - }, - "caption": "各赞助档位的月付价格、一次性价格和权益", - "columns": { - "monthly": "月付", - "oneTime": "一次性", - "benefit": "权益" - }, - "oneTimePrice": "一次性 {price}", - "benefit": { - "name": "在本页和 TablePro 的 README 中展示名字和链接。", - "homepage": "在首页、本页和 TablePro 的 README 中展示徽标和链接。首页共 {total} 个位置。", - "lead": "在首页、本页和 README 中,徽标排在最前并以更大尺寸展示。" - }, - "link": "在 GitHub 上赞助 TablePro" + "monthly": "每月 {price}", + "oneTime": "或一次性支付 {price}", + "open": "开放中。{benefit}", + "items": { + "lead": { + "title": "首席", + "benefit": "在首页、本页和 TablePro 的 README 中,徽标排在最前并以最大尺寸展示。" + }, + "homepage": { + "title": "徽标", + "benefit": "在首页、本页和 TablePro 的 README 中展示徽标和链接。" + }, + "name": { + "title": "名字", + "benefit": "在本页和 TablePro 的 README 中展示名字和链接。" + } + } + }, + "finePrint": { + "title": "细则", + "rows": [ + { "term": "一次性支付", "text": "如有空位,一次性支付月费的 {multiplier} 倍,即可保留同一位置 {months} 个月。" }, + { "term": "结束后", "text": "下次与 GitHub Sponsors 核对时,徽标或名字会被移除。" }, + { "term": "私密赞助", "text": "在 GitHub 上设为私密的赞助,绝不会在本页或 README 中列出名字。" }, + { "term": "您的徽标", "text": "使用您自己的文件,绝不改色。请同时提供深色模式的版本。" } + ] + }, + "closing": { + "title": "赞助 TablePro", + "sentence": "在 GitHub Sponsors 上选择档位;贵公司如想先咨询,请发邮件至 {email}。" } } diff --git a/resources/data/content/zh-Hant/sponsors.json b/resources/data/content/zh-Hant/sponsors.json index 6cad36a7..eb16b422 100644 --- a/resources/data/content/zh-Hant/sponsors.json +++ b/resources/data/content/zh-Hant/sponsors.json @@ -10,38 +10,46 @@ "breadcrumb": "贊助者", "header": { "title": "贊助者", - "lead": "TablePro 是開源軟體。贊助用於支付開發與維護所投入的時間。", + "lead": "TablePro 的資金來自授權與本頁的贊助者,沒有投資者。", "action": "在 GitHub 上贊助" }, - "companies": { - "title": "公司", + "places": { "open": { - "one": "首頁共 {total} 個位置,還剩 {count} 個。", - "other": "首頁共 {total} 個位置,還剩 {count} 個。" + "one": "首頁共 {total} 個位置,還剩 {count} 個", + "other": "首頁共 {total} 個位置,還剩 {count} 個" }, - "full": "首頁的 {total} 個位置已全部額滿。" - }, - "people": { - "title": "個人" + "full": "首頁的 {total} 個位置已全部額滿" }, "tiers": { - "title": "贊助級別", - "lead": { - "one": "可以按月贊助,也可以一次付款,在 {count} 個月內享有相同的展示位置。", - "other": "可以按月贊助,也可以一次付款,在 {count} 個月內享有相同的展示位置。" - }, - "caption": "各贊助級別的月付價格、一次性價格與權益", - "columns": { - "monthly": "月付", - "oneTime": "一次性", - "benefit": "權益" - }, - "oneTimePrice": "一次性 {price}", - "benefit": { - "name": "在本頁和 TablePro 的 README 中展示名字和連結。", - "homepage": "在首頁、本頁和 TablePro 的 README 中展示標誌和連結。首頁共 {total} 個位置。", - "lead": "在首頁、本頁和 README 中,標誌排在最前並以更大尺寸展示。" - }, - "link": "在 GitHub 上贊助 TablePro" + "monthly": "每月 {price}", + "oneTime": "或一次性支付 {price}", + "open": "開放中。{benefit}", + "items": { + "lead": { + "title": "首席", + "benefit": "在首頁、本頁和 TablePro 的 README 中,標誌排在最前並以最大尺寸展示。" + }, + "homepage": { + "title": "標誌", + "benefit": "在首頁、本頁和 TablePro 的 README 中展示標誌和連結。" + }, + "name": { + "title": "名字", + "benefit": "在本頁和 TablePro 的 README 中展示名字和連結。" + } + } + }, + "finePrint": { + "title": "細則", + "rows": [ + { "term": "一次性支付", "text": "如有空位,一次性支付月費的 {multiplier} 倍,即可保留同一位置 {months} 個月。" }, + { "term": "結束後", "text": "下次與 GitHub Sponsors 核對時,標誌或名字會被移除。" }, + { "term": "私人贊助", "text": "在 GitHub 上設為私人的贊助,絕不會在本頁或 README 中列出名字。" }, + { "term": "您的標誌", "text": "使用您自己的檔案,絕不改色。請一併提供深色模式的版本。" } + ] + }, + "closing": { + "title": "贊助 TablePro", + "sentence": "在 GitHub Sponsors 上選擇級別;貴公司如想先詢問,請寄信至 {email}。" } } diff --git a/resources/js/components/home/index-bands.tsx b/resources/js/components/home/index-bands.tsx index 6b43ebd2..f225c917 100644 --- a/resources/js/components/home/index-bands.tsx +++ b/resources/js/components/home/index-bands.tsx @@ -1,8 +1,8 @@ import type { ReactNode } from 'react'; +import SponsorLink from '@/components/sponsors/sponsor-link'; import Container from '@/components/ui/container'; import LocaleLink from '@/components/ui/locale-link'; import { useI18n } from '@/i18n'; -import type { LogoSponsor } from '@/lib/data/sponsors'; import { SPONSORS } from '@/lib/data/sponsors'; import { onHomepage, openSlots } from '@/lib/sponsors'; import { cn } from '@/lib/utils'; @@ -69,52 +69,6 @@ export function DatabaseBand({ content, engines }: { content: HomeContent['datab ); } -// Sized by area, so a long wordmark and a square mark carry the same weight. -const AREA = { lead: 9000, homepage: 4200 } as const; -const MAX_HEIGHT = { lead: 48, homepage: 34 } as const; - -const isMark = (sponsor: LogoSponsor): boolean => sponsor.logo.width / sponsor.logo.height < 1.6; - -function size(sponsor: LogoSponsor): { width: number; height: number } { - const kind = sponsor.placement === 'lead' ? 'lead' : 'homepage'; - const ratio = sponsor.logo.width / sponsor.logo.height; - const height = Math.min(Math.sqrt(AREA[kind] / ratio), MAX_HEIGHT[kind]); - - return { width: Math.round(height * ratio), height: Math.round(height) }; -} - -// No filter or recolouring ever touches a trademark (design-system §5.3.18). A dark mode logo is the sponsor's own -// file; a mark without one keeps its colours, and a wordmark without one gives way to the sponsor's name in text. -function SponsorLogo({ sponsor }: { sponsor: LogoSponsor }) { - const { width, height } = size(sponsor); - const { logo } = sponsor; - const image = (src: string, className?: string) => ( - - ); - - if (logo.dark !== null) { - return ( - <> - {image(logo.light, 'block dark:hidden')} - {image(logo.dark, 'hidden dark:block')} - - ); - } - - if (isMark(sponsor)) { - return image(logo.light, 'block'); - } - - return ( - <> - {image(logo.light, 'block dark:hidden')} - - - ); -} - export function SponsorBand({ content }: { content: HomeContent['sponsors'] }) { const { plural } = useI18n(); const open = openSlots(SPONSORS); @@ -133,12 +87,7 @@ export function SponsorBand({ content }: { content: HomeContent['sponsors'] }) { diff --git a/resources/js/components/sponsors/sponsor-grid.tsx b/resources/js/components/sponsors/sponsor-grid.tsx deleted file mode 100644 index ba7cd91f..00000000 --- a/resources/js/components/sponsors/sponsor-grid.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import type { ReactNode } from 'react'; -import CellGrid from '@/components/ui/cell-grid'; -import type { LogoSponsor, SponsorLogo } from '@/lib/data/sponsors'; -import { cn } from '@/lib/utils'; - -const LOGO_HEIGHT = 28; -const LEAD_LOGO_HEIGHT = 44; - -// Eager at low priority: a lazy logo that arrived late left its white dark-mode tile empty, which read as a broken image. -function Logo({ logo, lead }: { logo: SponsorLogo; lead: boolean }) { - const height = lead ? LEAD_LOGO_HEIGHT : LOGO_HEIGHT; - const width = Math.round((height * logo.width) / logo.height); - const image = (src: string, className: string) => ( - - ); - - // No filter ever alters a trademark: without its own dark file, a logo sits on a white tile, padded in both themes so nothing moves. - return ( - - ); -} - -// Shared with the homepage's invite cell, so it lines up with the logos. -export const SPONSOR_CELL = 'min-w-0 max-w-full'; -export const SPONSOR_LINK = 'group grid max-w-full justify-items-start gap-2 rounded-control'; - -// Two across on a phone, four from 768px. The lead spans two cells; trailing children (an invite) share the grid's lines. -export default function SponsorGrid({ sponsors, children }: { sponsors: LogoSponsor[]; children?: ReactNode }) { - return ( - - {sponsors.map((sponsor) => { - const lead = sponsor.placement === 'lead'; - - return ( -
  • - - - - {sponsor.name} - - -
  • - ); - })} - {children} -
    - ); -} diff --git a/resources/js/components/sponsors/sponsor-link.tsx b/resources/js/components/sponsors/sponsor-link.tsx new file mode 100644 index 00000000..98ff4adf --- /dev/null +++ b/resources/js/components/sponsors/sponsor-link.tsx @@ -0,0 +1,85 @@ +import type { CSSProperties } from 'react'; +import type { LogoSponsor } from '@/lib/data/sponsors'; +import { cn } from '@/lib/utils'; + +// Sized by area, so a long wordmark and a square mark carry the same weight. +const AREA = { lead: 9000, homepage: 4200 } as const; +const MAX_HEIGHT = { lead: 48, homepage: 34 } as const; + +// `page`: /sponsors, where the logos are the content, draws them half as large again from 640px. +export type SponsorLinkSize = 'band' | 'page'; + +const SCALE: Record = { band: 1, page: 1.5 }; +const WORDMARK_TEXT: Record = { band: 'text-[1.375rem]', page: 'text-[1.375rem] sm:text-[2rem]' }; +const NAME_TEXT: Record = { band: 'text-[0.9375rem]', page: 'text-[0.9375rem] sm:text-[1.0625rem]' }; + +const isMark = (sponsor: LogoSponsor): boolean => sponsor.logo.width / sponsor.logo.height < 1.6; + +function dimensions(sponsor: LogoSponsor, scale: number): { width: number; height: number } { + const kind = sponsor.placement === 'lead' ? 'lead' : 'homepage'; + const ratio = sponsor.logo.width / sponsor.logo.height; + const height = Math.min(Math.sqrt(AREA[kind] / ratio), MAX_HEIGHT[kind]) * scale; + + return { width: Math.round(height * ratio), height: Math.round(height) }; +} + +// No filter or recolouring ever touches a trademark (design-system §5.3.18). A dark mode logo is the sponsor's own +// file; a mark without one keeps its colours, and a wordmark without one gives way to the sponsor's name in text. +function SponsorLogo({ sponsor, size }: { sponsor: LogoSponsor; size: SponsorLinkSize }) { + const small = dimensions(sponsor, 1); + const large = dimensions(sponsor, SCALE[size]); + const { logo } = sponsor; + const style = { + '--logo-w': `${small.width}px`, + '--logo-h': `${small.height}px`, + '--logo-w-sm': `${large.width}px`, + '--logo-h-sm': `${large.height}px`, + } as CSSProperties; + + const image = (src: string, className: string) => ( + + ); + + if (logo.dark !== null) { + return ( + <> + {image(logo.light, 'block dark:hidden')} + {image(logo.dark, 'hidden dark:block')} + + ); + } + + if (isMark(sponsor)) { + return image(logo.light, 'block'); + } + + return ( + <> + {image(logo.light, 'block dark:hidden')} + + + ); +} + +// The sponsor's logo linking to its site, named beside a square mark and for screen readers only beside a wordmark. +export default function SponsorLink({ sponsor, size = 'band' }: { sponsor: LogoSponsor; size?: SponsorLinkSize }) { + return ( + + + + {sponsor.name} + + + ); +} diff --git a/resources/js/pages/Sponsors.tsx b/resources/js/pages/Sponsors.tsx index 449dad16..36d52b5f 100644 --- a/resources/js/pages/Sponsors.tsx +++ b/resources/js/pages/Sponsors.tsx @@ -1,17 +1,20 @@ +import type { ReactNode } from 'react'; import { usePage } from '@inertiajs/react'; import { plainPageJsonLd } from '@/components/faq/structured-data'; +import { BandFrame } from '@/components/features/feature-band'; +import { ClosingFrame } from '@/components/features/feature-closing'; +import FeatureHero from '@/components/features/feature-hero'; import SEOHead from '@/components/seo/seo-head'; -import SponsorGrid from '@/components/sponsors/sponsor-grid'; -import Button from '@/components/ui/button'; -import DataTable, { TABLE_CELL, TABLE_HEAD_CELL, TABLE_ROW, TABLE_ROW_HEADER } from '@/components/ui/data-table'; -import PageHeader from '@/components/ui/page-header'; -import Section from '@/components/ui/section'; -import TextLink, { textLinkClasses } from '@/components/ui/text-link'; -import { LOCALES, useI18n } from '@/i18n'; +import { SUPPORT_EMAIL } from '@/components/site/site-links'; +import SponsorLink from '@/components/sponsors/sponsor-link'; +import { buttonClasses } from '@/components/ui/button'; +import DescriptionList, { DescriptionItem } from '@/components/ui/description-list'; +import { textLinkClasses } from '@/components/ui/text-link'; +import { useRevealOnScroll } from '@/hooks/use-reveal-on-scroll'; +import { LOCALES, Trans, useI18n } from '@/i18n'; import { FACTS } from '@/lib/data/facts'; -import { SPONSORS } from '@/lib/data/sponsors'; -import { byName, onHomepage, openSlots } from '@/lib/sponsors'; -import { cn } from '@/lib/utils'; +import { SPONSORS, type Placement } from '@/lib/data/sponsors'; +import { openSlots } from '@/lib/sponsors'; import LandingLayout from '@/layouts/landing-layout'; type SponsorsContent = typeof import('@data/content/en/sponsors.json'); @@ -21,18 +24,64 @@ interface SponsorsProps { organizationProfiles: string[]; } -// The price columns shrink to their content, so the benefit takes the rest of the row. -const PRICE = 'w-px whitespace-nowrap tabular-nums'; +// The sections this page had before each tier became a band. +const ALSO: Record = { lead: ['tiers'], homepage: ['companies'], name: ['individuals'] }; -// No amounts per sponsor, no totals and no goal: what each placement costs is the tiers table. +const NAME_LINK = 'text-[1.0625rem] font-medium tracking-[-0.011em] text-foreground underline decoration-rule-strong underline-offset-4 hover:decoration-foreground'; + +// One band per tier, dearest first: the name and both prices on the left, that tier's sponsors on the right. No amount +// per sponsor, no total and no goal. export default function Sponsors({ content, organizationProfiles }: SponsorsProps) { const { canonicalBaseUrl } = usePage().props; const { locale, m, fmt, plural, path, format } = useI18n(); - const companies = onHomepage(SPONSORS); - const people = byName(SPONSORS); - const open = openSlots(SPONSORS); - const total = SPONSORS.homepageSlots; + useRevealOnScroll('main > section:not(#top)'); + const usd = (amount: number): string => format.formatUsd(amount, m.pricing.currency); + const total = SPONSORS.homepageSlots; + const open = openSlots(SPONSORS); + const places = open > 0 ? plural(content.places.open, open, { total }) : fmt(content.places.full, { total }); + const tiers = [...SPONSORS.tiers].sort((a, b) => b.monthly - a.monthly); + const values = { multiplier: SPONSORS.oneTime.multiplier, months: SPONSORS.oneTime.months, email: SUPPORT_EMAIL }; + + const tags = { + open: (text: string) => {text}, + email: (text: string) => ( + + {text} + + ), + }; + + const github = ( + + {content.header.action} + + + ); + + const sponsorsIn = (placement: Placement): ReactNode => { + const sponsors = SPONSORS.sponsors.filter((sponsor) => sponsor.placement === placement); + + if (sponsors.length === 0) { + return undefined; + } + + return ( +
      + {sponsors.map((sponsor) => ( +
    • + {sponsor.logo === null ? ( + + {sponsor.name} + + ) : ( + + )} +
    • + ))} +
    + ); + }; const crumbs = [ { name: m.common.home, path: path('/') }, @@ -55,83 +104,56 @@ export default function Sponsors({ content, organizationProfiles }: SponsorsProp })} /> - - {content.header.action} - - + primary={ + <> + {github} + {places} + } /> -
    0 ? plural(content.companies.open, open, { total }) : fmt(content.companies.full, { total })} - flush={companies.length > 0} - > - {companies.length > 0 && } -
    - - {people.length > 0 && ( -
    - -
    - )} - -
    - {/* Below 640px the one-time price folds under the monthly one, in the row header. */} - - - - - {content.tiers.columns.monthly} - - - {content.tiers.columns.oneTime} - - - {content.tiers.columns.benefit} - - - - - {SPONSORS.tiers.map((tier) => { - const once = usd(tier.monthly * SPONSORS.oneTime.multiplier); - - return ( - - - {usd(tier.monthly)} - - {fmt(content.tiers.oneTimePrice, { price: once })} - - - {once} - {fmt(content.tiers.benefit[tier.placement], { total })} - - ); - })} - - -

    - - {content.tiers.link} - -

    -
    + {tiers.map((tier) => { + const copy = content.tiers.items[tier.placement]; + const sponsors = sponsorsIn(tier.placement); + + return ( + + {fmt(content.tiers.monthly, { price: usd(tier.monthly) })} + {fmt(content.tiers.oneTime, { price: usd(tier.monthly * SPONSORS.oneTime.multiplier) })} +

    + } + > +

    + {sponsors === undefined ? : copy.benefit} +

    + {tier.placement === 'homepage' &&

    {places}

    } + {sponsors} +
    + ); + })} + + + + {content.finePrint.rows.map((row) => ( + + + + ))} + + + + ); } diff --git a/tests/Feature/Data/SiteDataTest.php b/tests/Feature/Data/SiteDataTest.php index 3aa6eb05..857bee89 100644 --- a/tests/Feature/Data/SiteDataTest.php +++ b/tests/Feature/Data/SiteDataTest.php @@ -143,7 +143,7 @@ function siteDataFilesIn(string $directory): array it('describes every tier in the page copy', function (): void { $copy = json_decode(File::get(resource_path('data/content/en/sponsors.json')), true, 512, JSON_THROW_ON_ERROR); - expect(array_keys($copy['tiers']['benefit']))->toEqualCanonicalizing(array_column(siteDataJson('sponsors.json')['tiers'], 'placement')); + expect(array_keys($copy['tiers']['items']))->toEqualCanonicalizing(array_column(siteDataJson('sponsors.json')['tiers'], 'placement')); }); it('reads sponsors from GitHub only on a maintainer machine, never with a token in the app', function (): void { diff --git a/tests/Feature/Pages/PagesTest.php b/tests/Feature/Pages/PagesTest.php index 7d5acfd1..c141f262 100644 --- a/tests/Feature/Pages/PagesTest.php +++ b/tests/Feature/Pages/PagesTest.php @@ -25,7 +25,7 @@ function pageFamilies(): array 'landing.faq' => ['Faq', ['content', 'facts', 'platforms']], 'landing.about' => ['About', ['content', 'repositoryCreated', 'links']], 'landing.security' => ['Security', ['content.bands.0.text', 'facts.macSafeModeLevels', 'links.securityEmail', 'replyDays']], - 'landing.sponsors' => ['Sponsors', ['content.header.title', 'content.tiers.benefit.name', 'organizationProfiles']], + 'landing.sponsors' => ['Sponsors', ['content.header.title', 'content.tiers.items.name.benefit', 'organizationProfiles']], 'landing.black-friday' => ['BlackFriday', ['content.hero.title', 'paidFeatures', 'organizationProfiles', 'campaign.phase']], 'landing.privacy' => ['Privacy', ['document.title', 'document.html', 'document.toc']], 'landing.terms' => ['Terms', ['document.title', 'document.html', 'document.toc']], diff --git a/tests/Feature/Pages/SponsorsTest.php b/tests/Feature/Pages/SponsorsTest.php new file mode 100644 index 00000000..0ae8f05d --- /dev/null +++ b/tests/Feature/Pages/SponsorsTest.php @@ -0,0 +1,72 @@ + */ +function sponsorTiersDearestFirst(): array +{ + $tiers = sponsorsData('sponsors.json')['tiers']; + usort($tiers, fn(array $a, array $b): int => $b['monthly'] <=> $a['monthly']); + + return $tiers; +} + +it('describes every tier and names only the tokens Sponsors.tsx fills, in every locale', function (string $locale): void { + $content = sponsorsData("content/{$locale}/sponsors.json"); + + preg_match_all('/\{([A-Za-z]+)\}/', json_encode($content, JSON_UNESCAPED_UNICODE), $tokens); + + expect(array_keys($content['tiers']['items']))->toEqualCanonicalizing(array_column(sponsorsData('sponsors.json')['tiers'], 'placement')) + ->and(array_values(array_diff(array_unique($tokens[1]), ['count', 'total', 'price', 'benefit', 'multiplier', 'months', 'email'])))->toBe([]); +})->with('locales'); + +it('stays short', function (): void { + $copy = Arr::except(sponsorsData('content/en/sponsors.json'), ['seo', 'og', 'breadcrumb']); + + expect(str_word_count(strip_tags(implode(' ', Arr::flatten($copy)))))->toBeLessThanOrEqual(260); +}); + +it('draws one band per tier, dearest first, and keeps the ids it had', function (string $prefix): void { + $document = HTMLDocument::createFromString(ssrHtml("{$prefix}/sponsors"), LIBXML_NOERROR); + $program = sponsorsData('facts.json')['links']['sponsorsProgram']; + $sections = array_map(fn(Dom\Element $section): string => $section->id, iterator_to_array($document->querySelectorAll('main > section'))); + + expect($sections)->toBe(['top', ...array_column(sponsorTiersDearestFirst(), 'placement'), 'fine-print', 'sponsor']) + ->and($document->querySelector("#top a[href=\"{$program}\"]"))->not->toBeNull() + ->and($document->querySelector("#sponsor a[href=\"{$program}\"]"))->not->toBeNull() + ->and($document->querySelector('main table'))->toBeNull() + ->and($document->querySelector('main')->textContent)->not->toMatch('/\{[A-Za-z]+\}/'); + + foreach (['tiers', 'companies', 'individuals'] as $id) { + expect($document->getElementById($id))->not->toBeNull("#{$id} is gone from {$prefix}/sponsors"); + } + + foreach (sponsorsData('sponsors.json')['sponsors'] as $sponsor) { + expect($document->querySelector("#{$sponsor['placement']} a[href=\"{$sponsor['url']}\"][rel~=sponsored]"))->not->toBeNull("{$sponsor['id']} is not in #{$sponsor['placement']}"); + } +})->with(['', '/vi'])->group('ssr'); + +it('prices each tier monthly and once, and says when a place is open', function (): void { + $data = sponsorsData('sponsors.json'); + $document = HTMLDocument::createFromString(ssrHtml('/sponsors'), LIBXML_NOERROR); + $placed = array_count_values(array_column($data['sponsors'], 'placement')); + $open = max(0, $data['homepageSlots'] - ($placed['lead'] ?? 0) - ($placed['homepage'] ?? 0)); + + foreach ($data['tiers'] as $tier) { + $once = $tier['monthly'] * $data['oneTime']['multiplier']; + + expect($document->getElementById($tier['placement'])->textContent) + ->toContain('$' . number_format($tier['monthly']) . ' a month') + ->toContain('or $' . number_format($once) . ' once'); + } + + expect(str_contains($document->getElementById('lead')->textContent, 'Open.'))->toBe(! isset($placed['lead'])) + ->and($document->getElementById('top')->textContent)->toContain($open === 0 ? "All {$data['homepageSlots']} homepage places are taken" : "{$open} of {$data['homepageSlots']} homepage places"); +})->group('ssr');