From 6b9522153f8857952f59ec081c26075c67b4f5c5 Mon Sep 17 00:00:00 2001 From: seccodesmith Date: Tue, 27 May 2025 12:30:22 +0200 Subject: [PATCH] feat: update Contact page to use dynamic email and social links --- src/assets/styles/_variables.scss | 1 + src/pages/Contact.tsx | 80 +++++++++++++------------------ 2 files changed, 35 insertions(+), 46 deletions(-) diff --git a/src/assets/styles/_variables.scss b/src/assets/styles/_variables.scss index b147616..b2d30d2 100644 --- a/src/assets/styles/_variables.scss +++ b/src/assets/styles/_variables.scss @@ -9,6 +9,7 @@ $text-ash: #aaaaaa; $card-bg: #141414; $card-border: #2a2a2a; $code-bg: #1e1e1e; +$font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; // Effects $glow-effect: 0 0 10px $accent-fire, 0 0 20px rgba(255, 100, 0, 0.4); diff --git a/src/pages/Contact.tsx b/src/pages/Contact.tsx index b888149..75bcde9 100644 --- a/src/pages/Contact.tsx +++ b/src/pages/Contact.tsx @@ -36,14 +36,14 @@ export const Contact = () => {

For project inquiries or questions:

- - forge@seccodesmtih.com + + {data.email}

For business collaborations:

- - business@seccodesmtih.com + + {data.businessEmail}

@@ -51,53 +51,41 @@ export const Contact = () => { - {/* Connect Through Socials */} -
-
-
-
- -
-

Connect Through the Ether

-
-

You can also reach me through these digital pathways:

-
- - - GitHub - - - - LinkedIn - - - - Twitter - - - - Discord - - - - Telegram - - - - Stack Overflow - + { + data.socialLinks.length > 0 && ( +
+
+
+
+ +
+

Connect Through the Ether

+
+

You can also reach me through these digital pathways:

+
+ {data.socialLinks.map((link, index) => ( + + + + {link.platform} + + + ))} +
+
-
-
+ ) + } +
- + {/* FAQ Section */} -
+ < section className="py-5 bg-dark" >
@@ -140,10 +128,10 @@ export const Contact = () => {
-
+ {/* Map Section */} -
+ < section className="py-5" >
@@ -165,7 +153,7 @@ export const Contact = () => {
-
+ ); }; \ No newline at end of file