From fdb5c31801c4f3f57e64173490c5de2181d96098 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 02:02:28 +0000 Subject: [PATCH 1/2] Initial plan From cbe8cf196193accb152bab534fe0a2deed788098 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 02:04:57 +0000 Subject: [PATCH 2/2] Remove D1 database config and fix formatting Co-authored-by: zerozero-0-0 <167419177+zerozero-0-0@users.noreply.github.com> --- index.html | 2 +- src/components/Layout.jsx | 4 +-- src/index.css | 69 ++++++++++++++++++++++++--------------- wrangler.jsonc | 51 +++++++++++++++++++++-------- 4 files changed, 83 insertions(+), 43 deletions(-) diff --git a/index.html b/index.html index bec1119..89bf884 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + groupa diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index c147fa0..1e0e30f 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React from "react"; export default function Layout({ children }) { return ( @@ -18,4 +18,4 @@ export default function Layout({ children }) { ); -} \ No newline at end of file +} diff --git a/src/index.css b/src/index.css index 1b55015..475cd59 100644 --- a/src/index.css +++ b/src/index.css @@ -9,38 +9,55 @@ color: rgba(255, 255, 255, 0.87); background-color: #242424; - -/* project-level base customizations */ -:root { - --bg: #0b1221; -} - -html,body,#root { height: 100%; } -body { - @apply bg-[var(--bg)] text-slate-100 antialiased; -} - -/* small helper classes (if you need more, extend in tailwind.config.cjs) */ -.brand { @apply font-semibold tracking-wide; } -.card { @apply bg-white/5 p-5 rounded-lg mt-4; } -.muted { @apply text-slate-400; } -@layer base { + /* project-level base customizations */ :root { --bg: #0b1221; } - html, body, #root { height: 100%; } - + html, + body, + #root { + height: 100%; + } body { @apply bg-[var(--bg)] text-slate-100 antialiased; } -} - -@layer components { - .brand { @apply font-semibold tracking-wide; } - .card { @apply bg-white/5 p-5 rounded-lg mt-4; } - .muted { @apply text-slate-400; } -} + /* small helper classes (if you need more, extend in tailwind.config.cjs) */ + .brand { + @apply font-semibold tracking-wide; + } + .card { + @apply bg-white/5 p-5 rounded-lg mt-4; + } + .muted { + @apply text-slate-400; + } + @layer base { + :root { + --bg: #0b1221; + } + + html, + body, + #root { + height: 100%; + } + + body { + @apply bg-[var(--bg)] text-slate-100 antialiased; + } + } -} \ No newline at end of file + @layer components { + .brand { + @apply font-semibold tracking-wide; + } + .card { + @apply bg-white/5 p-5 rounded-lg mt-4; + } + .muted { + @apply text-slate-400; + } + } +} diff --git a/wrangler.jsonc b/wrangler.jsonc index ac0d0bd..f2f5eaa 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -1,23 +1,46 @@ - +/** + * For more details on how to configure Wrangler, refer to: + * https://developers.cloudflare.com/workers/wrangler/configuration/ + */ { "$schema": "node_modules/wrangler/config-schema.json", "name": "groupa", "main": "worker/index.js", - "compatibility_date": "2025-12-09", + "compatibility_date": "2025-12-02", "assets": { - "binding": "ASSETS", - "directory": "./public", - "not_found_handling": "single-page-application" + "not_found_handling": "single-page-application", }, "observability": { - "enabled": true + "enabled": true, }, - "d1_databases": [ - { - "binding": "DB", - "database_name": "webken-18", - "database_id": "webken-18", - "migrations_dir": "drizzle" - } - ] + /** + * Smart Placement + * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement + */ + // "placement": { "mode": "smart" } + /** + * Bindings + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including + * databases, object storage, AI inference, real-time communication and more. + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ + */ + /** + * Environment Variables + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables + */ + // "vars": { "MY_VARIABLE": "production_value" } + /** + * Note: Use secrets to store sensitive data. + * https://developers.cloudflare.com/workers/configuration/secrets/ + */ + /** + * Static Assets + * https://developers.cloudflare.com/workers/static-assets/binding/ + */ + // "assets": { "directory": "./public/", "binding": "ASSETS" } + /** + * Service Bindings (communicate between multiple Workers) + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings + */ + // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] }