Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react-tilt package to version 1.0.2 #139

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<link rel="icon" type="image/svg+xml" href="./src/assets/logo_mo.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Adrian | JavaScript Mastery Portfolio</title>
<script src="https://kit.fontawesome.com/ccc2850fdc.js" crossorigin="anonymous"></script>
<title>MOUAD AKROUBI | full-stack developer</title>
</head>
<body>
<div id="root"></div>
Expand Down
78 changes: 60 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"react-tilt": "^0.1.4",
"react-tilt": "^1.0.2",
"react-vertical-timeline-component": "^3.6.0",
"three": "^0.149.0"
},
Expand All @@ -30,4 +30,4 @@
"tailwindcss": "^3.2.6",
"vite": "^4.1.0"
}
}
}
44 changes: 30 additions & 14 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,41 @@
import { useEffect, useState } from "react";
import { BrowserRouter } from "react-router-dom";

import { About, Contact, Experience, Feedbacks, Hero, Navbar, Tech, Works, StarsCanvas } from "./components";
import Footer from "./components/Footer";
import Start from "./components/Start";

const App = () => {
const [loading, setLoading] = useState(true);

useEffect(() => {
setTimeout(() => {
setLoading(false);
}, 2000);
}, []);

return (
<BrowserRouter>
<div className='relative z-0 bg-primary'>
<div className='bg-hero-pattern bg-cover bg-no-repeat bg-center'>
<Navbar />
<Hero />
</div>
<About />
<Experience />
<Tech />
<Works />
<Feedbacks />
<div className='relative z-0'>
<Contact />
<StarsCanvas />
{loading ? (
<Start />
) : (
<div className='relative z-0 bg-primary pb-5'>
<div className='bg-hero-pattern bg-cover bg-no-repeat bg-center'>
<Navbar />
<Hero />
</div>
<About />
<Experience />
<Tech />
<Works />
{/* <Feedbacks /> */}
<div className='relative z-0'>
<Contact />
<StarsCanvas />
<Footer />
</div>
</div>
</div>
)}
</BrowserRouter>
);
}
Expand Down
4 changes: 3 additions & 1 deletion src/assets/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import logo from "./logo.svg";
import logo from "./logo_mo.jpg";
import backend from "./backend.png";
import creator from "./creator.png";
import mobile from "./mobile.png";
Expand All @@ -11,6 +11,7 @@ import css from "./tech/css.png";
import docker from "./tech/docker.png";
import figma from "./tech/figma.png";
import git from "./tech/git.png";
// import githubTech from "./tech/github_tech.png";
import html from "./tech/html.png";
import javascript from "./tech/javascript.png";
import mongodb from "./tech/mongodb.png";
Expand Down Expand Up @@ -43,6 +44,7 @@ export {
docker,
figma,
git,
// githubTech,
html,
javascript,
mongodb,
Expand Down
Binary file added src/assets/logo_mo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tech/github_tech.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions src/components/About.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Tilt from "react-tilt";
import { Tilt } from 'react-tilt';
import { motion } from "framer-motion";

import { styles } from "../styles";
Expand Down Expand Up @@ -37,29 +37,29 @@ const ServiceCard = ({ index, title, icon }) => (

const About = () => {
return (
<>
<div className="text-center">
<motion.div variants={textVariant()}>
<p className={styles.sectionSubText}>Introduction</p>
<h2 className={styles.sectionHeadText}>Overview.</h2>
</motion.div>

<motion.p
variants={fadeIn("", "", 0.1, 1)}
className='mt-4 text-secondary text-[17px] max-w-3xl leading-[30px]'
className='mt-4 text-secondary text-[17px] max-w-3xl m-auto leading-[30px]'
>
I'm a skilled software developer with experience in TypeScript and
JavaScript, and expertise in frameworks like React, Node.js, and
Three.js. I'm a quick learner and collaborate closely with clients to
I'm a skilled full stack development with experience in JavaScript and Typescript,
and expertise in frameworks like React, Three.js, Node.js, Laravel, and CMS like strapi.
I'm a quick learner and collaborate closely with clients to
create efficient, scalable, and user-friendly solutions that solve
real-world problems. Let's work together to bring your ideas to life!
</motion.p>

<div className='mt-20 flex flex-wrap gap-10'>
<div className='mt-20 flex flex-wrap gap-10 justify-center'>
{services.map((service, index) => (
<ServiceCard key={service.title} index={index} {...service} />
))}
</div>
</>
</div>
);
};

Expand Down
4 changes: 2 additions & 2 deletions src/components/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ const Contact = () => {
import.meta.env.VITE_APP_EMAILJS_TEMPLATE_ID,
{
from_name: form.name,
to_name: "JavaScript Mastery",
to_name: "Mouad Akroubi",
from_email: form.email,
to_email: "sujata@jsmastery.pro",
to_email: "mouadakroubi@gmail.com",
message: form.message,
},
import.meta.env.VITE_APP_EMAILJS_PUBLIC_KEY
Expand Down
37 changes: 37 additions & 0 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import React from 'react';

const Footer = () => {
return (
<div>
<footer className="footer text-center">
All Rights Reserved by <a className="font-bold uppercase mb-5" target='_black' href="https://www.linkedin.com/in/mouad-akroubi-714284222/">mouad akroubi</a>.
<div className="social-media">
<ul className='flex gap-5 justify-center align-center text-lg'>
<li>
<a href="https://www.linkedin.com/in/mouad-akroubi-714284222/" target='_black'>
<i className="fa fa-linkedin"></i>
</a>
</li>
<li>
<a href="https://github.com/MOUADAKROUBI" target='_black'>
<i className="fa fa-github"></i>
</a>
</li>
<li>
<a href="https://www.facebook.com/mouad.akroubi.7" target='_black'>
<i className="fa fa-facebook"></i>
</a>
</li>
<li>
<a href="https://www.instagram.com/mouadakroubi/" target='_black'>
<i className="fa fa-instagram"></i>
</a>
</li>
</ul>
</div>
</footer>
</div>
);
}

export default Footer;
Loading