RTSDA-Website/astro-church-website
Benjamin Slingo f91f696334 Convert admin panel to Astro routes and remove thumbnail field
Major architecture cleanup following CLAUDE.md rules:

## Admin Panel Conversion (1843 lines → TypeScript routes)
- Remove public/admin/scripts/main.js (direct API calls violation)
- Add proper Astro admin routes with TypeScript API endpoints
- Add missing admin functions in church-core Rust crate
- Update bindings.js to expose new admin functions

## Thumbnail Field Removal
- Remove thumbnail upload section from event submission form
- Clean up thumbnail-related JavaScript code

## Architecture Compliance Achieved
 Frontend → bindings.js → Rust FFI → church-core → API
 Frontend → fetch() → External API (eliminated)

Files: +13 admin routes, -1843 line JS file, enhanced Rust core
2025-08-28 21:58:49 -04:00
..
.cargo Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
cpp Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
linux Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
public Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
src Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
.gitignore Fix light mode visibility and sermon page filtering 2025-08-23 14:27:42 -04:00
astro.config.mjs Initial commit - source code only with SecondThirdSaturday recurring type fix 2025-08-16 18:28:35 -04:00
build.rs Initial commit - source code only with SecondThirdSaturday recurring type fix 2025-08-16 18:28:35 -04:00
Cargo.toml Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
DEPLOYMENT.md Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
Dockerfile Fix light mode visibility and sermon page filtering 2025-08-23 14:27:42 -04:00
index.cjs Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
index.d.ts Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
package-lock.json Fix PO BOX display and security vulnerability 2025-08-26 17:22:25 -04:00
package.json Convert admin panel to Astro routes and remove thumbnail field 2025-08-28 21:58:49 -04:00
README.md Fix light mode visibility and sermon page filtering 2025-08-23 14:27:42 -04:00
tailwind.config.mjs Fix light mode visibility and sermon page filtering 2025-08-23 14:27:42 -04:00
tailwind.dark.config.mjs Fix light mode visibility and sermon page filtering 2025-08-23 14:27:42 -04:00
tailwind.light.config.mjs Fix light mode visibility and sermon page filtering 2025-08-23 14:27:42 -04:00
tsconfig.json Initial commit - source code only with SecondThirdSaturday recurring type fix 2025-08-16 18:28:35 -04:00

Astro Starter Kit: Minimal

npm create astro@latest -- --template minimal

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
├── src/
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.