mirror of
https://github.com/harivansh-afk/React-Portfolio.git
synced 2026-04-15 07:04:48 +00:00
chore: edits to ui
This commit is contained in:
parent
1b599490ae
commit
79615758d4
3 changed files with 148 additions and 148 deletions
|
|
@ -1,9 +1,10 @@
|
|||
import React, { useState } from "react";
|
||||
import React, { useState } from "react";
|
||||
import "./style.css";
|
||||
import { VscGrabber, VscClose } from "react-icons/vsc";
|
||||
import { Link } from "react-router-dom";
|
||||
import { logotext ,socialprofils } from "../content_option";
|
||||
import Themetoggle from "../components/themetoggle";
|
||||
import { Socialicons } from "../components/socialicons";
|
||||
|
||||
const Headermain = () => {
|
||||
const [isActive, setActive] = useState("false");
|
||||
|
|
@ -25,7 +26,7 @@ const Headermain = () => {
|
|||
<button className="menu__button nav_ac" onClick={handleToggle}>
|
||||
{!isActive ? <VscClose /> : <VscGrabber />}
|
||||
</button>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -50,13 +51,10 @@ const Headermain = () => {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="menu_footer d-flex flex-column flex-md-row justify-content-between align-items-md-center position-absolute w-100 p-3">
|
||||
<div className="menu_footer d-flex flex-column flex-md-row justify-content-center align-items-md-center position-absolute w-100 p-3">
|
||||
<div className="d-flex">
|
||||
<a href={socialprofils.github}>Github</a>
|
||||
<a href={socialprofils.linkedin}>LinkedIn</a>
|
||||
<a href={socialprofils.portfolio}>Resume</a>
|
||||
<Socialicons />
|
||||
</div>
|
||||
<p className="copyright m-0">copyright __ {logotext}</p>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -64,7 +62,7 @@ const Headermain = () => {
|
|||
<div className="br-bottom"></div>
|
||||
<div className="br-left"></div>
|
||||
<div className="br-right"></div>
|
||||
|
||||
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,207 +1,209 @@
|
|||
.site__header {
|
||||
top: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
top: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.menu__button {
|
||||
color: var(--text-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.menu__button:focus,
|
||||
.menu__button:hover {
|
||||
color: var(--text-color);
|
||||
box-shadow: unset;
|
||||
color: var(--text-color);
|
||||
box-shadow: unset;
|
||||
}
|
||||
|
||||
.menu__button svg {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
fill: var(--text-color-2);
|
||||
color: var(--text-color-2);
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
fill: var(--text-color-2);
|
||||
color: var(--text-color-2);
|
||||
}
|
||||
|
||||
.nav_ac {
|
||||
padding: 5px 15px;
|
||||
margin: 0;
|
||||
border: unset;
|
||||
background: var(--primary-color);
|
||||
font-size: 1.25rem;
|
||||
font-family: Marcellus;
|
||||
color: var(--text-color-2);
|
||||
line-height: 2;
|
||||
height: 50px;
|
||||
font-weight: bold;
|
||||
z-index: 1000;
|
||||
padding: 5px 15px;
|
||||
margin: 0;
|
||||
border: unset;
|
||||
background: var(--primary-color);
|
||||
font-size: 1.25rem;
|
||||
font-family: Marcellus;
|
||||
color: var(--text-color-2);
|
||||
line-height: 2;
|
||||
height: 50px;
|
||||
font-weight: bold;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.nav_ac:hover {
|
||||
color: var(--text-color-2);
|
||||
color: var(--text-color-2);
|
||||
}
|
||||
|
||||
.br-top,
|
||||
.br-bottom,
|
||||
.br-right,
|
||||
.br-left {
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
background: var(--primary-color);
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
background: var(--primary-color);
|
||||
}
|
||||
|
||||
.br-top {
|
||||
top: 0;
|
||||
height: 10px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
height: 10px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.br-bottom {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 10px;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.br-right {
|
||||
width: 10px;
|
||||
right: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 10px;
|
||||
right: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.br-left {
|
||||
width: 10px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 10px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.cortina__wrapper-menu {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 5em;
|
||||
padding-bottom: 3em;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 5em;
|
||||
padding-bottom: 3em;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.site__navigation {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
visibility: hidden;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.menu__opend {
|
||||
visibility: visible !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.main__menu_ul,
|
||||
.menu_right {
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
transition: 0.5s;
|
||||
transition-delay: 0s;
|
||||
visibility: hidden;
|
||||
z-index: 100;
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
transition: 0.5s;
|
||||
transition-delay: 0s;
|
||||
visibility: hidden;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.menu_right {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site__navigation.menu__opend .main__menu_ul,
|
||||
.site__navigation.menu__opend .menu_right {
|
||||
opacity: 1;
|
||||
transition-delay: 0.6s;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition-delay: 0.6s;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.site__navigation .main__menu_ul li {
|
||||
list-style: none;
|
||||
margin: 10px 0;
|
||||
list-style: none;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.site__navigation .main__menu_ul li a {
|
||||
color: var(--text-color);
|
||||
display: block;
|
||||
font-size: 2.5rem;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
display: block;
|
||||
font-size: 2.5rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bg__menu {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: var(--primary-color);
|
||||
will-change: transform;
|
||||
transform: translateY(-100%);
|
||||
transition: .5s ease all;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: var(--primary-color);
|
||||
will-change: transform;
|
||||
transform: translateY(-100%);
|
||||
transition: 0.5s ease all;
|
||||
}
|
||||
|
||||
.menu__opend .bg__menu {
|
||||
transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.menu__wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden auto;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden auto;
|
||||
}
|
||||
|
||||
.the_menu {
|
||||
padding-top: 20vh;
|
||||
padding-bottom: 20vh;
|
||||
padding-left: 0;
|
||||
padding-top: 40vh;
|
||||
padding-bottom: 10vh;
|
||||
padding-left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.menu__container {
|
||||
margin-left: 33.3333%;
|
||||
}
|
||||
.the_menu {
|
||||
padding-top: 10vh;
|
||||
padding-bottom: 10vh;
|
||||
}
|
||||
.menu__container {
|
||||
margin-left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.the_menu {
|
||||
padding-top: 30vh;
|
||||
padding-bottom: 10vh;
|
||||
}
|
||||
}
|
||||
|
||||
.the_menu .menu_item>a {
|
||||
color: var(--text-color-2);
|
||||
line-height: 1;
|
||||
font-size: 2rem;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
transition: color 250ms cubic-bezier(0, 0, 0.58, 1) 0s;
|
||||
padding: 4px 0px;
|
||||
text-decoration: none;
|
||||
font-family: Marcellus;
|
||||
.the_menu .menu_item > a {
|
||||
color: var(--text-color-2);
|
||||
line-height: 1;
|
||||
font-size: 2rem;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
transition: color 250ms cubic-bezier(0, 0, 0.58, 1) 0s;
|
||||
padding: 4px 0px;
|
||||
text-decoration: none;
|
||||
font-family: Marcellus;
|
||||
}
|
||||
|
||||
.the_menu .menu_item>a:hover {
|
||||
color: var(--text-color-3);
|
||||
.the_menu .menu_item > a:hover {
|
||||
color: var(--text-color-3);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.the_menu .menu_item>a {
|
||||
font-size: 4.8vw;
|
||||
}
|
||||
.the_menu .menu_item > a {
|
||||
font-size: 4.8vw;
|
||||
}
|
||||
}
|
||||
|
||||
.menu_footer {
|
||||
bottom: 0;
|
||||
font-family: Marcellus;
|
||||
font-size: 14px;
|
||||
background: var(--primary-color);
|
||||
bottom: 0;
|
||||
font-family: Marcellus;
|
||||
font-size: 14px;
|
||||
background: var(--primary-color);
|
||||
}
|
||||
|
||||
.menu_footer a {
|
||||
color: var(--text-color-2);
|
||||
margin-right: 10px;
|
||||
text-decoration: none;
|
||||
color: var(--text-color-2);
|
||||
margin-right: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,29 @@ export const About = () => {
|
|||
</table>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row className="sec_sp">
|
||||
<Col lg="5">
|
||||
<h3 className="color_sec py-4">Education</h3>
|
||||
</Col>
|
||||
<Col lg="7">
|
||||
<div>
|
||||
<p>
|
||||
<strong>University of Virginia, Charlottesville, VA</strong>
|
||||
<br />
|
||||
Bachelor of Arts, Computer Science
|
||||
<br />
|
||||
Expected May 2026
|
||||
<br />
|
||||
Cumulative GPA: 3.55/4.0
|
||||
<br />
|
||||
Relevant Coursework:
|
||||
<br />
|
||||
Data structures and algo, Computer systems and organization,
|
||||
Software dev essentials
|
||||
</p>
|
||||
</div>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row className="sec_sp">
|
||||
<Col lg="5">
|
||||
<h3 className="color_sec py-4">Skills</h3>
|
||||
|
|
@ -78,29 +101,6 @@ export const About = () => {
|
|||
})}
|
||||
</Col>
|
||||
</Row>
|
||||
<Row className="sec_sp">
|
||||
<Col lg="5">
|
||||
<h3 className="color_sec py-4">Education</h3>
|
||||
</Col>
|
||||
<Col lg="7">
|
||||
<div>
|
||||
<p>
|
||||
<strong>University of Virginia, Charlottesville, VA</strong>
|
||||
<br />
|
||||
Bachelor of Arts, Computer Science
|
||||
<br />
|
||||
Expected May 2026
|
||||
<br />
|
||||
Cumulative GPA: 3.55/4.0
|
||||
<br />
|
||||
Relevant Coursework:
|
||||
<br />
|
||||
Data structures and algo, Computer systems and organization,
|
||||
Software dev essentials
|
||||
</p>
|
||||
</div>
|
||||
</Col>
|
||||
</Row>
|
||||
</Container>
|
||||
</HelmetProvider>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue