How sandeshbabar9378/yourclaw works
Project type and purpose
• This is a full-stack/static website built with Astro (a static-site generator that also supports server-side API routes).
• The domain is a pet adoption/breeder directory with pages for dogs, cats, breeders, adopters, donor listings, blog posts, FAQs, authentication pages, and a feedback API.
File structure
• Top-level:
• src/ — application source code
• astro.config.mjs, tailwind.config.mjs, tsconfig.json — build and tooling configs
• src/components/ — reusable UI elements (Navbar, Footer, Faq section, Loader, Login forms, small animations)
• src/layouts/ — global page layout (Layout.astro)
• src/pages/ — routing layer:
• Static pages (index.astro, about, contact)
• Dynamic content via [slug].astro under /pets, /adopters-pet, /donors-pet
• API folder (pages/api/send-feedback.js) for server-side feedback processing
• src/middleware.ts — any request middleware (e.g., auth checks)
README
• It’s the “Astro Starter Kit: Basics” readme: confirms standard Astro file structure and usage.
• No bespoke architecture docs; we infer dynamic/static rendering, SSG, SSR, serverless.