feat: render semantic portfolio document

This commit is contained in:
2026-09-02 01:17:45 +03:00
parent bc851e398b
commit 7d136ef16d
17 changed files with 488 additions and 0 deletions

16
src/entry-client.ts Normal file
View File

@@ -0,0 +1,16 @@
import { createApp } from './app';
import type { ProductionInputs } from './content/types';
declare global {
interface Window {
__PORTFOLIO_INPUTS__?: Readonly<ProductionInputs>;
}
}
const inputs = window.__PORTFOLIO_INPUTS__;
if (inputs === undefined) {
throw new Error('The serialized portfolio input snapshot is unavailable.');
}
createApp(inputs).mount('#app');