diff --git a/src/pages/Blog.tsx b/src/pages/Blog.tsx new file mode 100644 index 0000000..c68652a --- /dev/null +++ b/src/pages/Blog.tsx @@ -0,0 +1,120 @@ +import { useState } from "react"; +import { Link } from "react-router-dom"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent } from "@/components/ui/card"; +import { Badge } from "@/components/ui/badge"; +import { Input } from "@/components/ui/input"; +import { ArrowRight, Clock, Mail } from "lucide-react"; +import Header from "@/components/Header"; +import Footer from "@/components/Footer"; + +const featuredArticle = { + title: "The Future of Design Systems in 2026", + excerpt: "How modern design systems are evolving beyond component libraries into intelligent, adaptive frameworks that bridge design and development.", + category: "Design", + author: "Alex Rivera", + date: "Mar 15, 2026", + readTime: "8 min read", + gradient: "from-violet-400 via-purple-500 to-indigo-600", +}; + +const articles = [ + { title: "Building Performant React Applications", excerpt: "Key strategies for optimizing React apps, from code splitting to server components.", category: "Development", date: "Mar 12, 2026", gradient: "from-sky-400 to-blue-500" }, + { title: "The ROI of Great UX Design", excerpt: "Why investing in user experience consistently delivers measurable business results.", category: "Marketing", date: "Mar 10, 2026", gradient: "from-rose-400 to-pink-500" }, + { title: "Color Theory for Digital Products", excerpt: "A practical guide to choosing and applying color palettes that convert.", category: "Design", date: "Mar 8, 2026", gradient: "from-emerald-400 to-teal-500" }, + { title: "AI-Powered Development Workflows", excerpt: "How AI tools are reshaping the way we write, test, and deploy code.", category: "Technology", date: "Mar 6, 2026", gradient: "from-amber-400 to-orange-500" }, + { title: "Content Strategy That Drives Growth", excerpt: "A framework for creating content that attracts, engages, and converts your target audience.", category: "Strategy", date: "Mar 4, 2026", gradient: "from-cyan-400 to-blue-500" }, + { title: "How We Rebuilt Acme Corp in 8 Weeks", excerpt: "An inside look at our process for delivering a complete digital transformation on a tight timeline.", category: "Case Study", date: "Mar 2, 2026", gradient: "from-fuchsia-400 to-purple-500" }, +]; + +export default function BlogPage() { + const [email, setEmail] = useState(""); + + return ( +
+
+ + {/* ── HERO ── */} +
+
+

Insights & Resources

+

+ Thoughts on design, development, marketing, and building great digital products. +

+
+
+ + {/* ── FEATURED ARTICLE ── */} +
+
+ +
+
+
+
+ Featured Image +
+ + {featuredArticle.category} +

{featuredArticle.title}

+

{featuredArticle.excerpt}

+
+ {featuredArticle.author} + {featuredArticle.date} + {featuredArticle.readTime} +
+
+
+ +
+
+ + {/* ── ARTICLE GRID ── */} +
+
+
+ {articles.map((article, i) => ( + +
+
+ Article Image +
+ + {article.category} +

{article.title}

+

{article.excerpt}

+
+
+

{article.date}

+
+ + + ))} +
+
+
+ + {/* ── NEWSLETTER ── */} +
+
+ +

Stay in the Loop

+

Get our latest insights delivered to your inbox. No spam, unsubscribe anytime.

+

Join 5,000+ subscribers

+
+ setEmail(e.target.value)} + className="flex-1" + /> + +
+
+
+ +
+ ); +} \ No newline at end of file