v0.9.4 Move assets to assets directory in the public directory
This commit is contained in:
parent
b9e1326d1c
commit
68e64a725e
24 changed files with 24 additions and 21 deletions
|
|
@ -2,6 +2,8 @@ import React from "react";
|
|||
import styles from "./AboutMe.module.css";
|
||||
import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa";
|
||||
|
||||
import pp from "/assets/pp/abtme.JPG?url";
|
||||
|
||||
const AboutMe = () => {
|
||||
const scrollToContact = () => {
|
||||
const contactSection = document.getElementById("contact");
|
||||
|
|
@ -16,7 +18,7 @@ const AboutMe = () => {
|
|||
<h2 className={styles.title}>About Me</h2>
|
||||
<div className={styles.content}>
|
||||
<div className={styles.imageContainer}>
|
||||
<img src="/pp/abtme.JPG" alt="Murtadha Nisyif" className={styles.image} />
|
||||
<img src={pp} alt="Murtadha Nisyif" className={styles.image} />
|
||||
<div className={styles.socialLinks}>
|
||||
<a href="https://github.com/yourusername" target="_blank" rel="noopener noreferrer" className={styles.socialLink}>
|
||||
<FaGithub />
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { useEffect, useRef, useState } from "react";
|
||||
import styles from "./Footer.module.css";
|
||||
import logo from "/logos/logo.png";
|
||||
import logo from "/assets/logos/logo.png";
|
||||
|
||||
function Footer() {
|
||||
const [isVisible, setIsVisible] = useState(false);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { useState } from "react";
|
||||
import styles from "./Header.module.css";
|
||||
import logo from "/logos/logo.png";
|
||||
import logo from "/assets/logos/logo.png";
|
||||
|
||||
function Header() {
|
||||
const [isNavVisible, setIsNavVisible] = useState(false);
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
import React from "react";
|
||||
import styles from "./Hero.module.css";
|
||||
|
||||
import pp from "/assets/pp/pp.jpg";
|
||||
|
||||
function Hero() {
|
||||
return (
|
||||
<section className={styles.hero}>
|
||||
<img src="/pp/pp.jpg" alt="Murtadha Nisyif" className={styles.backgroundImage} />
|
||||
<img src={pp} alt="Murtadha Nisyif" className={styles.backgroundImage} />
|
||||
<div className={styles.content}>
|
||||
<div className={styles.textContent}>
|
||||
<h1 className={styles.name}>Murtadha Nisyif</h1>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const publicationsData = [
|
|||
year: 2024,
|
||||
// doi: "10.1234/example.doi.2023",
|
||||
// link: "https://doi.org/10.1234/example.doi.2023"
|
||||
pdfLink: "/papers/sem_com01.pdf",
|
||||
pdfLink: "/assets/papers/sem_com01.pdf",
|
||||
},
|
||||
// Add more publications as needed
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue