From 6d3ad494e957e56e5d62a9a8a8b9cfdb13b3003a Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Thu, 21 May 2026 15:26:41 +0700 Subject: [PATCH] Phase 3: Portfolio & Blog magazine-style redesign - Portfolio page: magazine hero, category filters, dark theme grid - Blog index page: editorial featured post, card grid layout - Consistent magazine styling with wave transitions --- src/pages/blog/index.astro | 533 ++++++++++++++++++++++++++++--- src/pages/portfolio.astro | 630 +++++++++++++++++++++++++++---------- 2 files changed, 943 insertions(+), 220 deletions(-) diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index b33697a..bfb6bc9 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -2,8 +2,6 @@ import Base from '../../layouts/Base.astro'; import Navigation from '../../components/Navigation.astro'; import Footer from '../../components/Footer.astro'; -import PageHero from '../../components/PageHero.astro'; -import BlogCard from '../../components/BlogCard.astro'; import { getCollection } from 'astro:content'; const blogPosts = await getCollection('blog'); @@ -13,58 +11,119 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date - + +
+
+
+
+
+ +
+
+
- +
+
+
+ + บทความ +
+ +

+ ความรู้ + ด้านดิจิทัล +

+ +

+ เทคนิคและความรู้ใหม่ๆ สำหรับธุรกิจไทย +

+
+
+ +
+ + + +
+
+ + {sortedPosts.length > 0 && ( -