aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/landing/sections
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-08-03 17:18:19 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-08-03 17:20:27 +0200
commit762e613d5a0f95bf4b927814715d044c442f2b07 (patch)
tree2ae067c4dc26dfc495fcc268d9c7abec5680169b /src/components/landing/sections
parentchore(deps): bump dependencies (diff)
downloadblog-762e613d5a0f95bf4b927814715d044c442f2b07.tar.gz
blog-762e613d5a0f95bf4b927814715d044c442f2b07.tar.zst
blog-762e613d5a0f95bf4b927814715d044c442f2b07.zip
chore(deps): bump dependencies
Diffstat (limited to 'src/components/landing/sections')
-rw-r--r--src/components/landing/sections/Contact.module.css6
-rw-r--r--src/components/landing/sections/Contact.tsx15
2 files changed, 7 insertions, 14 deletions
diff --git a/src/components/landing/sections/Contact.module.css b/src/components/landing/sections/Contact.module.css
index 5b556dd..4ff19df 100644
--- a/src/components/landing/sections/Contact.module.css
+++ b/src/components/landing/sections/Contact.module.css
@@ -59,10 +59,6 @@
59 color: var(--marussy-contact-icon-color); 59 color: var(--marussy-contact-icon-color);
60} 60}
61 61
62.contact__icon-holder--fediverse {
63 padding: 0.75rem;
64}
65
66.contact__icon { 62.contact__icon {
67 width: 2.5rem; 63 width: 2.5rem;
68 height: 2.5rem; 64 height: 2.5rem;
@@ -73,8 +69,6 @@
73} 69}
74 70
75.contact__icon--fediverse { 71.contact__icon--fediverse {
76 width: 3rem;
77 height: 3rem;
78 margin: -0.0625rem -0.0625rem 0.0625rem 0.0625rem; 72 margin: -0.0625rem -0.0625rem 0.0625rem 0.0625rem;
79} 73}
80 74
diff --git a/src/components/landing/sections/Contact.tsx b/src/components/landing/sections/Contact.tsx
index 17ca6d8..f95e458 100644
--- a/src/components/landing/sections/Contact.tsx
+++ b/src/components/landing/sections/Contact.tsx
@@ -11,12 +11,13 @@ import {
11 EnvelopeSimple, 11 EnvelopeSimple,
12 HandWaving, 12 HandWaving,
13 MapPin, 13 MapPin,
14 MicrosoftTeamsLogo,
14 Phone, 15 Phone,
15} from '@phosphor-icons/react'; 16} from '@phosphor-icons/react';
16import clsx from 'clsx'; 17import clsx from 'clsx';
17 18
18import Section from '@site/src/components/landing/Section'; 19import Section from '@site/src/components/landing/Section';
19import { FediverseIcon, GPGIcon, TeamsIcon } from '@site/src/components/icons'; 20import { FediverseIcon, GPGIcon } from '@site/src/components/icons';
20import photo from '@site/src/pages/bme-building-i-cropped.jpg?placeholder=true&sizes[]=644&sizes[]=1288&sizes[]=2576&rl'; 21import photo from '@site/src/pages/bme-building-i-cropped.jpg?placeholder=true&sizes[]=644&sizes[]=1288&sizes[]=2576&rl';
21 22
22import styles from './Contact.module.css'; 23import styles from './Contact.module.css';
@@ -64,7 +65,10 @@ export default function Contact() {
64 <div className={clsx('col', 'col--4', styles.col)}> 65 <div className={clsx('col', 'col--4', styles.col)}>
65 <div className={styles.contact}> 66 <div className={styles.contact}>
66 <div className={styles['contact__icon-holder']}> 67 <div className={styles['contact__icon-holder']}>
67 <TeamsIcon hidden className={styles.contact__icon} /> 68 <MicrosoftTeamsLogo
69 aria-hidden="true"
70 className={styles.contact__icon}
71 />
68 <Phone 72 <Phone
69 aria-hidden="true" 73 aria-hidden="true"
70 className={clsx( 74 className={clsx(
@@ -175,12 +179,7 @@ export default function Contact() {
175 </div> 179 </div>
176 <div className={clsx('col', 'col--6', styles.col)}> 180 <div className={clsx('col', 'col--6', styles.col)}>
177 <div className={styles.contact}> 181 <div className={styles.contact}>
178 <div 182 <div className={styles['contact__icon-holder']}>
179 className={clsx(
180 styles['contact__icon-holder'],
181 styles['contact__icon-holder--fediverse'],
182 )}
183 >
184 <FediverseIcon 183 <FediverseIcon
185 className={clsx( 184 className={clsx(
186 styles.contact__icon, 185 styles.contact__icon,