Verify all pages have dark hero, white content

This commit is contained in:
Kunthawat Greethong
2026-05-21 16:21:05 +07:00
parent 6d3ad494e9
commit 985421cb6a
4 changed files with 955 additions and 745 deletions

View File

@@ -2,47 +2,151 @@
import Base from '../layouts/Base.astro'; import Base from '../layouts/Base.astro';
import Navigation from '../components/Navigation.astro'; import Navigation from '../components/Navigation.astro';
import Footer from '../components/Footer.astro'; import Footer from '../components/Footer.astro';
import PageHero from '../components/PageHero.astro';
--- ---
<Base title="เกี่ยวกับเรา - MoreminiMore"> <Base title="เกี่ยวกับเรา - MoreminiMore | รับทำเว็บไซต์ SEO AI Chatbot">
<Navigation /> <Navigation />
<PageHero <!-- =============================================
badge="เกี่ยวกับเรา" HERO SECTION
title="MOREMINIMORE" ============================================= -->
subtitle="ดิจิทัลเอเจนซี่ที่ช่วยให้ธุรกิจไทยเติบโตด้วยเทคโนโลยีสมัยใหม่" <section class="about-hero">
/> <div class="hero-bg">
<div class="hero-grid"></div>
</div>
<section class="about-content-section" style="background: #ffffff; margin-top: -2px; padding: 100px 0;"> <div class="container">
<div class="hero-content">
<div class="hero-badge">
<span class="badge-dot"></span>
<span class="badge-text">เกี่ยวกับเรา</span>
</div>
<h1 class="hero-title">
<span class="title-line">ดิจิทัลเอเจนซี่</span>
<span class="title-accent">ที่ช่วยธุรกิจไทย</span>
</h1>
<p class="hero-desc">
รับทำเว็บไซต์ AI Chatbot และระบบอัตโนมัติทางการตลาด
ที่ช่วยเพิ่มยอดขาย ลดต้นทุน ให้ธุรกิจ SMEs ไทย
</p>
</div>
</div>
<div class="hero-wave">
<svg viewBox="0 0 1440 100" fill="none" preserveAspectRatio="none">
<path d="M0 50C240 100 480 0 720 50C960 100 1200 0 1440 50V100H0V50Z" fill="#F8FAFC"/>
</svg>
</div>
</section>
<!-- =============================================
ABOUT CONTENT SECTION
============================================= -->
<section class="section about-section">
<div class="container"> <div class="container">
<div class="about-grid"> <div class="about-grid">
<div class="about-content reveal"> <div class="about-content">
<h2 class="about-title">เราคือทีมที่สร้างสรรค์<br/>โซลูชันดิจิทัล</h2> <h2 class="about-title">
เราคือทีมที่สร้างสรรค์<br/>
<span class="title-accent">โซลูชันดิจิทัล</span>
</h2>
<p class="about-text"> <p class="about-text">
MoreminiMore ก่อตั้งขึ้นด้วยความมุ่งมั่นในการช่วยเหลือธุรกิจไทยให้เติบโตในยุคดิจิทัล MoreminiMore ก่อตั้งขึ้นด้วยความมุ่งมั่นในการช่วยเหลือธุรกิจไทยให้เติบโตในยุคดิจิทัล
เราเชื่อว่าเทคโนโลยี AI และระบบอัตโนมัติสามารถช่วยเพิ่มประสิทธิภาพและลดต้นทุนได้อย่างมาก เราเชื่อว่าเทคโนโลยี AI และระบบอัตโนมัติสามารถช่วยเพิ่มประสิทธิภาพและลดต้นทุนได้อย่างมาก
</p> </p>
<p class="about-text"> <p class="about-text">
ทีมงานของเราประกอบด้วยผู้เชี่ยวชาญด้านการพัฒนาเว็บไซต์ การตลาดดิจิทัล และ AI ทีมงานของเราประกอบด้วยผู้เชี่ยวชาญด้านการพัฒนาเว็บไซต์ การตลาดดิจิทัล และ AI
ที่พร้อมให้คำปรึกษาและออกแบบโซลูชันที่เหมาะสมกับความต้องการของแต่ละธุรกิจ ที่พร้อมให้คำปรึกษาและออกแบบโซลูชันที่เหมาะสมกับความต้องการของแต่ละธุรกิจ
</p> </p>
<div class="about-actions">
<a href="/contact" class="btn btn-primary">ติดต่อเรา</a>
<a href="tel:0809955945" class="btn btn-outline-dark">080-995-5945</a>
</div>
</div>
<div class="about-values">
<div class="value-card">
<span class="value-number">100+</span>
<span class="value-label">ลูกค้า</span>
</div> </div>
<div class="about-values reveal">
<div class="value-card"> <div class="value-card">
<span class="value-number">50+</span> <span class="value-number">50+</span>
<span class="value-label">โปรเจกต์สำเร็จ</span> <span class="value-label">โปรเจกต์</span>
</div> </div>
<div class="value-card"> <div class="value-card">
<span class="value-number">40+</span> <span class="value-number">5 ปี</span>
<span class="value-label">ลูกค้าที่ไว้วางใจ</span> <span class="value-label">ประสบการณ์</span>
</div> </div>
<div class="value-card">
<span class="value-number">5+</span>
<span class="value-label">ปีประสบการณ์</span>
</div> </div>
</div> </div>
</div> </div>
</section>
<!-- =============================================
SERVICES OVERVIEW
============================================= -->
<section class="section services-section">
<div class="container">
<div class="section-header">
<span class="section-badge">บริการของเรา</span>
<h2 class="section-title">
ครบทุกโซลูชัน<br/><span class="title-accent">ด้านดิจิทัล</span>
</h2>
<p class="section-desc">
ให้เราดูแลทุกอย่าง ในขณะที่คุณโฟกัสที่ธุรกิจของคุณ
</p>
</div>
<div class="services-grid">
<div class="service-card">
<div class="service-icon">🌐</div>
<h3 class="service-title">รับทำเว็บไซต์</h3>
<p class="service-desc">เว็บไซต์ที่คุณแก้ไขเองได้ง่าย พร้อม AI ช่วยสร้างเนื้อหา + GEO ติด AI Search</p>
<a href="/services/webdev" class="service-link">ดูรายละเอียด →</a>
</div>
<div class="service-card">
<div class="service-icon">📱</div>
<h3 class="service-title">การตลาดอัตโนมัติ</h3>
<p class="service-desc">ส่งข้อความอัตโนมัติ วิเคราะห์ข้อมูล SEO ติด Google ครอบคลุมทุกช่องทาง</p>
<a href="/services/marketing" class="service-link">ดูรายละเอียด →</a>
</div>
<div class="service-card">
<div class="service-icon">🤖</div>
<h3 class="service-title">AI Automation</h3>
<p class="service-desc">เชื่อมข้อมูล วิเคราะห์ สร้างรายงาน แจ้งเตือนอัตโนมัติ พร้อม Chatbot</p>
<a href="/services/automation" class="service-link">ดูรายละเอียด →</a>
</div>
<div class="service-card">
<div class="service-icon">💡</div>
<h3 class="service-title">ที่ปรึกษา AI</h3>
<p class="service-desc">ที่ปรึกษาด้าน Marketing Automation, AI Automation และ AI Hardware</p>
<a href="/services/ai-consult" class="service-link">ดูรายละเอียด →</a>
</div>
</div>
</div>
</section>
<!-- =============================================
CONTACT CTA
============================================= -->
<section class="section cta-section">
<div class="container">
<div class="cta-content">
<h2 class="cta-title">พร้อมเริ่มต้นหรือยัง?</h2>
<p class="cta-desc">ปรึกษาฟรี! เราพร้อมช่วยวิเคราะห์และออกแบบโซลูชันที่เหมาะกับคุณ</p>
<div class="cta-actions">
<a href="/contact" class="btn btn-dark btn-lg">ติดต่อเรา</a>
<a href="tel:0809955945" class="btn btn-outline-dark btn-lg">080-995-5945</a>
</div>
</div>
</div> </div>
</section> </section>
@@ -50,88 +154,412 @@ import PageHero from '../components/PageHero.astro';
</Base> </Base>
<style> <style>
.about-content-section { /* =============================================
/* Inline styles handle background and padding */ ABOUT HERO
============================================= */
.about-hero {
position: relative;
min-height: 60vh;
display: flex;
align-items: center;
background: #0F172A;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
}
.hero-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(254, 212, 0, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(254, 212, 0, 0.03) 1px, transparent 1px);
background-size: 60px 60px;
}
.hero-content {
position: relative;
z-index: 2;
text-align: center;
padding: 100px 0 80px;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 10px 20px;
background: rgba(254, 212, 0, 0.15);
border: 1px solid rgba(254, 212, 0, 0.3);
border-radius: 100px;
margin-bottom: 24px;
}
.badge-dot {
width: 8px;
height: 8px;
background: #fed400;
border-radius: 50%;
}
.badge-text {
font-family: var(--font-display);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
color: #fed400;
}
.hero-title {
font-family: var(--font-display);
font-size: clamp(32px, 5vw, 52px);
font-weight: 900;
line-height: 1.15;
color: #ffffff;
margin-bottom: 20px;
}
.title-line {
display: block;
color: #ffffff;
}
.title-accent {
color: #fed400;
}
.hero-desc {
font-size: 18px;
color: rgba(255, 255, 255, 0.7);
max-width: 550px;
margin: 0 auto;
line-height: 1.7;
}
.hero-wave {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 80px;
z-index: 3;
}
.hero-wave svg {
width: 100%;
height: 100%;
}
/* =============================================
ABOUT SECTION
============================================= */
.about-section {
background: #F8FAFC;
padding: 80px 0;
} }
.about-grid { .about-grid {
display: grid; display: grid;
grid-template-columns: 1.5fr 1fr; grid-template-columns: 1.3fr 0.7fr;
gap: 80px; gap: 60px;
align-items: center; align-items: center;
} }
.about-title { .about-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: clamp(32px, 5vw, 48px); font-size: clamp(28px, 4vw, 40px);
font-weight: 900; font-weight: 900;
line-height: 1.2; line-height: 1.2;
margin-bottom: 32px; color: #0F172A;
color: var(--color-dark);
}
.about-text {
font-size: 18px;
line-height: 1.8;
color: var(--color-gray-600);
margin-bottom: 24px; margin-bottom: 24px;
} }
.about-text {
font-size: 17px;
line-height: 1.8;
color: #64748B;
margin-bottom: 20px;
}
.about-actions {
display: flex;
gap: 16px;
flex-wrap: wrap;
margin-top: 32px;
}
.about-values { .about-values {
display: grid; display: flex;
grid-template-columns: repeat(3, 1fr); flex-direction: column;
gap: 24px; gap: 16px;
} }
.value-card { .value-card {
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
padding: 32px 20px; gap: 20px;
background: var(--color-gray-100); padding: 24px;
border-radius: var(--radius-xl); background: #ffffff;
text-align: center; border-radius: 16px;
border: 2px solid #E2E8F0;
} }
.value-number { .value-number {
font-family: var(--font-display); font-family: var(--font-display);
font-size: 48px; font-size: 36px;
font-weight: 900; font-weight: 900;
color: var(--color-primary); color: #fed400;
line-height: 1; line-height: 1;
margin-bottom: 8px;
} }
.value-label { .value-label {
font-size: 14px; font-size: 15px;
color: var(--color-gray-600); color: #64748B;
font-weight: 500;
}
/* =============================================
SERVICES SECTION
============================================= */
.services-section {
background: #ffffff;
padding: 80px 0;
}
.section-header {
text-align: center;
margin-bottom: 48px;
}
.section-badge {
display: inline-block;
background: #fed400;
color: #000000;
padding: 8px 20px;
border-radius: 100px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 2px;
margin-bottom: 16px;
} }
.section-title {
font-family: var(--font-display);
font-size: clamp(28px, 4vw, 40px);
font-weight: 900;
line-height: 1.2;
color: #0F172A;
margin-bottom: 12px;
}
.title-accent {
color: #fed400;
}
.section-desc {
font-size: 16px;
color: #64748B;
max-width: 500px;
margin: 0 auto;
}
.services-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
.service-card {
background: #F8FAFC;
border: 2px solid #E2E8F0;
border-radius: 16px;
padding: 28px;
transition: all 0.3s ease;
}
.service-card:hover {
border-color: #fed400;
transform: translateY(-4px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.service-icon {
font-size: 32px;
margin-bottom: 16px;
}
.service-title {
font-family: var(--font-display);
font-size: 16px;
font-weight: 800;
color: #0F172A;
margin-bottom: 8px;
}
.service-desc {
font-size: 13px;
color: #64748B;
line-height: 1.5;
margin-bottom: 16px;
}
.service-link {
font-family: var(--font-display);
font-size: 13px;
font-weight: 700;
color: #fed400;
transition: color 0.3s ease;
}
.service-link:hover {
color: #e6c100;
}
/* =============================================
CTA SECTION
============================================= */
.cta-section {
background: #fed400;
padding: 80px 0;
}
.cta-content {
text-align: center;
}
.cta-title {
font-family: var(--font-display);
font-size: clamp(28px, 4vw, 36px);
font-weight: 800;
color: #000000;
margin-bottom: 12px;
}
.cta-desc {
font-size: 16px;
color: rgba(0, 0, 0, 0.7);
margin-bottom: 28px;
}
.cta-actions {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}
/* =============================================
BUTTONS
============================================= */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px 28px;
font-family: var(--font-display);
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1.5px;
border: none;
border-radius: 10px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
}
.btn-primary {
background: #fed400;
color: #000000;
}
.btn-primary:hover {
background: #e6c100;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(254, 212, 0, 0.4);
}
.btn-dark {
background: #0F172A;
color: #ffffff;
}
.btn-dark:hover {
background: #1E293B;
}
.btn-outline-dark {
background: transparent;
color: #000000;
border: 2px solid #000000;
}
.btn-outline-dark:hover {
background: #000000;
color: #ffffff;
}
.btn-lg {
padding: 16px 32px;
font-size: 14px;
}
/* =============================================
RESPONSIVE
============================================= */
@media (max-width: 1024px) { @media (max-width: 1024px) {
.about-grid { .about-grid {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 48px; gap: 48px;
} }
}
@media (max-width: 640px) {
.about-values { .about-values {
grid-template-columns: repeat(3, 1fr); flex-direction: row;
gap: 16px; flex-wrap: wrap;
} }
.value-card { .value-card {
padding: 24px 16px; flex: 1;
min-width: 140px;
} }
.value-number { .services-grid {
font-size: 36px; grid-template-columns: repeat(2, 1fr);
}
} }
.value-label { @media (max-width: 640px) {
font-size: 12px; .hero-title {
font-size: 28px;
}
.about-actions,
.cta-actions {
flex-direction: column;
}
.btn {
width: 100%;
}
.services-grid {
grid-template-columns: 1fr;
}
.about-values {
flex-direction: column;
} }
} }
</style> </style>

View File

@@ -12,16 +12,11 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
<Navigation /> <Navigation />
<!-- ============================================= <!-- =============================================
HERO SECTION - MAGAZINE STYLE HERO SECTION - DARK THEME
============================================= --> ============================================= -->
<section class="blog-hero"> <section class="blog-hero">
<div class="hero-bg"> <div class="hero-bg">
<div class="hero-grid"></div> <div class="hero-grid"></div>
<div class="hero-gradient"></div>
</div>
<div class="hero-deco">
<div class="deco-circle"></div>
</div> </div>
<div class="container"> <div class="container">
@@ -33,7 +28,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
<h1 class="hero-title"> <h1 class="hero-title">
<span class="title-line">ความรู้</span> <span class="title-line">ความรู้</span>
<span class="title-line title-accent">ด้านดิจิทัล</span> <span class="title-accent">ด้านดิจิทัล</span>
</h1> </h1>
<p class="hero-desc"> <p class="hero-desc">
@@ -44,13 +39,13 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
<div class="hero-wave"> <div class="hero-wave">
<svg viewBox="0 0 1440 100" fill="none" preserveAspectRatio="none"> <svg viewBox="0 0 1440 100" fill="none" preserveAspectRatio="none">
<path d="M0 50C240 100 480 0 720 50C960 100 1200 0 1440 50V100H0V50Z" fill="#ffffff"/> <path d="M0 50C240 100 480 0 720 50C960 100 1200 0 1440 50V100H0V50Z" fill="#F8FAFC"/>
</svg> </svg>
</div> </div>
</section> </section>
<!-- ============================================= <!-- =============================================
FEATURED POST - MAGAZINE STYLE FEATURED POST
============================================= --> ============================================= -->
{sortedPosts.length > 0 && ( {sortedPosts.length > 0 && (
<section class="featured-section"> <section class="featured-section">
@@ -79,7 +74,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
)} )}
<!-- ============================================= <!-- =============================================
BLOG GRID - EDITORIAL STYLE BLOG GRID
============================================= --> ============================================= -->
<section class="section blog-section"> <section class="section blog-section">
<div class="container"> <div class="container">
@@ -115,7 +110,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
<!-- ============================================= <!-- =============================================
CTA SECTION CTA SECTION
============================================= --> ============================================= -->
<section class="section section-primary cta-section"> <section class="section cta-section">
<div class="container"> <div class="container">
<div class="cta-content"> <div class="cta-content">
<h2 class="cta-title">ต้องการความช่วยเหลือ?</h2> <h2 class="cta-title">ต้องการความช่วยเหลือ?</h2>
@@ -133,7 +128,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
<style> <style>
/* ============================================= /* =============================================
BLOG HERO - MAGAZINE STYLE BLOG HERO
============================================= */ ============================================= */
.blog-hero { .blog-hero {
@@ -141,49 +136,24 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
min-height: 50vh; min-height: 50vh;
display: flex; display: flex;
align-items: center; align-items: center;
background: var(--color-white); background: #0F172A;
overflow: hidden; overflow: hidden;
} }
.hero-bg { .hero-bg {
position: absolute; position: absolute;
inset: 0; inset: 0;
z-index: 0;
} }
.hero-grid { .hero-grid {
position: absolute; position: absolute;
inset: 0; inset: 0;
background-image: background-image:
linear-gradient(rgba(254, 212, 0, 0.02) 1px, transparent 1px), linear-gradient(rgba(254, 212, 0, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(254, 212, 0, 0.02) 1px, transparent 1px); linear-gradient(90deg, rgba(254, 212, 0, 0.03) 1px, transparent 1px);
background-size: 60px 60px; background-size: 60px 60px;
} }
.hero-gradient {
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 50% 0%, rgba(254, 212, 0, 0.05) 0%, transparent 50%);
}
.hero-deco {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 1;
}
.deco-circle {
position: absolute;
width: 300px;
height: 300px;
background: var(--color-primary);
border-radius: 50%;
top: -100px;
left: -50px;
opacity: 0.05;
}
.hero-content { .hero-content {
position: relative; position: relative;
z-index: 2; z-index: 2;
@@ -195,48 +165,51 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 12px; gap: 12px;
padding: 12px 24px; padding: 10px 20px;
background: var(--color-primary); background: rgba(254, 212, 0, 0.15);
border: 1px solid rgba(254, 212, 0, 0.3);
border-radius: 100px; border-radius: 100px;
margin-bottom: 32px; margin-bottom: 24px;
} }
.badge-dot { .badge-dot {
width: 8px; width: 8px;
height: 8px; height: 8px;
background: var(--color-black); background: #fed400;
border-radius: 50%; border-radius: 50%;
} }
.badge-text { .badge-text {
font-family: var(--font-display); font-family: var(--font-display);
font-size: 12px; font-size: 11px;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 2px;
color: var(--color-black); color: #fed400;
} }
.hero-title { .hero-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: clamp(40px, 7vw, 64px); font-size: clamp(32px, 5vw, 52px);
font-weight: 900; font-weight: 900;
line-height: 1; line-height: 1.1;
color: var(--color-dark); color: #ffffff;
margin-bottom: 20px; margin-bottom: 16px;
} }
.title-line { .title-line {
display: block; display: block;
color: #ffffff;
} }
.title-accent { .title-accent {
color: var(--color-primary); display: block;
color: #fed400;
} }
.hero-desc { .hero-desc {
font-size: 20px; font-size: 18px;
color: var(--color-gray-600); color: rgba(255, 255, 255, 0.7);
max-width: 500px; max-width: 500px;
margin: 0 auto; margin: 0 auto;
} }
@@ -260,7 +233,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
============================================= */ ============================================= */
.featured-section { .featured-section {
background: var(--color-white); background: #F8FAFC;
padding: 60px 0 80px; padding: 60px 0 80px;
} }
@@ -268,15 +241,17 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
display: grid; display: grid;
grid-template-columns: 1.5fr 1fr; grid-template-columns: 1.5fr 1fr;
gap: 0; gap: 0;
background: var(--color-dark); background: #ffffff;
border-radius: 24px; border: 2px solid #E2E8F0;
border-radius: 20px;
overflow: hidden; overflow: hidden;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.featured-card:hover { .featured-card:hover {
border-color: #fed400;
transform: scale(1.01); transform: scale(1.01);
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
} }
.featured-image { .featured-image {
@@ -298,18 +273,18 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
.featured-badge { .featured-badge {
position: absolute; position: absolute;
top: 20px; top: 16px;
left: 20px; left: 16px;
background: var(--color-primary); background: #fed400;
color: var(--color-black); color: #000000;
padding: 8px 16px; padding: 6px 14px;
border-radius: 8px; border-radius: 8px;
font-size: 12px; font-size: 11px;
font-weight: 700; font-weight: 700;
} }
.featured-content { .featured-content {
padding: 48px; padding: 40px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
@@ -317,8 +292,8 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
.category-badge { .category-badge {
display: inline-block; display: inline-block;
background: rgba(254, 212, 0, 0.2); background: #F1F5F9;
color: var(--color-primary); color: #64748B;
padding: 4px 12px; padding: 4px 12px;
border-radius: 8px; border-radius: 8px;
font-size: 11px; font-size: 11px;
@@ -331,25 +306,25 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
.featured-title { .featured-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: clamp(24px, 3vw, 32px); font-size: clamp(22px, 3vw, 28px);
font-weight: 800; font-weight: 800;
color: var(--color-white); color: #0F172A;
margin-bottom: 16px; margin-bottom: 12px;
line-height: 1.3; line-height: 1.3;
} }
.featured-excerpt { .featured-excerpt {
font-size: 15px; font-size: 14px;
color: rgba(255, 255, 255, 0.6); color: #64748B;
line-height: 1.7; line-height: 1.7;
margin-bottom: 24px; margin-bottom: 20px;
} }
.read-more { .read-more {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
color: var(--color-primary); color: #fed400;
font-family: var(--font-display); font-family: var(--font-display);
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
@@ -371,28 +346,28 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
.section-header { .section-header {
text-align: center; text-align: center;
margin-bottom: 60px; margin-bottom: 48px;
} }
.section-badge { .section-badge {
display: inline-block; display: inline-block;
background: var(--color-primary); background: #fed400;
color: var(--color-black); color: #000000;
padding: 8px 20px; padding: 8px 20px;
border-radius: 100px; border-radius: 100px;
font-size: 12px; font-size: 11px;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 2px;
margin-bottom: 20px; margin-bottom: 16px;
} }
.section-title { .section-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: clamp(32px, 5vw, 48px); font-size: clamp(28px, 4vw, 40px);
font-weight: 900; font-weight: 900;
line-height: 1.1; line-height: 1.2;
color: var(--color-dark); color: #0F172A;
margin-bottom: 0; margin-bottom: 0;
} }
@@ -401,7 +376,8 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
============================================= */ ============================================= */
.blog-section { .blog-section {
background: var(--color-gray-100); background: #ffffff;
padding: 80px 0;
} }
.blog-grid { .blog-grid {
@@ -412,9 +388,9 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
.blog-card { .blog-card {
display: block; display: block;
background: var(--color-white); background: #ffffff;
border: 2px solid var(--color-gray-200); border: 2px solid #E2E8F0;
border-radius: 20px; border-radius: 16px;
overflow: hidden; overflow: hidden;
transition: all 0.4s ease; transition: all 0.4s ease;
animation: fadeUp 0.6s ease backwards; animation: fadeUp 0.6s ease backwards;
@@ -422,7 +398,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
} }
.blog-card:hover { .blog-card:hover {
border-color: var(--color-primary); border-color: #fed400;
transform: translateY(-8px); transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
} }
@@ -444,37 +420,36 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
} }
.blog-content { .blog-content {
padding: 28px; padding: 24px;
} }
.blog-category { .blog-category {
display: inline-block; display: inline-block;
background: #F1F5F9;
color: #64748B;
padding: 4px 12px; padding: 4px 12px;
background: var(--color-gray-100); border-radius: 8px;
color: var(--color-gray-600);
font-family: var(--font-display);
font-size: 10px; font-size: 10px;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 1px;
border-radius: 100px;
margin-bottom: 12px; margin-bottom: 12px;
} }
.blog-title { .blog-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: 18px; font-size: 17px;
font-weight: 800; font-weight: 800;
color: var(--color-dark); color: #0F172A;
margin-bottom: 12px; margin-bottom: 10px;
line-height: 1.3; line-height: 1.3;
} }
.blog-excerpt { .blog-excerpt {
font-size: 14px; font-size: 14px;
color: var(--color-gray-600); color: #64748B;
line-height: 1.6; line-height: 1.6;
margin-bottom: 16px; margin-bottom: 14px;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
@@ -483,7 +458,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
.blog-date { .blog-date {
font-size: 12px; font-size: 12px;
color: var(--color-gray-400); color: #94A3B8;
} }
/* ============================================= /* =============================================
@@ -491,7 +466,8 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
============================================= */ ============================================= */
.cta-section { .cta-section {
background: var(--color-primary); background: #fed400;
padding: 80px 0;
} }
.cta-content { .cta-content {
@@ -500,19 +476,16 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
.cta-title { .cta-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: clamp(28px, 4vw, 42px); font-size: clamp(28px, 4vw, 36px);
font-weight: 800; font-weight: 800;
margin-bottom: 16px; color: #000000;
color: var(--color-black); margin-bottom: 12px;
} }
.cta-desc { .cta-desc {
font-size: 18px; font-size: 16px;
color: rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
margin-bottom: 32px; margin-bottom: 28px;
max-width: 500px;
margin-left: auto;
margin-right: auto;
} }
.cta-actions { .cta-actions {
@@ -530,43 +503,43 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 12px; gap: 10px;
padding: 16px 32px; padding: 14px 28px;
font-family: var(--font-display); font-family: var(--font-display);
font-size: 14px; font-size: 13px;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 1.5px;
border: none; border: none;
border-radius: 12px; border-radius: 10px;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
text-decoration: none; text-decoration: none;
} }
.btn-dark { .btn-dark {
background: var(--color-dark); background: #0F172A;
color: var(--color-white); color: #ffffff;
} }
.btn-dark:hover { .btn-dark:hover {
background: var(--color-dark-light); background: #1E293B;
} }
.btn-outline-dark { .btn-outline-dark {
background: transparent; background: transparent;
color: var(--color-black); color: #000000;
border: 2px solid var(--color-black); border: 2px solid #000000;
} }
.btn-outline-dark:hover { .btn-outline-dark:hover {
background: var(--color-black); background: #000000;
color: var(--color-white); color: #ffffff;
} }
.btn-lg { .btn-lg {
padding: 18px 40px; padding: 16px 32px;
font-size: 15px; font-size: 14px;
} }
@keyframes fadeUp { @keyframes fadeUp {
@@ -598,7 +571,7 @@ const sortedPosts = blogPosts.sort((a, b) => b.data.date.valueOf() - a.data.date
} }
.featured-content { .featured-content {
padding: 32px; padding: 28px;
} }
.cta-actions { .cta-actions {

View File

@@ -9,16 +9,11 @@ import { portfolioItems } from '../data/portfolio';
<Navigation /> <Navigation />
<!-- ============================================= <!-- =============================================
HERO SECTION - MAGAZINE STYLE HERO SECTION - DARK THEME
============================================= --> ============================================= -->
<section class="portfolio-hero"> <section class="portfolio-hero">
<div class="hero-bg"> <div class="hero-bg">
<div class="hero-grid"></div> <div class="hero-grid"></div>
<div class="hero-gradient"></div>
</div>
<div class="hero-deco">
<div class="deco-circle"></div>
</div> </div>
<div class="container"> <div class="container">
@@ -30,7 +25,7 @@ import { portfolioItems } from '../data/portfolio';
<h1 class="hero-title"> <h1 class="hero-title">
<span class="title-line">โปรเจกต์ที่</span> <span class="title-line">โปรเจกต์ที่</span>
<span class="title-line title-accent">เราภาคภูมิใจ</span> <span class="title-accent">เราภาคภูมิใจ</span>
</h1> </h1>
<p class="hero-desc"> <p class="hero-desc">
@@ -41,31 +36,17 @@ import { portfolioItems } from '../data/portfolio';
<div class="hero-wave"> <div class="hero-wave">
<svg viewBox="0 0 1440 100" fill="none" preserveAspectRatio="none"> <svg viewBox="0 0 1440 100" fill="none" preserveAspectRatio="none">
<path d="M0 50C240 100 480 0 720 50C960 100 1200 0 1440 50V100H0V50Z" fill="#0F172A"/> <path d="M0 50C240 100 480 0 720 50C960 100 1200 0 1440 50V100H0V50Z" fill="#ffffff"/>
</svg> </svg>
</div> </div>
</section> </section>
<!-- ============================================= <!-- =============================================
FILTER SECTION PORTFOLIO GRID
============================================= -->
<section class="filter-section">
<div class="container">
<div class="filter-buttons" id="category-filters">
<button class="filter-btn active" data-category="all">ทั้งหมด</button>
<button class="filter-btn" data-category="webdev">พัฒนาเว็บไซต์</button>
<button class="filter-btn" data-category="ecommerce">อีคอมเมิร์ซ</button>
<button class="filter-btn" data-category="marketing">ที่ปรึกษาการตลาด</button>
</div>
</div>
</section>
<!-- =============================================
PORTFOLIO GRID - MAGAZINE STYLE
============================================= --> ============================================= -->
<section class="section portfolio-section"> <section class="section portfolio-section">
<div class="container"> <div class="container">
<div class="portfolio-grid" id="portfolio-grid"> <div class="portfolio-grid">
{portfolioItems.map((item, index) => ( {portfolioItems.map((item, index) => (
<article <article
class="portfolio-card" class="portfolio-card"
@@ -97,13 +78,13 @@ import { portfolioItems } from '../data/portfolio';
<!-- ============================================= <!-- =============================================
CTA SECTION CTA SECTION
============================================= --> ============================================= -->
<section class="section section-primary cta-section"> <section class="section cta-section">
<div class="container"> <div class="container">
<div class="cta-content"> <div class="cta-content">
<h2 class="cta-title">อยากได้เว็บไซต์แบบนี้บ้าง?</h2> <h2 class="cta-title">อยากได้เว็บไซต์แบบนี้บ้าง?</h2>
<p class="cta-desc">ปรึกษาฟรี! เราพร้อมช่วยวิเคราะห์และออกแบบโซลูชันที่เหมาะกับคุณ</p> <p class="cta-desc">ปรึกษาฟรี! เราพร้อมช่วยวิเคราะห์และออกแบบโซลูชันที่เหมาะกับคุณ</p>
<div class="cta-actions"> <div class="cta-actions">
<a href="/contact" class="btn btn-dark btn-lg">ปรึกษาฟรี</a> <a href="/contact" class="btn btn-primary btn-lg">ปรึกษาฟรี</a>
<a href="tel:0809955945" class="btn btn-outline-dark btn-lg">080-995-5945</a> <a href="tel:0809955945" class="btn btn-outline-dark btn-lg">080-995-5945</a>
</div> </div>
</div> </div>
@@ -115,7 +96,7 @@ import { portfolioItems } from '../data/portfolio';
<style> <style>
/* ============================================= /* =============================================
PORTFOLIO HERO - MAGAZINE STYLE PORTFOLIO HERO
============================================= */ ============================================= */
.portfolio-hero { .portfolio-hero {
@@ -123,49 +104,24 @@ import { portfolioItems } from '../data/portfolio';
min-height: 50vh; min-height: 50vh;
display: flex; display: flex;
align-items: center; align-items: center;
background: var(--color-white); background: #0F172A;
overflow: hidden; overflow: hidden;
} }
.hero-bg { .hero-bg {
position: absolute; position: absolute;
inset: 0; inset: 0;
z-index: 0;
} }
.hero-grid { .hero-grid {
position: absolute; position: absolute;
inset: 0; inset: 0;
background-image: background-image:
linear-gradient(rgba(254, 212, 0, 0.02) 1px, transparent 1px), linear-gradient(rgba(254, 212, 0, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(254, 212, 0, 0.02) 1px, transparent 1px); linear-gradient(90deg, rgba(254, 212, 0, 0.03) 1px, transparent 1px);
background-size: 60px 60px; background-size: 60px 60px;
} }
.hero-gradient {
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 50% 0%, rgba(254, 212, 0, 0.05) 0%, transparent 50%);
}
.hero-deco {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 1;
}
.deco-circle {
position: absolute;
width: 400px;
height: 400px;
background: var(--color-primary);
border-radius: 50%;
top: -150px;
right: -100px;
opacity: 0.05;
}
.hero-content { .hero-content {
position: relative; position: relative;
z-index: 2; z-index: 2;
@@ -177,48 +133,50 @@ import { portfolioItems } from '../data/portfolio';
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 12px; gap: 12px;
padding: 12px 24px; padding: 10px 20px;
background: var(--color-primary); background: rgba(254, 212, 0, 0.15);
border: 1px solid rgba(254, 212, 0, 0.3);
border-radius: 100px; border-radius: 100px;
margin-bottom: 32px; margin-bottom: 24px;
} }
.badge-dot { .badge-dot {
width: 8px; width: 8px;
height: 8px; height: 8px;
background: var(--color-black); background: #fed400;
border-radius: 50%; border-radius: 50%;
} }
.badge-text { .badge-text {
font-family: var(--font-display); font-family: var(--font-display);
font-size: 12px; font-size: 11px;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 2px;
color: var(--color-black); color: #fed400;
} }
.hero-title { .hero-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: clamp(40px, 7vw, 64px); font-size: clamp(32px, 5vw, 52px);
font-weight: 900; font-weight: 900;
line-height: 1; line-height: 1.1;
color: var(--color-dark); color: #ffffff;
margin-bottom: 20px; margin-bottom: 16px;
} }
.title-line { .title-line {
display: block; display: block;
color: #ffffff;
} }
.title-accent { .title-accent {
color: var(--color-primary); color: #fed400;
} }
.hero-desc { .hero-desc {
font-size: 20px; font-size: 18px;
color: var(--color-gray-600); color: rgba(255, 255, 255, 0.7);
max-width: 500px; max-width: 500px;
margin: 0 auto; margin: 0 auto;
} }
@@ -237,57 +195,13 @@ import { portfolioItems } from '../data/portfolio';
height: 100%; height: 100%;
} }
/* =============================================
FILTER SECTION
============================================= */
.filter-section {
background: #0F172A;
padding: 20px 0;
position: sticky;
top: 80px;
z-index: 10;
}
.filter-buttons {
display: flex;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
}
.filter-btn {
background: rgba(255, 255, 255, 0.05);
color: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 10px 24px;
border-radius: 100px;
font-family: var(--font-display);
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.filter-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--color-white);
border-color: rgba(255, 255, 255, 0.2);
}
.filter-btn.active {
background: var(--color-primary);
color: var(--color-black);
border-color: var(--color-primary);
}
/* ============================================= /* =============================================
PORTFOLIO SECTION PORTFOLIO SECTION
============================================= */ ============================================= */
.portfolio-section { .portfolio-section {
background: #0F172A; background: #ffffff;
padding-top: 80px; padding: 80px 0;
} }
.portfolio-grid { .portfolio-grid {
@@ -297,19 +211,19 @@ import { portfolioItems } from '../data/portfolio';
} }
.portfolio-card { .portfolio-card {
background: rgba(255, 255, 255, 0.02); background: #ffffff;
border-radius: 24px; border: 2px solid #E2E8F0;
border-radius: 20px;
overflow: hidden; overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.05);
transition: all 0.4s ease; transition: all 0.4s ease;
animation: fadeUp 0.6s ease backwards; animation: fadeUp 0.6s ease backwards;
animation-delay: var(--delay); animation-delay: var(--delay);
} }
.portfolio-card:hover { .portfolio-card:hover {
border-color: #fed400;
transform: translateY(-8px); transform: translateY(-8px);
border-color: var(--color-primary); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
box-shadow: 0 20px 50px rgba(254, 212, 0, 0.1);
} }
.portfolio-image { .portfolio-image {
@@ -348,12 +262,12 @@ import { portfolioItems } from '../data/portfolio';
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
background: var(--color-black); background: #000000;
color: var(--color-white); color: #ffffff;
padding: 14px 28px; padding: 14px 28px;
border-radius: 100px; border-radius: 100px;
font-family: var(--font-display); font-family: var(--font-display);
font-weight: 600; font-weight: 700;
font-size: 14px; font-size: 14px;
transition: transform 0.2s ease; transition: transform 0.2s ease;
} }
@@ -368,13 +282,13 @@ import { portfolioItems } from '../data/portfolio';
} }
.portfolio-content { .portfolio-content {
padding: 28px; padding: 24px;
} }
.portfolio-category { .portfolio-category {
display: inline-block; display: inline-block;
background: var(--color-primary); background: #F1F5F9;
color: var(--color-black); color: #64748B;
padding: 4px 12px; padding: 4px 12px;
border-radius: 8px; border-radius: 8px;
font-size: 11px; font-size: 11px;
@@ -384,15 +298,15 @@ import { portfolioItems } from '../data/portfolio';
.portfolio-name { .portfolio-name {
font-family: var(--font-display); font-family: var(--font-display);
font-size: 20px; font-size: 18px;
font-weight: 800; font-weight: 800;
color: var(--color-white); color: #0F172A;
margin-bottom: 8px; margin-bottom: 8px;
} }
.portfolio-desc { .portfolio-desc {
font-size: 14px; font-size: 14px;
color: rgba(255, 255, 255, 0.5); color: #64748B;
line-height: 1.6; line-height: 1.6;
} }
@@ -401,7 +315,8 @@ import { portfolioItems } from '../data/portfolio';
============================================= */ ============================================= */
.cta-section { .cta-section {
background: var(--color-primary); background: #fed400;
padding: 80px 0;
} }
.cta-content { .cta-content {
@@ -410,19 +325,16 @@ import { portfolioItems } from '../data/portfolio';
.cta-title { .cta-title {
font-family: var(--font-display); font-family: var(--font-display);
font-size: clamp(28px, 4vw, 42px); font-size: clamp(28px, 4vw, 36px);
font-weight: 800; font-weight: 800;
margin-bottom: 16px; color: #000000;
color: var(--color-black); margin-bottom: 12px;
} }
.cta-desc { .cta-desc {
font-size: 18px; font-size: 16px;
color: rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
margin-bottom: 32px; margin-bottom: 28px;
max-width: 500px;
margin-left: auto;
margin-right: auto;
} }
.cta-actions { .cta-actions {
@@ -440,43 +352,43 @@ import { portfolioItems } from '../data/portfolio';
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 12px; gap: 10px;
padding: 16px 32px; padding: 14px 28px;
font-family: var(--font-display); font-family: var(--font-display);
font-size: 14px; font-size: 13px;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 1.5px;
border: none; border: none;
border-radius: 12px; border-radius: 10px;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
text-decoration: none; text-decoration: none;
} }
.btn-dark { .btn-primary {
background: var(--color-dark); background: #0F172A;
color: var(--color-white); color: #ffffff;
} }
.btn-dark:hover { .btn-primary:hover {
background: var(--color-dark-light); background: #1E293B;
} }
.btn-outline-dark { .btn-outline-dark {
background: transparent; background: transparent;
color: var(--color-black); color: #000000;
border: 2px solid var(--color-black); border: 2px solid #000000;
} }
.btn-outline-dark:hover { .btn-outline-dark:hover {
background: var(--color-black); background: #000000;
color: var(--color-white); color: #ffffff;
} }
.btn-lg { .btn-lg {
padding: 18px 40px; padding: 16px 32px;
font-size: 15px; font-size: 14px;
} }
@keyframes fadeUp { @keyframes fadeUp {
@@ -500,15 +412,6 @@ import { portfolioItems } from '../data/portfolio';
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.filter-buttons {
gap: 8px;
}
.filter-btn {
padding: 8px 16px;
font-size: 12px;
}
.cta-actions { .cta-actions {
flex-direction: column; flex-direction: column;
} }
@@ -518,28 +421,3 @@ import { portfolioItems } from '../data/portfolio';
} }
} }
</style> </style>
<script>
document.addEventListener('DOMContentLoaded', () => {
const filterBtns = document.querySelectorAll('.filter-btn');
const portfolioCards = document.querySelectorAll('.portfolio-card');
filterBtns.forEach(btn => {
btn.addEventListener('click', () => {
const category = btn.getAttribute('data-category');
filterBtns.forEach(b => b.classList.remove('active'));
btn.classList.add('active');
portfolioCards.forEach(card => {
const cardCategory = card.getAttribute('data-category');
if (category === 'all' || cardCategory === category) {
(card as HTMLElement).style.display = 'block';
} else {
(card as HTMLElement).style.display = 'none';
}
});
});
});
});
</script>

File diff suppressed because it is too large Load Diff