From ad7079ef388a99d3626a34117d5fa61747af3713 Mon Sep 17 00:00:00 2001 From: Murtadha Date: Sat, 27 Jul 2024 20:34:23 -0400 Subject: [PATCH] v0.12.1 Use new component in App, AboutMe and Footer sections instead of anchor tag --- src/App.jsx | 3 ++- src/components/aboutMe/AboutMe.jsx | 6 +++--- src/components/footer/Footer.jsx | 7 +++++-- version.txt | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 9f96aaa..5c030a1 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -3,13 +3,14 @@ import React, { useEffect, useState, useSyncExternalStore } from "react"; import Header from "./components/header/Header"; import Footer from "./components/footer/Footer"; import Hero from "./components/hero/Hero"; -import InfoSection from "./components/info/InfoSection"; import Separator from "./components/separater/Separater"; import Projects from "./components/projects/Projects"; import AboutMe from "./components/aboutMe/AboutMe"; import Publications from "./components/publications/Publications"; import Contact from "./components/contact/Contact"; +import InfoSection from "./shared/components/info/InfoSection"; + import styles from "./App.module.css"; function App() { diff --git a/src/components/aboutMe/AboutMe.jsx b/src/components/aboutMe/AboutMe.jsx index 605717e..b5d1536 100644 --- a/src/components/aboutMe/AboutMe.jsx +++ b/src/components/aboutMe/AboutMe.jsx @@ -2,6 +2,8 @@ import React from "react"; import styles from "./AboutMe.module.css"; import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa"; +import ResumeDownloader from "../../shared/components/resumeDownloader/ResumeDownloader"; + function AboutMe({ data }) { const scrollToContact = () => { const contactSection = document.getElementById("contact"); @@ -64,9 +66,7 @@ function AboutMe({ data }) {
- - Download Resume (PDF) - + diff --git a/src/components/footer/Footer.jsx b/src/components/footer/Footer.jsx index ba5e7fb..3be2d1a 100644 --- a/src/components/footer/Footer.jsx +++ b/src/components/footer/Footer.jsx @@ -2,6 +2,8 @@ import React, { useEffect, useRef, useState } from "react"; import styles from "./Footer.module.css"; import logo from "/assets/logos/logo.png"; +import ResumeDownloader from "../../shared/components/resumeDownloader/ResumeDownloader"; + function Footer({ data }) { const [isVisible, setIsVisible] = useState(false); const footerRef = useRef(null); @@ -57,9 +59,10 @@ function Footer({ data }) {
- + {/* Download Resume (PDF) - + */} +
diff --git a/version.txt b/version.txt index 12edb29..aac2dac 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.11.7 \ No newline at end of file +0.12.1 \ No newline at end of file