Refactor BSC Score to Astro, TypeScript, and modular architecture

This commit is contained in:
Cursor Agent
2025-06-24 11:44:19 +00:00
parent bcf793b9e3
commit 6f626c9977
30 changed files with 1836 additions and 497 deletions

View File

@@ -1,9 +1,38 @@
---
import "../styles/index.css";
import App from "../components/App.jsx";
import BscScoreApp from "../components/BscScoreApp.astro";
import App from "../components/App";
---
<!-- Main entry point for the Pool Scoring App -->
<main class="screen-container">
<App client:only="preact" />
</main>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BSC Score - Pool Scoring App</title>
<meta name="description" content="Professional pool/billiards scoring application for tournaments and casual games">
<!-- Performance optimizations -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- PWA Meta tags -->
<meta name="theme-color" content="#1a1a1a">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/icon-512.png">
</head>
<body>
<BscScoreApp>
<!--
Using client:only for the main app since it's highly interactive
and benefits from full client-side rendering
-->
<App client:only="preact" slot="app-content" />
</BscScoreApp>
</body>
</html>