From c7ab612ec670d0f28429f262eaed78426b83c098 Mon Sep 17 00:00:00 2001 From: Murtadha Date: Fri, 19 Jul 2024 16:48:55 -0400 Subject: [PATCH] v0.11.0 Pass personal data as an object after retrieving it --- src/App.jsx | 9 ++-- src/components/aboutMe/AboutMe.jsx | 78 ++++++++++++++++++------------ src/components/contact/Contact.jsx | 10 ++-- src/components/footer/Footer.jsx | 31 ++++++------ src/components/hero/Hero.jsx | 11 +++-- version.txt | 2 +- 6 files changed, 80 insertions(+), 61 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index dbea55a..f5b29a7 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -41,6 +41,7 @@ function App() { const response = await fetch("/assets/data/personalData.json"); const data = await response.json(); setPersonalData(data); + console.log(data) }; fetchEducationData(); @@ -54,10 +55,10 @@ function App() {
- +
- +
@@ -76,10 +77,10 @@ function App() {
- +
-