import React, { useState } from "react"; import { Navigation } from "../components/Navigation"; import { Footer } from "../components/Footer"; import { Button } from "../components/ui/button"; import { Badge } from "../components/ui/badge"; import { Card, CardContent } from "../components/ui/card"; import { Input } from "../components/ui/input"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "../components/ui/select"; import { Search, Calendar, User, Tag, ArrowRight, BookOpen, } from "lucide-react"; import { navigateTo } from "../App"; export const Blog = () => { const [searchTerm, setSearchTerm] = useState(""); const [selectedCategory, setSelectedCategory] = useState("all"); const [selectedTag, setSelectedTag] = useState("all"); const categories = [ "All Categories", "Healthcare AI", "Fintech", "Case Study", "Automation", "Tech Trends", "How-to Guides", ]; const tags = [ "All Tags", "Artificial Intelligence", "Healthcare", "Fintech", "Compliance", "System Architecture", "Business Automation", "Digital Transformation", "Performance Optimization", ]; const featuredPosts = [ { id: "future-of-ai-healthcare", title: "The Future of AI in Healthcare: Transforming Patient Care Through Technology", excerpt: "Discover how artificial intelligence is revolutionizing healthcare delivery, from diagnostic accuracy to personalized treatment plans and administrative efficiency.", image: "https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?w=800&h=600&fit=crop&auto=format", author: "Dr. Sarah Chen", date: "January 8, 2025", category: "Healthcare AI", tags: ["Artificial Intelligence", "Healthcare", "Digital Transformation"], readTime: "12 min read", }, { id: "compliance-ready-systems-fintech", title: "Why Compliance-Ready Systems Are Crucial in Fintech Development", excerpt: "Exploring the critical importance of building compliance into fintech systems from day one, ensuring regulatory adherence while maintaining innovation and user experience.", image: "https://images.unsplash.com/photo-1551434678-e076c223a692?w=800&h=600&fit=crop&auto=format", author: "Michael Rodriguez", date: "January 5, 2025", category: "Fintech", tags: ["Fintech", "Compliance", "Financial Services"], readTime: "8 min read", }, { id: "legacy-system-scaling", title: "How WDI Scaled a Legacy System for 1 Million+ Users", excerpt: "A detailed case study on modernizing and scaling legacy systems for massive user growth, overcoming technical debt while maintaining business continuity.", image: "https://images.unsplash.com/photo-1558655146-9f40138edfeb?w=800&h=600&fit=crop&auto=format", author: "Alex Thompson", date: "December 28, 2024", category: "Case Study", tags: ["System Architecture", "Performance Optimization", "DevOps"], readTime: "15 min read", }, ]; const blogPosts = [ { id: "automation-reshaping-business", title: "5 Ways Automation is Reshaping Business Operations", excerpt: "Discover how intelligent automation is transforming modern business processes and operations, driving efficiency and creating new opportunities for growth.", image: "https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=600&h=400&fit=crop&auto=format", author: "Rachel Kim", date: "January 3, 2025", category: "Automation", tags: ["Business Automation", "Digital Transformation"], readTime: "10 min read", }, { id: 5, title: "Mobile-First Design: Creating Exceptional User Experiences", excerpt: "Why mobile-first design is crucial for modern applications and how to implement it effectively.", image: "https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=600&q=80", author: "Emma Johnson", date: "December 8, 2024", category: "Tech Trends", tags: ["Mobile", "UI/UX", "Design"], readTime: "5 min read", }, { id: 6, title: "Cybersecurity in the Age of Remote Work: Protecting Your Digital Assets", excerpt: "Essential cybersecurity practices for protecting your business in an increasingly remote world.", image: "https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=600&q=80", author: "James Wilson", date: "December 5, 2024", category: "Tech Trends", tags: ["Cybersecurity", "Remote Work"], readTime: "7 min read", }, { id: 7, title: "Complete Guide to Cloud Migration: Strategies, Challenges, and Solutions", excerpt: "A comprehensive guide to successfully migrating your infrastructure to the cloud with minimal disruption.", image: "https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=600&q=80", author: "David Kumar", date: "November 30, 2024", category: "How-to Guides", tags: ["Cloud", "Digital Transformation"], readTime: "10 min read", }, { id: 8, title: "The Rise of Low-Code Development: Accelerating Digital Innovation", excerpt: "How low-code platforms are democratizing software development and accelerating digital transformation.", image: "https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?auto=format&fit=crop&w=600&q=80", author: "Lisa Thompson", date: "November 28, 2024", category: "Tech Trends", tags: ["Software Development", "Innovation"], readTime: "6 min read", }, ]; const filteredPosts = blogPosts.filter((post) => { const matchesSearch = post.title.toLowerCase().includes(searchTerm.toLowerCase()) || post.excerpt.toLowerCase().includes(searchTerm.toLowerCase()); const matchesCategory = selectedCategory === "all" || post.category === selectedCategory; const matchesTag = selectedTag === "all" || post.tags.some((tag) => tag === selectedTag); return matchesSearch && matchesCategory && matchesTag; }); const handlePostClick = (post: any) => { if (typeof post.id === "string") { // Navigate to dedicated article page navigateTo(`/articles/${post.id}`); } else { // For placeholder posts, navigate to generic article detail navigateTo("/articles/generic-article"); } }; return (
{/* Hero Section */}
WDI Blog

WDI Blog: Insights, Innovation & Industry Trends

Welcome to the WDI Blog, your go-to source for the latest insights, expert opinions, and thought leadership in software development and digital transformation. We cover a range of topics from cutting-edge technologies to industry best practices, designed to inform, inspire, and empower your digital journey.

{/* Search and Filters */}
setSearchTerm(e.target.value)} className="pl-10 bg-background/50 border-white/10" />
{/* Featured Posts */}

Featured Blogs

{featuredPosts.map((post) => ( handlePostClick(post)} >
{post.title}
{post.category} {post.readTime}

{post.title}

{post.excerpt}

{post.tags.map((tag) => ( {tag} ))}
{post.author}
{post.date}
))}
{/* Blog Posts Grid */}

Latest Blogs

{filteredPosts.length} article {filteredPosts.length !== 1 ? "s" : ""} found
{filteredPosts.map((post) => ( handlePostClick(post)} >
{post.title}
{post.category} {post.readTime}

{post.title}

{post.excerpt}

{post.tags.map((tag) => ( {tag} ))}
{post.author}
{post.date}
))}
{filteredPosts.length === 0 && (

No articles found matching your criteria.

)}
{/* Newsletter Signup */}

Never Miss an Update

Subscribe to our newsletter for the latest blog posts and insights directly to your inbox.

{/* CTA Section */}

Ready to Transform Your Business?

Get insights from our experts and discover how we can help accelerate your digital transformation.

); };