diff --git a/src/components/BlogCard.astro b/src/components/BlogCard.astro
index 919e75b..6899668 100644
--- a/src/components/BlogCard.astro
+++ b/src/components/BlogCard.astro
@@ -1,4 +1,8 @@
---
+/**
+ * MOREMINIMORE - BLOG CARD COMPONENT (LIGHT THEME)
+ */
+
interface Props {
title: string;
excerpt: string;
@@ -17,10 +21,13 @@ const formattedDate = date.toLocaleDateString('th-TH', { year: 'numeric', month:
{image &&
}
-
{formattedDate}
+
{category}
{title}
{excerpt}
-
อ่านต่อ →
+
@@ -28,47 +35,68 @@ const formattedDate = date.toLocaleDateString('th-TH', { year: 'numeric', month:
.blog-card {
display: block;
background: var(--color-white);
- border-radius: 16px;
+ border-radius: var(--radius-xl);
overflow: hidden;
- border: 1px solid rgba(0,0,0,0.05);
- transition: all 0.3s ease;
+ border: 1px solid var(--color-gray-200);
+ transition: all 0.3s var(--ease-out-expo);
}
+
.blog-card:hover {
transform: translateY(-8px);
- box-shadow: 0 20px 40px rgba(0,0,0,0.1);
+ box-shadow: var(--shadow-md);
+ border-color: var(--color-primary);
}
+
.blog-image {
aspect-ratio: 16/9;
overflow: hidden;
- background: var(--color-gray-100);
+ background: var(--color-bg-soft);
}
+
.blog-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
- .blog-card:hover .blog-image img { transform: scale(1.05); }
- .blog-content { padding: 24px; }
- .blog-date {
- font-size: 12px;
- color: var(--color-medium-gray);
- margin-bottom: 8px;
- display: block;
+
+ .blog-card:hover .blog-image img {
+ transform: scale(1.05);
}
- .blog-title {
- font-size: 18px;
- font-weight: 700;
- margin-bottom: 12px;
+
+ .blog-content {
+ padding: 24px;
+ }
+
+ .blog-category {
+ display: inline-block;
+ background: var(--color-primary);
color: var(--color-black);
+ padding: 4px 12px;
+ border-radius: var(--radius-sm);
+ font-size: 11px;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ margin-bottom: 12px;
+ }
+
+ .blog-title {
+ font-family: var(--font-display);
+ font-size: 18px;
+ font-weight: 800;
+ color: var(--color-black);
+ margin-bottom: 12px;
+ line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
+
.blog-excerpt {
font-size: 14px;
- color: var(--color-medium-gray);
+ color: var(--color-gray-600);
line-height: 1.6;
margin-bottom: 16px;
display: -webkit-box;
@@ -76,9 +104,26 @@ const formattedDate = date.toLocaleDateString('th-TH', { year: 'numeric', month:
-webkit-box-orient: vertical;
overflow: hidden;
}
- .blog-link {
- color: var(--color-primary);
- font-weight: 600;
- font-size: 14px;
+
+ .blog-footer {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
}
-
\ No newline at end of file
+
+ .blog-date {
+ font-size: 12px;
+ color: var(--color-gray-500);
+ }
+
+ .blog-link {
+ font-size: 14px;
+ font-weight: 700;
+ color: var(--color-black);
+ transition: color 0.3s ease;
+ }
+
+ .blog-card:hover .blog-link {
+ color: var(--color-primary-dark);
+ }
+
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index 83c8e02..d571f11 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -1,7 +1,7 @@
---
/**
- * MOREMINIMORE - FOOTER COMPONENT
- * Minimal design with animated elements
+ * MOREMINIMORE - FOOTER COMPONENT (LIGHT THEME)
+ * White bg + dark text + black-text logo (matches new light theme)
*/
const currentYear = new Date().getFullYear();
@@ -23,31 +23,20 @@ const serviceLinks = [
---