# Contact Details Update & Bug Fix Summary
**Project:** workroot-website
**Date:** 2026-03-21
**Prepared by:** documentation-writer agent
---
## 1. Contact Information Update
The following contact details were updated across the entire codebase:
| Field | Updated Value |
|-------|---------------|
| **Address** | At Post Rajapur Shantinagar, Taluka Khatav, Dist Satara, MH 415503 |
| **Phone** | +91-9561417403 |
| **Email** | admin@workroot.in |
### Files Updated
| File | What Changed |
|------|--------------|
| `src/layouts/BaseLayout.astro` | Organization schema — address, phone, email |
| `src/pages/contact.astro` | Display contact details + LocalBusiness schema |
| `src/pages/about.astro` | Contact references in structured data |
| `src/pages/index.astro` | Open Graph / meta references |
| `src/components/SEO.astro` | Canonical URL and OG tags |
### Email Domain Migration Note
All pages previously used `.io` email variants (`hello@workroot.io`, `sales@workroot.io`).
These were migrated to `admin@workroot.in` to match the primary domain `workroot.in`.
---
## 2. Bug Fixes Applied
### Bug 1 — Blog Page Theme Styling
**Problem:** Blog page content did not apply dark/light theme correctly; text remained unstyled on theme toggle.
**Fix:** Updated `src/pages/blog/index.astro` and `src/pages/blog/[...slug].astro` with correct Tailwind dark-mode class variants.
**Impact:** Both blog listing and individual blog post pages now theme correctly.
---
### Bug 2 — Header Text Color in Dark Mode
**Problem:** Navigation/header text remained black when switching to dark mode.
**Fix:** Updated `src/components/Header.astro` — added `dark:text-white` / `dark:text-gray-100` classes to nav links and logo text.
**Impact:** Header is now fully theme-aware across all pages.
---
### Bug 3 — Read Blog 500 Error
**Problem:** Visiting individual blog post URLs returned a 500 Internal Server Error.
**Root cause:** SSR rendering issue in the dynamic `[...slug].astro` route — content collection query failed under certain slug patterns.
**Fix:** Corrected content collection query and added proper error handling in `src/pages/blog/[...slug].astro`.
**Impact:** All blog post pages now render correctly.
---
### Bug 4 — CORS Issues for Newsletter and Contact Forms
**Problem:** Newsletter subscription and Contact Us form submissions failed with CORS errors in cross-origin scenarios.
**Fix:** Updated `src/middleware.ts` to add proper CORS headers for API routes. Updated `src/pages/api/contact.ts` and `src/pages/api/newsletter.ts`.
**Impact:** Forms now work correctly from all allowed origins.
---
### Bug 5 — Duplicate Footer
**Problem:** Some pages rendered two footer instances.
**Fix:** Removed duplicate `` component import/usage from affected page layouts.
**Impact:** All pages now render exactly one footer.
---
## 3. Google Maps Embed Update
The Contact page previously displayed a static SVG map placeholder.
**Change:** Replaced the placeholder with a live Google Maps `