- Replace MiniMax images with Unsplash (free commercial use) - Hero images: marketing, AI automation, tech consult, web dev, about-us - Illustrations: different from heroes for all 4 service pages - Fix ตัวอย่างการใช้งาน section on marketing-automation - Update about-us with hero image - All images stored locally (not hotlinks)
144 lines
4.4 KiB
Markdown
144 lines
4.4 KiB
Markdown
# MoreMiniMore Website - AI Agent Development Log
|
|
|
|
**Generated:** 2026-03-30
|
|
**Commit:** 193a4a4 (main)
|
|
**Last Updated:** March 30, 2026 (AI Automation + Tech Consult redesign)
|
|
|
|
---
|
|
|
|
## OVERVIEW
|
|
|
|
Astro 5.x Thai business website. PDPA-compliant with cookie consent. Auto-deploys to Easypanel from Gitea.
|
|
|
|
**Live:** https://moreminimore.com/
|
|
**Repo:** https://git.moreminimore.com/kunthawat/moreminimore-website
|
|
|
|
---
|
|
|
|
## TECH STACK
|
|
|
|
| Component | Version |
|
|
|-----------|---------|
|
|
| Astro | 5.x |
|
|
| Node adapter | @astrojs/node 9.x |
|
|
| Tailwind CSS | 4.x |
|
|
| Astro DB | 0.20 (SQLite) |
|
|
| Node | >=20.0.0 |
|
|
|
|
---
|
|
|
|
## PAGES (18 total)
|
|
|
|
| Route | Purpose |
|
|
|-------|---------|
|
|
| `/` | Homepage |
|
|
| `/ai-automation` | AI services (purple hero) |
|
|
| `/tech-consult` | Tech consulting (teal hero) |
|
|
| `/marketing-automation` | Marketing automation (green hero) |
|
|
| `/web-development` | Web dev services |
|
|
| `/about-us` | Company info |
|
|
| `/portfolio` | Work samples |
|
|
| `/faq` | FAQ page |
|
|
| `/contact-us` | Contact form |
|
|
| `/privacy-policy` | PDPA privacy policy |
|
|
| `/terms-and-conditions` | PDPA terms |
|
|
| `/admin/consent-logs` | Consent admin (password-protected) |
|
|
| `/api/consent` | Consent API |
|
|
| `/blog/[slug]` | Blog posts |
|
|
|
|
---
|
|
|
|
## RECENT CHANGES (March 30, 2026)
|
|
|
|
### GEO Support Added (Marketing Automation + Website Dev)
|
|
- Added GEO (Generative Engine Optimization) to both Marketing Automation and Website Development pages
|
|
- GEO = optimize for AI Search (ChatGPT, Perplexity, Google AI Overviews) alongside SEO
|
|
- Added GEO FAQ Schema (JSON-LD) to both pages
|
|
- Added GEO service card (Marketing Automation: "ปรากฏใน AI Search / ติด ChatGPT, Perplexity / Schema markup ครบ")
|
|
- Added GEO benefit (Website Dev: "GEO ติด AI Search - เว็บถูกอ้างอิงโดย ChatGPT, Perplexity, Google AI Overviews")
|
|
- Updated page titles/descriptions to mention GEO
|
|
|
|
### AI Automation Page Redesign
|
|
- Purple/indigo hero
|
|
- 4 services: Custom AI app, Data integration, AI analysis, Internal chatbot
|
|
- 10 case studies (hospital, factory, logistics, insurance, school, restaurant, construction, transport, real estate, SME)
|
|
- Yellow CTA sections
|
|
|
|
### Tech Consult Page Redesign
|
|
- Blue/teal hero
|
|
- 4 services: Marketing Automation, AI Automation, AI Hardware, รวมระบบ
|
|
- 10 case studies, 4 FAQs
|
|
- Yellow CTA sections
|
|
|
|
### Thai Spelling Fixes
|
|
- `ครบวงจน` → `ครบวงจร` (11 times across pages)
|
|
- `แล้วแนะนำ` → `จากนั้นจึงแนะนำ` (1 time)
|
|
- `ดูแลบำรุง` → `ดูแลและบำรุง` (1 time)
|
|
|
|
### Menu/Footer Cleanup
|
|
- Removed `/seo-content-system` links
|
|
- Moved Tech Consult to top of menu
|
|
|
|
---
|
|
|
|
## PDPA COMPLIANCE (March 10)
|
|
|
|
### Cookie Consent
|
|
- Component: `src/components/consent/CookieBanner.astro`
|
|
- Thai language Accept/Reject
|
|
- localStorage tracking
|
|
- Dispatches `consentGiven` event
|
|
|
|
### Privacy Policy
|
|
- 14 PDPA Section 36 requirements
|
|
- Data controller, purposes, rights, DPO contact
|
|
|
|
### Terms & Conditions
|
|
- 17 sections
|
|
- Thai Consumer Protection Act compliant
|
|
|
|
### Admin Dashboard
|
|
- `/admin/consent-logs`
|
|
- Password via `ADMIN_PASSWORD` env
|
|
- View/delete consent records
|
|
|
|
---
|
|
|
|
## DEPLOY
|
|
|
|
```bash
|
|
npm run build:remote # Build with SQLite DB
|
|
git push origin main # Easypanel auto-deploys (~3 min)
|
|
```
|
|
|
|
**Dockerfile:** Multi-stage (node:20-alpine), port 80, `node dist/server/entry.mjs`
|
|
|
|
---
|
|
|
|
## WHERE TO LOOK
|
|
|
|
| Task | File |
|
|
|------|------|
|
|
| AI Automation content | `src/pages/ai-automation.astro` |
|
|
| Tech Consult content | `src/pages/tech-consult.astro` |
|
|
| Marketing Automation + GEO | `src/pages/marketing-automation.astro` |
|
|
| Website Dev + GEO | `src/pages/web-development.astro` |
|
|
| Cookie consent | `src/components/consent/CookieBanner.astro` |
|
|
| Consent API | `src/pages/api/consent/index.ts` |
|
|
| Layout/menu | `src/layouts/Layout.astro` |
|
|
| Blog posts | `src/content/blog/*.md` |
|
|
|
|
---
|
|
|
|
## ANTI-PATTERNS
|
|
|
|
- **NEVER** use `ครบวงจน` (wrong) — correct is `ครบวงจร`
|
|
- **NEVER** use `แล้วแนะนำ` for sequential actions — use `จากนั้นจึงแนะนำ`
|
|
- **NEVER** use `ดูแลบำรุง` — correct is `ดูแลและบำรุง`
|
|
- **NEVER** use emojis in Astro components — use icons
|
|
- **NEVER** hardcode credentials — use env vars
|
|
|
|
---
|
|
|
|
**Status:** ✅ Production-ready, all pages redesigned, Thai errors fixed, GEO support added
|