Remove static HTML pages in favor of dynamic routing

Deleted static HTML files (404.html and simplify-truths.html) and implemented dynamic routing with '@solidjs/router'; website pages are now rendered dynamically via routing in app.tsx, which reduces unnecessary file redundancy. Moved the truth-table.tsx component to a new pages directory, adjusting the import statements accordingly. Updated vite.config.ts to point to the new app.html instead of the removed files. Finally, the esbuild packages were updated to their latest versions in package-lock.json.
This commit is contained in:
martin
2023-07-24 20:44:32 +02:00
parent 58fb93fef0
commit bfcb860cfc
14 changed files with 269 additions and 287 deletions

View File

@ -12,6 +12,6 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
<script src="/src/app.tsx" type="module"></script>
</body>
</html>