8000 Update · davinash97/davinash97.github.io@ca3fb4c · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit ca3fb4c

Browse files
committed
Update
- New Hero Page - Adding Eslint - Minor source side edits
1 parent 981c495 commit ca3fb4c

File tree

19 files changed

+150
-67
lines changed

19 files changed

+150
-67
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/*

.eslintrc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:react/recommended"
10+
],
11+
"parserOptions": {
12+
"ecmaVersion": "latest",
13+
"sourceType": "module"
14+
},
15+
"plugins": [
16+
"react"
17+
],
18+
"rules": {
19+
}
20+
}

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon" />
7-
<link
7+
<!-- <link rel="manifest" href="/assets/manifest/manifest.json"> -->
8+
<!-- <link
89
rel="apple-touch-icon"
910
sizes="180x180"
10-
href="./public/assets/manifest/apple-touch-icon.png"
11-
/>
11+
href="/assets/manifest/apple-touch-icon.png"
12+
/> -->
1213
<title>Avinash's PortFolio</title>
1314
</head>
1415
<body>

src/App.jsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
import "./App.css";
2-
import Welcome from "./Pages/Welcome.jsx";
2+
import React from "react";
3+
// import Welcome from "./Pages/Welcome.jsx";
34
import AboutPage from "./Pages/About.jsx";
45
import Skills from "./Pages/Skills.jsx";
56
import Project from "./Pages/Project.jsx";
67
import Achievements from "./Pages/Achievements.jsx";
78
import Other from "./Pages/Others.jsx";
89
import Contacts from "./Pages/Contacts.jsx";
10+
import Hero from "./Pages/Hero.jsx";
911

10-
export default () => {
12+
export default function App() {
1113
return (
1214
<>
1315
<div className="progress" />
1416
<main className="flex flex-col items-center justify-evenly gap-20">
15-
<div className="main">
17+
{/* <div className="main">
1618
<Welcome />
17-
</div>
19+
</div> */}
20+
<Hero />
1821
<AboutPage />
1922
<Skills />
2023
<Project />
@@ -24,4 +27,4 @@ export default () => {
2427
</main>
2528
</>
2629
);
27-
};
30+
}

src/Components/card.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Highlight from "./highlight";
2+
import React from "react";
23

34
const achievementsCard = (props) => {
45
return (

src/Components/frame.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import "../Styles/Skills.css";
2+
import React from "react";
23

34
const frame = (props) => {
45
return (
@@ -23,7 +24,7 @@ const projectFrame = (props) => {
2324
</h3>
2425
<div className="flex flex-row content-center justify-center w-auto gap-5">
2526
<p>{props.paragraph}</p>
26-
<a href={props.link} target="_blank">
27+
<a href={props.link} target="_blank" rel="noreferrer">
2728
<img src={props.imgSrc} alt={props.title} draggable="false" />
2829
</a>
2930
</div>

src/Components/highlight.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import "../Styles/AboutPage.css";
2+
import React from "react";
23

3-
export default (props) => {
4+
export default function highlight(props) {
45
return <span className="highlight">{props.text}</span>;
5-
};
6+
}

src/Pages/About.jsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
import Highlight from "../Components/highlight";
2+
import React from "react";
23

3-
export default () => {
4+
export default function About() {
45
return (
56
<section className="h-screen flex flex-col text-center justify-evenly content-center">
67
<h2 className="text-4xl">About me</h2>
78
<div className="about-container">
89
<p className="text-lg text-justify max-w-3xl px-5 about">
9-
Hello, I&#39;m <Highlight text="Avinash" /> A Senior-Year{" "}
10-
<Highlight text="Student" /> pursuing a Bachelor&#39;s in Computer
11-
Science Engineering at RSR Rungta College of Engineering & Technology,
12-
Bhilai, Chhattisgarh -<Highlight text="India" />. Passionate about
13-
tech, I bring a strong academic foundation and practical project
14-
experience to the table. Explore my portfolio for more. Thank you!
10+
Hello, I&#39;m a Senior-Year <Highlight text="Student" /> pursuing a
11+
Bachelor&#39;s in Computer Science Engineering at RSR Rungta College
12+
of Engineering & Technology, Bhilai, Chhattisgarh -
13+
<Highlight text="India" />. Passionate about tech, and Learning from
14+
Open Source, trying to give back the most. I bring a strong academic
15+
foundation and practical project experience to the table. Explore my
16+
portfolio for more. Thank you!
1517
</p>
1618
</div>
1719
</section>
1820
);
19-
};
21+
}

src/Pages/Achievements.jsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import "../Styles/Achievements.css";
22
import { achievementsCard as Card } from "../Components/card";
3+
import React from "react";
34

4-
export default () => {
5+
export default function Achievements() {
56
return (
67
<section className="flex flex-col py-20 justify-between gap-10 px-10 text-center w-screen">
78
<h2>Achievements</h2>
89
<Card title="PHP" text="Completed Vocational Training" />
910
<Card title="Java" text="Scored 71% in NPTEL " />
1011
<Card title="MS-Office" text="Completed Vocational Training" />
11-
<Card title=":Leetcode" text="Solved 20+ Questions" />
12-
<Card title="CodeChef:" text="Solved 50+ Questions" />
12+
<Card title="Leetcode" text="Solved 20+ Questions" />
13+
<Card title="CodeChef" text="Solved 50+ Questions" />
1314
</section>
1415
);
15-
};
16+
}

src/Pages/Contacts.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import "../Styles/Contacts.css";
2-
import { getImageUrl } from "./ImgIndex.jsx";
3-
2+
import { getImageUrl } from "../utils/ImgIndex.jsx";
3+
import React from "react";
44
import { contactsCard as Card } from "../Components/card.jsx";
55

6-
export default () => {
6+
export default function Contacts() {
77
// document
88
// .querySelectorAll("input")
99
// .forEach((input) => input.setAttribute("disabled", true));
@@ -83,4 +83,4 @@ export default () => {
8383
</div>
8484
</section>
8585
);
86-
};
86+
}

0 commit comments

Comments
 (0)
0