e974fc4942
Per the agreed direction (Codex calls): /news joins the new family without CD. - NewsFeed gets an explicit chrome="legacy|hub" prop (never inferred from path): `/` passes legacy (its own Header, unchanged) and /news passes hub (the shared editorial HubBar). Exactly one bar renders — never HubBar + Header. - HubBar gains a configurable `newsHref`; the /news instance links News → /news (active), not the live `/`. Other hub pages keep the default (News → /). - BottomNav kept (Highlights/Latest/Play/You stay visible); no top-level Back on bare /news (HubBar Home returns to the hub); contextual Back on drill-in views is unchanged. No new footer — the global footer stays until the shared Footer step. Known prominence shift (refinable later): Saved/Boundaries move off the top bar on /news (reachable via account); Feedback stays via the global footer. /news still noindex. 32 tests green; build clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 lines
443 B
Svelte
13 lines
443 B
Svelte
<script>
|
|
// /news — the feed's permanent home. During transition it renders the SAME extracted
|
|
// NewsFeed as `/` and stays hidden (noindex) so we never publish a duplicate indexable
|
|
// surface. At cutover the noindex is dropped and /news enters the sitemap.
|
|
import NewsFeed from '$lib/components/NewsFeed.svelte';
|
|
</script>
|
|
|
|
<svelte:head>
|
|
<meta name="robots" content="noindex, follow" />
|
|
</svelte:head>
|
|
|
|
<NewsFeed chrome="hub" />
|