File tree Expand file tree Collapse file tree 19 files changed +150
-67
lines changed Expand file tree Collapse file tree 19 files changed +150
-67
lines changed Original file line number Diff line number Diff line change
1
+ dist /*
Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change 4
4
< meta charset ="UTF-8 " />
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6
6
< 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
8
9
rel="apple-touch-icon"
9
10
sizes="180x180"
10
- href ="./public /assets/manifest/apple-touch-icon.png "
11
- />
11
+ href="/assets/manifest/apple-touch-icon.png"
12
+ /> -->
12
13
< title > Avinash's PortFolio</ title >
13
14
</ head >
14
15
< body >
Original file line number Diff line number Diff line change 1
1
import "./App.css" ;
2
- import Welcome from "./Pages/Welcome.jsx" ;
2
+ import React from "react" ;
3
+ // import Welcome from "./Pages/Welcome.jsx";
3
4
import AboutPage from "./Pages/About.jsx" ;
4
5
import Skills from "./Pages/Skills.jsx" ;
5
6
import Project from "./Pages/Project.jsx" ;
6
7
import Achievements from "./Pages/Achievements.jsx" ;
7
8
import Other from "./Pages/Others.jsx" ;
8
9
import Contacts from "./Pages/Contacts.jsx" ;
10
+ import Hero from "./Pages/Hero.jsx" ;
9
11
10
- export default ( ) => {
12
+ export default function App ( ) {
11
13
return (
12
14
< >
13
15
< div className = "progress" />
14
16
< main className = "flex flex-col items-center justify-evenly gap-20" >
15
- < div className = "main" >
17
+ { /* <div className="main">
16
18
<Welcome />
17
- </ div >
19
+ </div> */ }
20
+ < Hero />
18
21
< AboutPage />
19
22
< Skills />
20
23
< Project />
@@ -24,4 +27,4 @@ export default () => {
24
27
</ main >
25
28
</ >
26
29
) ;
27
- } ;
30
+ }
Original file line number Diff line number Diff line change 1
1
import Highlight from "./highlight" ;
2
+ import React from "react" ;
2
3
3
4
const achievementsCard = ( props ) => {
4
5
return (
Original file line number Diff line number Diff line change 1
1
import "../Styles/Skills.css" ;
2
+ import React from "react" ;
2
3
3
4
const frame = ( props ) => {
4
5
return (
@@ -23,7 +24,7 @@ const projectFrame = (props) => {
23
24
</ h3 >
24
25
< div className = "flex flex-row content-center justify-center w-auto gap-5" >
25
26
< p > { props . paragraph } </ p >
26
- < a href = { props . link } target = "_blank" >
27
+ < a href = { props . link } target = "_blank" rel = "noreferrer" >
27
28
< img src = { props . imgSrc } alt = { props . title } draggable = "false" />
28
29
</ a >
29
30
</ div >
Original file line number Diff line number Diff line change 1
1
import "../Styles/AboutPage.css" ;
2
+ import React from "react" ;
2
3
3
- export default ( props ) => {
4
+ export default function highlight ( props ) {
4
5
return < span className = "highlight" > { props . text } </ span > ;
5
- } ;
6
+ }
Original file line number Diff line number Diff line change 1
1
import Highlight from "../Components/highlight" ;
2
+ import React from "react" ;
2
3
3
- export default ( ) => {
4
+ export default function About ( ) {
4
5
return (
5
6
< section className = "h-screen flex flex-col text-center justify-evenly content-center" >
6
7
< h2 className = "text-4xl" > About me</ h2 >
7
8
< div className = "about-container" >
8
9
< p className = "text-lg text-justify max-w-3xl px-5 about" >
9
- Hello, I'm < Highlight text = "Avinash" /> A Senior-Year{ " " }
10
- < Highlight text = "Student" /> pursuing a Bachelor'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'm a Senior-Year < Highlight text = "Student" /> pursuing a
11
+ Bachelor'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!
15
17
</ p >
16
18
</ div >
17
19
</ section >
18
20
) ;
19
- } ;
21
+ }
Original file line number Diff line number Diff line change 1
1
import "../Styles/Achievements.css" ;
2
2
import { achievementsCard as Card } from "../Components/card" ;
3
+ import React from "react" ;
3
4
4
- export default ( ) => {
5
+ export default function Achievements ( ) {
5
6
return (
6
7
< section className = "flex flex-col py-20 justify-between gap-10 px-10 text-center w-screen" >
7
8
< h2 > Achievements</ h2 >
8
9
< Card title = "PHP" text = "Completed Vocational Training" />
9
10
< Card title = "Java" text = "Scored 71% in NPTEL " />
10
11
< 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" />
13
14
</ section >
14
15
) ;
15
- } ;
16
+ }
Original file line number Diff line number Diff line change 1
1
import "../Styles/Contacts.css" ;
2
- import { getImageUrl } from "./ImgIndex.jsx" ;
3
-
2
+ import { getImageUrl } from "../utils /ImgIndex.jsx" ;
3
+ import React from "react" ;
4
4
import { contactsCard as Card } from "../Components/card.jsx" ;
5
5
6
- export default ( ) => {
6
+ export default function Contacts ( ) {
7
7
// document
8
8
// .querySelectorAll("input")
9
9
// .forEach((input) => input.setAttribute("disabled", true));
@@ -83,4 +83,4 @@ export default () => {
83
83
</ div >
84
84
</ section >
85
85
) ;
86
- } ;
86
+ }
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import { getImageUrl } from "../utils/ImgIndex" ;
3
+ import "../Styles/Hero.css" ;
4
+
5
+ export default function Hero ( ) {
6
+ return (
7
+ < section className = "h-screen flex flex-row items-center gap-20 hero-container p-10" >
8
+ < div className = "hero flex flex-col" >
9
+ < h1 > Hi!</ h1 >
10
+ < h1 > this is</ h1 >
11
+ < h1 > Avinash</ h1 >
12
+ </ div >
13
+ < div >
14
+ < img
15
+ src = { getImageUrl ( "avatar" , "jpg" ) }
16
+ alt = "Avatar"
17
+ style = { { width : "450px" , borderRadius : "15%" } }
18
+ draggable = "false"
19
+ />
20
+ </ div >
21
+ </ section >
22
+ ) ;
23
+ }
Original file line number Diff line number Diff line change 1
1
import "../Styles/Others.css" ;
2
- import { getImageUrl } from "./ImgIndex.jsx" ;
3
-
2
+ import { getImageUrl } from "../utils /ImgIndex.jsx" ;
3
+ import React from "react" ;
4
4
import { othersCard as Card } from "../Components/card.jsx" ;
5
5
6
- export default ( ) => {
6
+ export default function Others ( ) {
7
7
const AndroidKernel = "Maintained kernel for Samsung Exynos 7870 (Used to)." ;
8
8
const AndroidROMs =
9
9
"Contributed in some Custom ROMs for Samsung Exynos 7870 (Used to)." ;
@@ -27,9 +27,9 @@ export default () => {
27
27
/>
28
28
< Card
29
29
title = "Telegram Bots:"
30
- paragraph = { " " + AndroidKernel }
30
+ paragraph = { " " + TelegramBot }
31
31
imgSrc = { getImageUrl ( "robot" ) }
32
32
/>
33
33
</ section >
34
34
) ;
35
- } ;
35
+ }
Original file line number Diff line number Diff line change 1
1
import "../Styles/Project.css" ;
2
2
import { projectFrame as ProjectFrame } from "../Components/frame.jsx" ;
3
- import { getImageUrl } from "./ImgIndex.jsx" ;
3
+ import { getImageUrl } from "../utils/ImgIndex.jsx" ;
4
+ import React from "react" ;
4
5
5
- export default ( ) => {
6
+ export default function Project ( ) {
6
7
const GlobalBuzz =
7
8
"A Dynamic Web application for News. Frontend written in JavaScript with (HTML & CSS) and Backend is written solely on PHP. Powered by NewsAPI." ;
8
9
@@ -28,4 +29,4 @@ export default () => {
28
29
</ div >
29
30
</ section >
30
31
) ;
31
- } ;
32
+ }
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
1
2
import { frame as Frame , osFrame as OS } from "../Components/frame.jsx" ;
3
+ import { getImageUrl } from "../utils/ImgIndex.jsx" ;
2
4
3
- import { getImageUrl } from "./ImgIndex.jsx" ;
4
-
5
- export default ( ) => {
5
+ export default function Skills ( ) {
6
6
return (
7
7
< section className = "flex flex-col gap-5" >
8
8
< h2 className = "text-center py-10" > Skills</ h2 >
@@ -54,4 +54,4 @@ export default () => {
54
54
</ div >
55
55
</ section >
56
56
) ;
57
- } ;
57
+ }
Original file line number Diff line number Diff line change 1
- import { useEffect } from "react" ;
1
+ import { React , useEffect } from "react" ;
2
2
import "../Styles/Welcome.css" ;
3
3
4
- export default ( ) => {
4
+ export default function Welcome ( ) {
5
5
useEffect ( ( ) => {
6
6
const handleScroll = ( ) => {
7
7
const opacityValue = window . scrollY >= 25 ? 0 : 1 ;
@@ -20,7 +20,6 @@ export default () => {
20
20
< h1
21
21
style = { {
22
22
height : "100vh" ,
23
- height : "100svh" ,
24
23
} }
25
24
id = "welcome"
26
25
className = "text-6xl flex flex-col text-center items-center justify-center"
@@ -38,4 +37,4 @@ export default () => {
38
37
</ div >
39
38
</ section >
40
39
) ;
41
- } ;
40
+ }
Original file line number Diff line number Diff line change
1
+ @keyframes slidingIn {
2
+ from {
3
+ transform : translateX (-250px );
4
+ }
5
+ to {
6
+ opacity : 1 ;
7
+ transform : translateX (0px );
8
+ }
9
+ }
10
+
11
+ .hero {
12
+ gap : 40px ;
13
+ }
14
+
15
+ .hero h1 : nth-child (1 ) {
16
+ opacity : 0.5 ;
17
+ animation : slidingIn 500ms linear forwards;
18
+ }
19
+
20
+ .hero h1 : nth-child (2 ) {
21
+ opacity : 0.25 ;
22
+ animation : slidingIn 750ms linear 50ms forwards;
23
+ }
24
+
25
+ .hero h1 : nth-child (3 ) {
26
+ opacity : 0 ;
27
+ animation : slidingIn 950ms linear 100ms forwards;
28
+ }
29
+
30
+ @media screen and (orientation : portrait) {
31
+ .hero {
32
+ gap : 20px ;
33
+ text-align : center;
34
+ }
35
+
36
+ .hero h1 {
37
+ font-size : 50px !important ;
38
+ }
39
+
40
+ .hero-container {
41
+ height : 100vh ;
42
+ padding : 50px ;
43
+ flex-direction : column !important ;
44
+ }
45
+ .hero-container div : nth-child (1 ) {
46
+ order : 1 ;
47
+ }
48
+ .hero-container div : nth-child (2 ) img {
49
+ width : 250px !important ;
50
+ }
51
+ }
Original file line number Diff line number Diff line change 6
6
"display" : " standalone" ,
7
7
"icons" : [
8
8
{
9
- "src" : " ./favicon.ico" ,
9
+ "src" : " .. /favicon.ico" ,
10
10
"sizes" : " 64x64" ,
11
11
"type" : " image/x-icon"
12
- },
13
- {
14
- "src" : " ./favicon-32.png" ,
15
- "sizes" : " 32x32" ,
16
- "type" : " image/x-icon"
17
- },
18
- {
19
- "src" : " ./favicon-16.png" ,
20
- "sizes" : " 16x16" ,
21
- "type" : " image/x-icon"
22
- },
23
- {
24
- "src" : " ./assets/manifest/android512.png" ,
25
- "type" : " image/png" ,
26
- "sizes" : " 512x512"
27
- },
28
- {
29
- "src" : " ./assets/manifest/android192.png" ,
30
- "type" : " image/png" ,
31
- "sizes" : " 192x192"
32
12
}
33
13
]
34
14
}
Original file line number Diff line number Diff line change 1
- const getImageUrl = ( name , type = "svg" ) =>
1
+ export const getImageUrl = ( name , type = "svg" ) =>
2
2
new URL ( `../assets/${ type } /${ name } .${ type } ` , import . meta. url ) . href ;
3
-
4
- export { getImageUrl } ;
You can’t perform that action at this time.
0 commit comments