The webserver serves the repo checkout directly as static files, so index.html at the repo root must be the production build (pointing at hashed /assets/*.js) rather than the dev template (/src/main.tsx), which was being served with an unrecognized application/octet-stream MIME type and blocked by the browser. - Move src/, public/, scripts/, server/, package.json, vite.config.ts, tsconfig.json, .env(.example), and the dev index.html into app/. - Add app/scripts/deploy.mjs: copies app/dist/* into the repo root after every `vite build`, cleaning up stale hashed filenames. - Wire it into `npm run build` (app/package.json). - Update run.sh to operate from app/, and .gitignore for the new layout. - Commit the current build output (index.html, assets/, manifest, sw.js, workbox-*.js, favicon.svg, icons/, LICENSE) to the repo root. - Update README with the new project layout and deployment model.
16 lines
787 B
XML
16 lines
787 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34">
|
|
<defs>
|
|
<linearGradient id="b" x1="0" y1="0" x2="0" y2="1">
|
|
<stop offset="0%" stop-color="#003545"/>
|
|
<stop offset="100%" stop-color="#00202e"/>
|
|
</linearGradient>
|
|
</defs>
|
|
<rect x="0" y="0" width="34" height="34" rx="10" fill="url(#b)" stroke="#005570" stroke-width="1.2"/>
|
|
<rect x="6" y="11" width="22" height="15" rx="2.5" fill="none" stroke="#00f5ff" stroke-width="1.8"/>
|
|
<path d="M17 11V7" stroke="#00f5ff" stroke-width="1.8" stroke-linecap="round"/>
|
|
<circle cx="17" cy="5.5" r="1.5" fill="#00f5ff"/>
|
|
<circle cx="10" cy="15.5" r="1" fill="#00f5ff"/>
|
|
<circle cx="14" cy="15.5" r="1" fill="#00f5ff"/>
|
|
<path d="M10 20h14" stroke="#00f5ff" stroke-width="1.5" stroke-linecap="round"/>
|
|
</svg>
|