Changes: 1. Removed Chatbot as separate service (integrated in AI Automation) 2. Added official social media icons (Facebook, Twitter, LinkedIn logos) 3. Added submenu in navigation for all services 4. Updated footer to match services (5 services) 5. Reordered services: Website, App, AI Transform, Marketing, AI Automation 6. All menu items link to specific pages (not landing page) 7. Redesigned process section (grid cards instead of connected line) 8. Added blog with Astro Content Collections (4 posts as .md files) 9. Created blog listing and individual post pages 10. All services have dedicated pages with original content Services (5 total): 1. พัฒนาเว็บไซต์ 2. พัฒนาแอปพลิเคชัน 3. ที่ปรึกษาองค์กร AI 4. ที่ปรึกษาการตลาดออนไลน์ 5. AI Automation Blog: - 4 posts migrated from original site - Astro Content Collections setup - /blog listing page - Dynamic /blog/[slug] pages
17 lines
314 B
TypeScript
17 lines
314 B
TypeScript
import { defineCollection, z } from 'astro:content';
|
|
|
|
const blog = defineCollection({
|
|
type: 'content',
|
|
schema: z.object({
|
|
title: z.string(),
|
|
description: z.string(),
|
|
pubDate: z.coerce.date(),
|
|
author: z.string(),
|
|
tags: z.array(z.string()),
|
|
}),
|
|
});
|
|
|
|
export const collections = {
|
|
blog,
|
|
};
|