From fb29b0f017fae162ffa7ad6bdfc80099346802de Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 13 Nov 2023 19:03:44 +0100 Subject: refactor(components): replace SocialMedia with SocialMediaWidget * the goal is to make the name of the widgets coherent * remove useless CSS * replace Media type with SocialMediaData --- src/pages/contact.tsx | 4 ++-- src/pages/cv.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/pages') diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx index 094d15a..916e04c 100644 --- a/src/pages/contact.tsx +++ b/src/pages/contact.tsx @@ -9,7 +9,7 @@ import { ContactForm, getLayout, PageLayout, - SocialMedia, + SocialMediaWidget, Heading, type ContactFormSubmit, } from '../components'; @@ -80,7 +80,7 @@ const ContactPage: NextPageWithLayout = () => { }); const widgets = [ - {socialMediaTitle} diff --git a/src/pages/cv.tsx b/src/pages/cv.tsx index ad643c3..e2d1ae5 100644 --- a/src/pages/cv.tsx +++ b/src/pages/cv.tsx @@ -18,7 +18,7 @@ import { Link, List, PageLayout, - SocialMedia, + SocialMediaWidget, ListItem, type MetaItemData, Time, @@ -223,7 +223,7 @@ const CVPage: NextPageWithLayout = () => { // eslint-disable-next-line react/jsx-no-literals -- Key allowed key="image-widget" />, - {socialMediaTitle} -- cgit v1.2.3