"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Heart, Instagram, Linkedin, Mail, MessageSquare, Twitter, Verified } from 'lucide-react';

export default function SocialHubPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="mediumSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "Messages", id: "messages" },
            { name: "Explore", id: "explore" },
            { name: "Settings", id: "settings" },
            { name: "Profile", id: "profile" }
          ]}
          brandName="SocialHub"
          bottomLeftText="Social Community"
          bottomRightText="hello@socialhub.com"
        />
      </div>
      
      <div id="profile-header" data-section="profile-header" className="py-12">
        <TestimonialAboutCard
          tag="Professional"
          tagIcon={Verified}
          title="Alexandra Mitchell"
          description="Creative Director & Content Creator"
          subdescription="Joined 2 years ago"
          icon={Heart}
          imageSrc="https://img.b2bpic.net/free-photo/close-up-portrait-young-bearded-man-white-shirt-jacket-posing-camera-with-broad-smile-isolated-gray_171337-629.jpg"
          imageAlt="Alexandra Mitchell Profile"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="follower-stats" data-section="follower-stats" className="py-16">
        <MetricCardTen
          metrics={[
            {
              id: "followers",              title: "Total Followers",              subtitle: "Growing community engagement",              category: "Community",              value: "248.5K",              buttons: [{ text: "View All", href: "#" }]
            },
            {
              id: "following",              title: "Following",              subtitle: "Connections & interests",              category: "Network",              value: "1,234",              buttons: [{ text: "Manage", href: "#" }]
            },
            {
              id: "engagement",              title: "Avg. Engagement Rate",              subtitle: "Per post & story",              category: "Analytics",              value: "8.4%",              buttons: [{ text: "Details", href: "#" }]
            }
          ]}
          title="Your Stats"
          description="Track your social media growth and engagement"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
        />
      </div>
      
      <div id="stories" data-section="stories" className="py-12">
        <BlogCardOne
          blogs={[
            {
              id: "story-1",              category: "Today",              title: "Morning Vibes",              excerpt: "Starting the day with positive energy and great coffee",              imageSrc: "https://img.b2bpic.net/free-vector/fashion-sale-instagram-stories-collection_23-2148182167.jpg",              imageAlt: "Morning story",              authorName: "You",              authorAvatar: "https://img.b2bpic.net/free-vector/colored-teamwork-avatars-flat-design_23-2147550860.jpg",              date: "2h ago"
            },
            {
              id: "story-2",              category: "Yesterday",              title: "Travel Adventures",              excerpt: "Exploring new destinations and creating memories",              imageSrc: "https://img.b2bpic.net/free-vector/gradient-sale-instagram-story-collection_23-2148849584.jpg",              imageAlt: "Travel story",              authorName: "You",              authorAvatar: "https://img.b2bpic.net/free-vector/colored-teamwork-avatars-flat-design_23-2147550860.jpg",              date: "1d ago"
            },
            {
              id: "story-3",              category: "Week Ago",              title: "Studio Work",              excerpt: "Behind the scenes of creative projects",              imageSrc: "https://img.b2bpic.net/free-vector/travel-instagram-stories-collection_52683-25893.jpg",              imageAlt: "Studio story",              authorName: "You",              authorAvatar: "https://img.b2bpic.net/free-vector/colored-teamwork-avatars-flat-design_23-2147550860.jpg",              date: "7d ago"
            }
          ]}
          title="Your Stories"
          description="Moments from the past 24 hours and beyond"
          tag="Stories"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          carouselMode="buttons"
        />
      </div>
      
      <div id="posts-feed" data-section="posts-feed" className="py-16">
        <BlogCardOne
          blogs={[
            {
              id: "post-1",              category: "Photography",              title: "Golden Hour Capture",              excerpt: "Beautiful moments from today's sunset session. Nature never fails to inspire.",              imageSrc: "https://img.b2bpic.net/free-psd/online-courses-social-media-post-collection-set_47987-33999.jpg",              imageAlt: "Golden hour photo",              authorName: "Alexandra Mitchell",              authorAvatar: "https://img.b2bpic.net/free-vector/colored-teamwork-avatars-flat-design_23-2147550860.jpg",              date: "3h ago"
            },
            {
              id: "post-2",              category: "Lifestyle",              title: "Creative Workspace Tour",              excerpt: "My new studio setup! Designed for maximum creativity and productivity.",              imageSrc: "https://img.b2bpic.net/free-psd/listening-podcasts-instagram-posts-template_23-2150044938.jpg",              imageAlt: "Workspace",              authorName: "Alexandra Mitchell",              authorAvatar: "https://img.b2bpic.net/free-vector/colored-teamwork-avatars-flat-design_23-2147550860.jpg",              date: "1d ago"
            },
            {
              id: "post-3",              category: "Design",              title: "New Brand Identity Launch",              excerpt: "Thrilled to unveil our latest branding project. Swipe to see the full collection.",              imageSrc: "https://img.b2bpic.net/free-psd/flat-design-business-strategy-instagram-posts_23-2150534859.jpg",              imageAlt: "Brand identity",              authorName: "Alexandra Mitchell",              authorAvatar: "https://img.b2bpic.net/free-vector/colored-teamwork-avatars-flat-design_23-2147550860.jpg",              date: "3d ago"
            },
            {
              id: "post-4",              category: "Community",              title: "Collaboration Announcement",              excerpt: "So excited to partner with amazing creators on this exclusive project!",              imageSrc: "https://img.b2bpic.net/free-psd/influencer-template-design_23-2150590688.jpg",              imageAlt: "Collaboration",              authorName: "Alexandra Mitchell",              authorAvatar: "https://img.b2bpic.net/free-vector/colored-teamwork-avatars-flat-design_23-2147550860.jpg",              date: "5d ago"
            }
          ]}
          title="Posts Feed"
          description="Your latest content and community interactions"
          tag="Feed"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
        />
      </div>
      
      <div id="contact-cta" data-section="contact-cta" className="py-12">
        <ContactCTA
          tag="Get Connected"
          tagIcon={MessageSquare}
          title="Connect with Alexandra"
          description="Follow, message, or collaborate on exciting projects. Let's create something amazing together!"
          buttons={[
            { text: "Follow", href: "#" },
            { text: "Send Message", href: "#" }
          ]}
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterCard
          logoText="SocialHub"
          copyrightText="© 2025 SocialHub. All rights reserved."
          socialLinks={[
            { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" },
            { icon: Mail, href: "mailto:hello@socialhub.com", ariaLabel: "Email" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}