diff --git a/index.html b/index.html new file mode 100644 index 0000000..e7c0bb8 --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + +
+ + +loading...
+ + diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..f67b2c6 --- /dev/null +++ b/index.ts @@ -0,0 +1 @@ +console.log("Hello via Bun!"); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..9a70918 --- /dev/null +++ b/style.css @@ -0,0 +1,69 @@ +body { + max-width: 900px; + margin: 2rem auto; + padding: 0 1rem; + font-family: system-ui, sans-serif; + line-height: 1.5; +} + +h1 { + margin-bottom: 0.5rem; +} + +h2 { + margin-top: 2rem; + border-bottom: 1px solid #ccc; + padding-bottom: 0.25rem; +} + +.country { + margin-bottom: 2rem; +} + +.source { + margin: 0.5rem 0; + padding: 0.5rem; + border-left: 3px solid #ddd; +} + +.source a { + font-weight: 600; +} + +.leaning { + font-size: 0.85rem; + color: #666; + margin-left: 0.5rem; +} + +.leaning.left { color: #2563eb; } +.leaning.center-left { color: #3b82f6; } +.leaning.center { color: #6b7280; } +.leaning.center-right { color: #dc2626; } +.leaning.right { color: #b91c1c; } +.leaning.state { color: #7c3aed; } + +.description { + font-size: 0.9rem; + color: #444; + margin-top: 0.25rem; +} + +nav { + margin-bottom: 2rem; + display: flex; + flex-wrap: wrap; + gap: 0.5rem; +} + +nav a { + padding: 0.25rem 0.5rem; + background: #f3f4f6; + border-radius: 4px; + text-decoration: none; + font-size: 0.85rem; +} + +nav a:hover { + background: #e5e7eb; +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..bfa0fea --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + // Environment setup & latest features + "lib": ["ESNext"], + "target": "ESNext", + "module": "Preserve", + "moduleDetection": "force", + "jsx": "react-jsx", + "allowJs": true, + + // Bundler mode + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false + } +}