Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/thatdeveloperguy-website / app/routes/audience.tsx |
| Date | Not specified in source |
| Repository | Janady13/thatdeveloperguy-website |
| Revision | 2bea2ebdff0e34494bff597d4fa9c8422a0c3a94 |
| Branch | main |
| Path or archive member | app/routes/audience.tsx |
| Original SHA-256 | e0863759da7d5fe8f98556bc2dc08fa069b54390d8a606ff9163b2a8d2352488 |
| Git blob SHA | 5843fe94901963fd748e2d44bfbfff7669d60efa |
| Reading-copy SHA-256 | e0863759da7d5fe8f98556bc2dc08fa069b54390d8a606ff9163b2a8d2352488 |
Recovered source transcript
Download complete source text ↓51 lines · 2.0 KB
import { pageMeta } from '../components/publication/PageMetadata';
import { JsonLd } from '../components/publication/JsonLd';
import { PageHeading } from '../components/content/PageHeading';
import { ContentSections } from '../components/content/ContentSections';
import { RelatedPages } from '../components/content/RelatedPages';
import { ContactAction } from '../components/content/ContactAction';
import { OwnerToSupply } from '../components/content/OwnerToSupply';
import { RoomSemanticContent } from '../components/content/RoomSemanticContent';
import { SceneShell } from '../experience/SceneShell';
import { GovernmentSceneShell } from '../experience/GovernmentSceneShell';
import governmentScene from '../experience/scenes/government/scene.json';
import type { SceneRecord } from '../../src/contracts/scene';
import { usePage, Missing } from './_page';
const SCENES: Record<string, SceneRecord> = { government: governmentScene as unknown as SceneRecord };
export function meta({ location }: { location: { pathname: string } }) { return pageMeta(location.pathname); }
export default function Audience() {
const page = usePage();
if (!page) return <Missing />;
const scene = page.sceneId ? SCENES[page.sceneId] : undefined;
if (scene && page.sceneId === 'government') {
return (
<>
<JsonLd page={page} />
<GovernmentSceneShell scene={scene} page={page} />
<RoomSemanticContent>
<PageHeading page={page} />
<ContentSections page={page} />
<OwnerToSupply />
<RelatedPages page={page} />
<ContactAction page={page} />
</RoomSemanticContent>
</>
);
}
return (
<>
<JsonLd page={page} />
<div className="page-wrap"><PageHeading page={page} /></div>
{scene && <SceneShell scene={scene} page={page} />}
<div className="page-wrap">
<ContentSections page={page} />
<OwnerToSupply />
<RelatedPages page={page} />
<ContactAction page={page} />
</div>
</>
);
}