feat(site): prerender every locale and publish structured data, llms.txt and sitemaps
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Successful in 53s
ci / 모바일 린트·타입·Jest (push) Successful in 45s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 21s
ci / .NET API 서버 테스트 (push) Successful in 13s
deploy-site / deploy (push) Failing after 27s
ci / 워크스페이스 빌드 검증 (push) Successful in 36s

Crawlers received an empty client-rendered shell (107 characters of text);
most AI crawlers do not run JavaScript, so the product was invisible to them.

- Build renders each locale to static HTML (/ for Korean, /en/ … /vi/) with
  src/entry-server.tsx + scripts/prerender.mjs; the browser hydrates the same
  locale. The language menu links to those pages instead of switching in place.
- Per-locale head: title, description, canonical, hreflang (+ x-default /en/),
  Open Graph and X cards with a per-locale 1200x630 image.
- JSON-LD graph: Organization, WebSite, WebPage, SoftwareApplication (KRW
  offers, version, release date, download URL from the canonical sources),
  HowTo and FAQPage. No invented ratings.
- robots.txt (search, ai-input and ai-train allowed; /app, /api, invites
  excluded), sitemap.xml with language alternates, llms.txt and llms-full.txt
  generated from the same translations and canonical values.
- IndexNow key and a post-deploy ping (Bing, Naver, Yandex).
- A factual "at a glance" section and two FAQ answers (recognised languages,
  where data is stored) in all 10 languages.
- Icons, apple-touch-icon and web manifest; asset base is now absolute so
  sub-path pages load the same bundle.

Verified: 3.6k-7.7k characters of text per page, no hydration warnings,
no overflow at 320/1440 in six locales, axe 0, Lighthouse mobile SEO,
accessibility and best practices 100.
This commit is contained in:
Yun Chan 2026-09-27 10:45:05 +09:00
parent 52e364e578
commit a0abda7a5c
45 changed files with 852 additions and 79 deletions

View file

@ -0,0 +1,29 @@
import { Container } from '../components/Container'
import { SectionHeading } from '../components/SectionHeading'
import { fmt, useI18n } from '../i18n'
import { useFactValues } from '../seo/fact-values'
/**
* 사실만 모은 요약. 검색 결과·AI 답변이 그대로 인용할 수 있게 항목마다 짧은 정의형 문장이고,
* 버전·날짜·가격은 정본(release.ts, plan-catalog)에서 채운다. JSON-LD(SoftwareApplication)와 같은 값이다.
*/
export function Facts() {
const { t } = useI18n()
const values = useFactValues()
return (
<section id="facts" aria-labelledby="facts-title" className="section border-t border-white/10">
<Container>
<SectionHeading id="facts-title" title={t.facts.title} />
<dl className="mt-12 grid grid-cols-1 gap-px overflow-hidden rounded-2xl border border-white/10 bg-white/10 md:grid-cols-2">
{t.facts.rows.map((row) => (
<div key={row.title} className="bg-surface-950 p-5 md:p-6">
<dt className="text-sm text-neutral-400">{row.title}</dt>
<dd className="mt-1.5 keep-ko text-base leading-relaxed text-neutral-100">{fmt(row.body, values)}</dd>
</div>
))}
</dl>
</Container>
</section>
)
}