From 880b65d6aed25356dadb6e88338a31c1b79ec243 Mon Sep 17 00:00:00 2001 From: Manish Tiwari <50008945+manishtiwari25@users.noreply.github.com> Date: Sat, 18 Jul 2026 20:33:33 +0200 Subject: [PATCH] Restore core organization social links Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 5 +++- app/layout.tsx | 2 +- components/home/contact-section.tsx | 44 ++++++++++++----------------- components/home/footer.tsx | 25 ++++++---------- components/social-bar.tsx | 32 +++++++++++---------- components/social-platforms.ts | 18 ++++++++++++ lib/site-data.ts | 10 ++++++- 7 files changed, 75 insertions(+), 61 deletions(-) create mode 100644 components/social-platforms.ts diff --git a/README.md b/README.md index 6307c6f..b328c44 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,11 @@ The canonical production endpoints are [lamplitlabs.com](https://lamplitlabs.com ## Connect - [GitHub](https://github.com/lamplitlabs) -- [X](https://x.com/lamplitlabs) +- [Facebook](https://www.facebook.com/lamplitlabs) +- [Instagram](https://www.instagram.com/lamplitlabs) - [Blog](https://blogs.lamplitlabs.com) +- [X](https://x.com/lamplitlabs) +- [LinkedIn](https://www.linkedin.com/company/lamplitlabs) ## License diff --git a/app/layout.tsx b/app/layout.tsx index dd6c613..4413de1 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -114,7 +114,7 @@ const organizationJsonLd = { description: "A technology organization building practical tools that solve real problems - from medical exam prep to developer utilities.", foundingDate: "2020", - sameAs: [socialLinks.x], + sameAs: Object.values(socialLinks), contactPoint: { "@type": "ContactPoint", email: "hello@lamplitlabs.com", diff --git a/components/home/contact-section.tsx b/components/home/contact-section.tsx index 3e77f8c..495e554 100644 --- a/components/home/contact-section.tsx +++ b/components/home/contact-section.tsx @@ -1,6 +1,6 @@ -import { BookOpen, Github, Mail } from "lucide-react"; -import { XIcon } from "@/components/icons"; +import { Github, Mail } from "lucide-react"; import { OutboundLink } from "@/components/outbound-link"; +import { socialPlatforms } from "@/components/social-platforms"; import { Button } from "@/components/ui/button"; import { RevealSection } from "@/components/home/reveal-section"; import { socialLinks } from "@/lib/site-data"; @@ -42,30 +42,22 @@ export function ContactSection() { GitHub - - - X - - - - Blog - + {socialPlatforms.map(({ key, label, icon: Icon }) => ( + + + {label} + + ))} diff --git a/components/home/footer.tsx b/components/home/footer.tsx index 865d41d..a1c1cd6 100644 --- a/components/home/footer.tsx +++ b/components/home/footer.tsx @@ -1,17 +1,8 @@ -import type { ComponentType } from "react"; -import { XIcon } from "@/components/icons"; import { OutboundLink } from "@/components/outbound-link"; +import { socialPlatforms } from "@/components/social-platforms"; import { navLinks, products, socialLinks } from "@/lib/site-data"; import { Logo } from "@/components/logo"; -const footerSocialLinks: { - href: string; - icon: ComponentType<{ className?: string }>; - label: string; -}[] = [ - { href: socialLinks.x, icon: XIcon, label: "X" }, -]; - export function Footer() { return (