chore: edits to ui

This commit is contained in:
Harivansh Rathi 2025-01-03 19:24:49 +05:30
parent 1b599490ae
commit 79615758d4
3 changed files with 148 additions and 148 deletions

View file

@ -1,9 +1,10 @@
import React, { useState } from "react"; import React, { useState } from "react";
import "./style.css"; import "./style.css";
import { VscGrabber, VscClose } from "react-icons/vsc"; import { VscGrabber, VscClose } from "react-icons/vsc";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import { logotext ,socialprofils } from "../content_option"; import { logotext ,socialprofils } from "../content_option";
import Themetoggle from "../components/themetoggle"; import Themetoggle from "../components/themetoggle";
import { Socialicons } from "../components/socialicons";
const Headermain = () => { const Headermain = () => {
const [isActive, setActive] = useState("false"); const [isActive, setActive] = useState("false");
@ -50,13 +51,10 @@ const Headermain = () => {
</div> </div>
</div> </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"> <div className="d-flex">
<a href={socialprofils.github}>Github</a> <Socialicons />
<a href={socialprofils.linkedin}>LinkedIn</a>
<a href={socialprofils.portfolio}>Resume</a>
</div> </div>
<p className="copyright m-0">copyright __ {logotext}</p>
</div> </div>
</div> </div>
</header> </header>

View file

@ -1,207 +1,209 @@
.site__header { .site__header {
top: 10px; top: 10px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }
.menu__button { .menu__button {
color: var(--text-color); color: var(--text-color);
} }
.menu__button:focus, .menu__button:focus,
.menu__button:hover { .menu__button:hover {
color: var(--text-color); color: var(--text-color);
box-shadow: unset; box-shadow: unset;
} }
.menu__button svg { .menu__button svg {
width: 2em; width: 2em;
height: 2em; height: 2em;
fill: var(--text-color-2); fill: var(--text-color-2);
color: var(--text-color-2); color: var(--text-color-2);
} }
.nav_ac { .nav_ac {
padding: 5px 15px; padding: 5px 15px;
margin: 0; margin: 0;
border: unset; border: unset;
background: var(--primary-color); background: var(--primary-color);
font-size: 1.25rem; font-size: 1.25rem;
font-family: Marcellus; font-family: Marcellus;
color: var(--text-color-2); color: var(--text-color-2);
line-height: 2; line-height: 2;
height: 50px; height: 50px;
font-weight: bold; font-weight: bold;
z-index: 1000; z-index: 1000;
} }
.nav_ac:hover { .nav_ac:hover {
color: var(--text-color-2); color: var(--text-color-2);
} }
.br-top, .br-top,
.br-bottom, .br-bottom,
.br-right, .br-right,
.br-left { .br-left {
position: fixed; position: fixed;
z-index: 999999; z-index: 999999;
background: var(--primary-color); background: var(--primary-color);
} }
.br-top { .br-top {
top: 0; top: 0;
height: 10px; height: 10px;
left: 0; left: 0;
width: 100%; width: 100%;
} }
.br-bottom { .br-bottom {
bottom: 0; bottom: 0;
left: 0; left: 0;
height: 10px; height: 10px;
width: 100%; width: 100%;
} }
.br-right { .br-right {
width: 10px; width: 10px;
right: 0; right: 0;
top: 0; top: 0;
height: 100%; height: 100%;
} }
.br-left { .br-left {
width: 10px; width: 10px;
left: 0; left: 0;
top: 0; top: 0;
height: 100%; height: 100%;
} }
.cortina__wrapper-menu { .cortina__wrapper-menu {
position: relative; position: relative;
width: 100%; width: 100%;
padding-top: 5em; padding-top: 5em;
padding-bottom: 3em; padding-bottom: 3em;
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
} }
.site__navigation { .site__navigation {
height: 100%; height: 100%;
left: 0; left: 0;
overflow: hidden; overflow: hidden;
position: fixed; position: fixed;
top: 0; top: 0;
width: 100%; width: 100%;
visibility: hidden; visibility: hidden;
} }
.menu__opend { .menu__opend {
visibility: visible !important; visibility: visible !important;
} }
.main__menu_ul, .main__menu_ul,
.menu_right { .menu_right {
opacity: 0; opacity: 0;
position: relative; position: relative;
transition: 0.5s; transition: 0.5s;
transition-delay: 0s; transition-delay: 0s;
visibility: hidden; visibility: hidden;
z-index: 100; z-index: 100;
} }
.menu_right { .menu_right {
text-align: center; text-align: center;
} }
.site__navigation.menu__opend .main__menu_ul, .site__navigation.menu__opend .main__menu_ul,
.site__navigation.menu__opend .menu_right { .site__navigation.menu__opend .menu_right {
opacity: 1; opacity: 1;
transition-delay: 0.6s; transition-delay: 0.6s;
visibility: visible; visibility: visible;
} }
.site__navigation .main__menu_ul li { .site__navigation .main__menu_ul li {
list-style: none; list-style: none;
margin: 10px 0; margin: 10px 0;
} }
.site__navigation .main__menu_ul li a { .site__navigation .main__menu_ul li a {
color: var(--text-color); color: var(--text-color);
display: block; display: block;
font-size: 2.5rem; font-size: 2.5rem;
text-decoration: none; text-decoration: none;
} }
.bg__menu { .bg__menu {
position: absolute; position: absolute;
left: 0px; left: 0px;
top: 0px; top: 0px;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: var(--primary-color); background-color: var(--primary-color);
will-change: transform; will-change: transform;
transform: translateY(-100%); transform: translateY(-100%);
transition: .5s ease all; transition: 0.5s ease all;
} }
.menu__opend .bg__menu { .menu__opend .bg__menu {
transform: translateY(0); transform: translateY(0);
} }
.menu__wrapper { .menu__wrapper {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden auto; overflow: hidden auto;
} }
.the_menu { .the_menu {
padding-top: 20vh; padding-top: 40vh;
padding-bottom: 20vh; padding-bottom: 10vh;
padding-left: 0; padding-left: 0;
text-align: center;
} }
@media (min-width: 992px) { @media (min-width: 992px) {
.menu__container { .menu__container {
margin-left: 33.3333%; margin-left: 0;
} text-align: center;
.the_menu { }
padding-top: 10vh; .the_menu {
padding-bottom: 10vh; padding-top: 30vh;
} padding-bottom: 10vh;
}
} }
.the_menu .menu_item>a { .the_menu .menu_item > a {
color: var(--text-color-2); color: var(--text-color-2);
line-height: 1; line-height: 1;
font-size: 2rem; font-size: 2rem;
display: inline-block; display: inline-block;
position: relative; position: relative;
transition: color 250ms cubic-bezier(0, 0, 0.58, 1) 0s; transition: color 250ms cubic-bezier(0, 0, 0.58, 1) 0s;
padding: 4px 0px; padding: 4px 0px;
text-decoration: none; text-decoration: none;
font-family: Marcellus; font-family: Marcellus;
} }
.the_menu .menu_item>a:hover { .the_menu .menu_item > a:hover {
color: var(--text-color-3); color: var(--text-color-3);
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.the_menu .menu_item>a { .the_menu .menu_item > a {
font-size: 4.8vw; font-size: 4.8vw;
} }
} }
.menu_footer { .menu_footer {
bottom: 0; bottom: 0;
font-family: Marcellus; font-family: Marcellus;
font-size: 14px; font-size: 14px;
background: var(--primary-color); background: var(--primary-color);
} }
.menu_footer a { .menu_footer a {
color: var(--text-color-2); color: var(--text-color-2);
margin-right: 10px; margin-right: 10px;
text-decoration: none; text-decoration: none;
} }

View file

@ -54,6 +54,29 @@ export const About = () => {
</table> </table>
</Col> </Col>
</Row> </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"> <Row className="sec_sp">
<Col lg="5"> <Col lg="5">
<h3 className="color_sec py-4">Skills</h3> <h3 className="color_sec py-4">Skills</h3>
@ -78,29 +101,6 @@ export const About = () => {
})} })}
</Col> </Col>
</Row> </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> </Container>
</HelmetProvider> </HelmetProvider>
); );