aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-11-13 19:03:44 +0100
committerArmand Philippot <git@armandphilippot.com>2023-11-13 19:03:44 +0100
commitfb29b0f017fae162ffa7ad6bdfc80099346802de (patch)
tree3f8aebb73457ee27b86b8b1a3106a5f9bc35e8da /src/pages
parente331106e56d59a8b987230860b66214139c12ef6 (diff)
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
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/contact.tsx4
-rw-r--r--src/pages/cv.tsx4
2 files changed, 4 insertions, 4 deletions
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 = [
- <SocialMedia
+ <SocialMediaWidget
heading={
<Heading isFake level={3}>
{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"
/>,
- <SocialMedia
+ <SocialMediaWidget
heading={
<Heading isFake level={3}>
{socialMediaTitle}