Skip to content

Commit fa408f3

Browse files
committed
Initial commit
1 parent 75121c4 commit fa408f3

32 files changed

+1861
-94
lines changed

package-lock.json

+417
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
"@testing-library/jest-dom": "^5.16.4",
77
"@testing-library/react": "^13.3.0",
88
"@testing-library/user-event": "^13.5.0",
9+
"framer-motion": "^6.5.1",
910
"react": "^18.1.0",
1011
"react-dom": "^18.1.0",
12+
"react-router-dom": "^6.3.0",
1113
"react-scripts": "5.0.1",
14+
"react-slick": "^0.29.0",
15+
"slick-carousel": "^1.8.1",
1216
"web-vitals": "^2.1.4"
1317
},
1418
"scripts": {

src/App.css

-38
This file was deleted.

src/App.js

+13-18
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
1-
import logo from './logo.svg';
2-
import './App.css';
1+
import "./index.css";
2+
import Projects from "./Components/Projects";
3+
import About from "./Components/About";
4+
import Menu from "./Components/Menu";
5+
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
6+
import React from "react";
37

48
function App() {
59
return (
6-
<div className="App">
7-
<header className="App-header">
8-
<img src={logo} className="App-logo" alt="logo" />
9-
<p>
10-
Edit <code>src/App.js</code> and save to reload.
11-
</p>
12-
<a
13-
className="App-link"
14-
href="https://reactjs.org"
15-
target="_blank"
16-
rel="noopener noreferrer"
17-
>
18-
Learn React
19-
</a>
20-
</header>
21-
</div>
10+
<Router>
11+
<Routes>
12+
<Route path="/" element={<Menu />} />
13+
<Route path="/Projects" element={<Projects />} />
14+
<Route path="/About" element={<About />} />
15+
</Routes>
16+
</Router>
2217
);
2318
}
2419

src/App.test.js

-8
This file was deleted.

src/Components/About.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import React from "react";
2+
3+
function About() {
4+
return <div>About</div>;
5+
}
6+
7+
export default About;

src/Components/Menu.js

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import React from "react";
2+
import { Link } from "react-router-dom";
3+
import { ReactComponent as ProtfolioMenu } from "../SVGs/PortfolioMenu.svg";
4+
import { ReactComponent as Sign } from "../SVGs/sign.svg";
5+
import { ReactComponent as Workarrow } from "../SVGs/work-arrow.svg";
6+
import { ReactComponent as Aboutarrow } from "../SVGs/about-arrow.svg";
7+
8+
function Menu() {
9+
const check = React.useRef();
10+
console.log(check);
11+
return (
12+
<main className="menu">
13+
<ProtfolioMenu className="background" />
14+
<Sign className="sign" />
15+
<ul className="nav-bar">
16+
<li className="nav-item">Home</li>
17+
<li className="nav-item">Projects</li>
18+
<li className="nav-item">About Me</li>
19+
<li className="nav-item">Contact</li>
20+
</ul>
21+
<h1 className="num-home">
22+
01 <p>HOME</p>{" "}
23+
</h1>
24+
<section className="title">
25+
<h1 className="title-intro">Iam a</h1>
26+
<h1 className="job-title" ref={check}>
27+
Frontend Engineer
28+
</h1>
29+
<p>With Passion For UI/UX &#38; Web Designing. </p>
30+
<div className="title-btn">
31+
<Link to="/Projects" className="title-btn-work">
32+
Projects
33+
</Link>
34+
<Link to="/About" className="title-btn-about">
35+
About Me
36+
</Link>
37+
</div>
38+
<Workarrow className="work-arrow" />
39+
<Aboutarrow className="about-arrow" />
40+
</section>
41+
</main>
42+
);
43+
}
44+
45+
export default Menu;

0 commit comments

Comments
 (0)