# Juozas Auto Static Astro website for a small Lithuanian used-car seller at `auto.juozas.lt`. ## Commands ```sh npm install npm run dev npm test npm run build npm run start ``` ## Add A New Car 1. Create a folder for photos: `src/content/cars/_photos//`. 2. Add photos named `01.jpg`, `02.jpg`, and so on. Use real car photos, landscape crop preferred. Astro will generate optimized AVIF output during build. 3. Create `src/content/cars/.md`. 4. Use lowercase ASCII slugs, for example `skoda-octavia-2020-siauliai.md`. 5. Add frontmatter matching `src/content/config.ts`, then write the Lithuanian description below it. 6. Run `npm run build` before publishing. Example photo reference: ```yaml photos: - ./_photos/skoda-octavia-2020-siauliai/01.jpg - ./_photos/skoda-octavia-2020-siauliai/02.jpg ``` ## Mark A Car As Sold Open the car markdown file and set: ```yaml sold: true ``` Sold cars are hidden by default. To show a sold section on the homepage, set `showSoldCars: true` in `src/site.ts`. ## Meta Pixel Set `PUBLIC_META_PIXEL_ID` in Coolify or Vercel environment variables. `META_PIXEL_ID` is also supported for build-time compatibility. Leave both empty locally if the pixel should not load. Tracking setup: 1. `PageView` fires on every route with a unique `eventID` and page context. 2. Phone and WhatsApp buttons fire `Contact` with `content_name`, `content_ids`, `contact_channel`, `currency`, and `value` when listing data is available. 3. The sell-car form fires `Lead` on submit when a form endpoint is configured. 4. Events also push to `window.dataLayer` for future Google Tag Manager or debugging. 5. A `