From faaaa55d02087c0c522eaca34d302f75a979ac53 Mon Sep 17 00:00:00 2001 From: David Dias Date: Mon, 7 Aug 2023 22:42:36 -0400 Subject: [PATCH] feat: add social links --- app/(main)/layout.tsx | 47 +- components/Icons.tsx | 19 + package-lock.json | 2441 +++++++++++++++++++++++- package.json | 1 + public/images/logo-erreur-200-home.png | Bin 148009 -> 16422 bytes 5 files changed, 2487 insertions(+), 21 deletions(-) diff --git a/app/(main)/layout.tsx b/app/(main)/layout.tsx index 3002979..b29bb75 100644 --- a/app/(main)/layout.tsx +++ b/app/(main)/layout.tsx @@ -12,6 +12,8 @@ import { RSSIcon, PersonIcon, SpotifyIcon, + LinkedInIcon, + TwitterIcon, } from '@/components/Icons' import { HOSTS } from '@/constants' @@ -46,6 +48,19 @@ const podcastLinks: PodcastLink[] = [ }, ] +const socialLinks: PodcastLink[] = [ + { + label: 'X (Twitter)', + Icon: TwitterIcon, + url: 'https://twitter.com/erreur200radio', + }, + { + label: 'LinkedIn', + Icon: LinkedInIcon, + url: 'https://www.linkedin.com/company/82682070/admin/feed/posts/', + } +] + export default function MainLayout({ children }: { children: ReactNode }) { return ( @@ -65,10 +80,10 @@ export default function MainLayout({ children }: { children: ReactNode }) { ))} -
+
-
+

Erreur 200

-

+

Le podcast des gens qui font le web

@@ -111,12 +126,34 @@ export default function MainLayout({ children }: { children: ReactNode }) { ))} +
+

+ Venez échanger! +

+
    + {socialLinks.map(({ label, Icon, url }) => ( +
  • + + + {label} + +
  • + ))} +
+
{children}
-