Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/landing/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ pnpm-debug.log*

# jetbrains setting folder
.idea/

# wrangler files
.wrangler
.dev.vars*
!.dev.vars.example
!.env.example
3 changes: 3 additions & 0 deletions packages/landing/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import rehypeExternalLinks from 'rehype-external-links';

import sitemap from '@astrojs/sitemap';

import cloudflare from '@astrojs/cloudflare';

// https://astro.build/config
export default defineConfig({
site: 'https://chorus-ai.dev',
Expand All @@ -24,4 +26,5 @@ export default defineConfig({
},

integrations: [sitemap()],
adapter: cloudflare(),
});
13 changes: 11 additions & 2 deletions packages/landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,21 @@
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"preview": "npm run build && wrangler dev",
"astro": "astro",
"generate-types": "wrangler types",
"deploy": "npm run build && wrangler deploy"
},
"dependencies": {
"@astrojs/cloudflare": "^13.1.10",
"@astrojs/sitemap": "^3.7.2",
"astro": "^6.1.4",
"rehype-external-links": "^3.0.0"
},
"devDependencies": {
"wrangler": "^4.83.0"
},
"overrides": {
"vite": "^7"
}
}
2 changes: 2 additions & 0 deletions packages/landing/public/.assetsignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_worker.js
_routes.json
12 changes: 9 additions & 3 deletions packages/landing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]
}
"include": [
".astro/types.d.ts",
"**/*",
"./worker-configuration.d.ts"
],
"exclude": [
"dist"
]
}
13 changes: 13 additions & 0 deletions packages/landing/wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compatibility_date": "2026-04-17",
"compatibility_flags": ["global_fetch_strictly_public"],
"name": "chorus-landing",
"main": "@astrojs/cloudflare/entrypoints/server",
"assets": {
"directory": "./dist",
"binding": "ASSETS"
},
"observability": {
"enabled": true
}
}
Loading