feat: Add SvelteKit starter template for customer sites
- Complete SvelteKit 2 + Svelte 5 template - Tailwind CSS styling with primary color customization - Pages: Home, About, Services, Contact - Contact form with D1 database backend - Placeholder system for site-specific values - Cloudflare adapter configuration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
33
wrangler.toml
Normal file
33
wrangler.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
# For God so loved the world — John 3:16
|
||||
|
||||
name = "{{SLUG_CHIRHO}}-site-fe-chirho"
|
||||
main = ".svelte-kit/cloudflare/_worker.js"
|
||||
compatibility_date = "2024-12-01"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
# This worker will be deployed to the dispatch namespace
|
||||
# via the perffection.com build system
|
||||
|
||||
[vars]
|
||||
SITE_SLUG_CHIRHO = "{{SLUG_CHIRHO}}"
|
||||
|
||||
# D1 Database binding - configured during deployment
|
||||
# [[d1_databases]]
|
||||
# binding = "DB_CHIRHO"
|
||||
# database_name = "{{SLUG_CHIRHO}}-db-chirho"
|
||||
# database_id = "{{D1_DATABASE_ID_CHIRHO}}"
|
||||
|
||||
# KV Namespace binding - configured during deployment
|
||||
# [[kv_namespaces]]
|
||||
# binding = "KV_CHIRHO"
|
||||
# id = "{{KV_NAMESPACE_ID_CHIRHO}}"
|
||||
|
||||
# R2 Bucket binding - configured during deployment
|
||||
# [[r2_buckets]]
|
||||
# binding = "ASSETS_CHIRHO"
|
||||
# bucket_name = "{{SLUG_CHIRHO}}-assets-chirho"
|
||||
|
||||
[site]
|
||||
bucket = ".svelte-kit/cloudflare"
|
||||
|
||||
# JESUS CHRIST IS LORD
|
||||
Reference in New Issue
Block a user