Skip to content

Commit

Permalink
feat: major changes
Browse files Browse the repository at this point in the history
  • Loading branch information
its-abhishek committed Jun 11, 2024
1 parent c9bab24 commit 46f65f7
Show file tree
Hide file tree
Showing 12 changed files with 1,154 additions and 368 deletions.
1,174 changes: 896 additions & 278 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"tailwindcss": "^3.4.4"
}
}
File renamed without changes.
73 changes: 51 additions & 22 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,57 @@
import React from 'react'
import Header from './components/header/Header'
import Nav from './components/nav/Nav'
import About from './components/about/About'
import Experience from './components/skills/Skills'
import Services from './components/education/Education'
import Portfolio from './components/portfolio/Portfolio'
// import Events from './components/events/Events'
import Contact from './components/contact/Contact'
import Footer from './components/footer/Footer'
import { useState, useEffect } from "react";
import Header from "./components/header/Header";
import Nav from "./components/nav/Nav";
import About from "./components/about/About";
import Experience from "./components/skills/Skills";
import Services from "./components/education/Education";
import Portfolio from "./components/portfolio/Portfolio";
import Contact from "./components/contact/Contact";
import Footer from "./components/footer/Footer";

const App = () => {
const [currentPath, setCurrentPath] = useState(window.location.pathname);
console.log(currentPath)

const scrollToSection = (path, id, event) => {
event.preventDefault();
const section = document.getElementById(id);
if (section) {
if (id === "home") {
window.scrollTo({ top: 0, behavior: "smooth" });
} else {
section.scrollIntoView({ behavior: "smooth" });
}
window.history.pushState(null, "", path);
setCurrentPath(path);
}
};

useEffect(() => {
const handlePopState = () => {
setCurrentPath(window.location.pathname);
};

window.addEventListener("popstate", handlePopState);

return () => {
window.removeEventListener("popstate", handlePopState);
};
}, []);

return (
<>
<Header />
<Nav />
<About />
<Experience />
<Services />
<Portfolio />
{/* <Events /> */}
<Contact />
<Footer />
<Header />
{/* {currentPath !== "/" && currentPath !== "/home" && <Nav />} */}
<Nav />
<About />
<Experience />
<Services />
<Portfolio />
{/* <Events /> */}
<Contact />
<Footer currentPath={currentPath} scrollToSection={scrollToSection} />
</>
)
}
);
};

export default App
export default App;
2 changes: 1 addition & 1 deletion src/components/education/Education.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { HiBookOpen, HiOutlineBadgeCheck } from "react-icons/hi"

const Services = () => {
return (
<section id="services">
<section id="experience">
<h5 data-aos="fade-down">My Qualifications & Experience</h5>
<h2 data-aos="fade-down">Experience</h2>

Expand Down
71 changes: 6 additions & 65 deletions src/components/header/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,73 +1,14 @@
import React from "react";
import CTA from "./CTA";
import "./header.css";
import ME from "../../assets/me.png";
import HeaderSocials from "./HeaderSocials";
import { BsMouse } from "react-icons/bs";
import HeaderLayput from "./HeaderLayput";
import Navbar from "./Navbar";

const Header = () => {
return (
<header>
<div data-aos="zoom-in-down" className="container header__container">
<div className="header__navbar">
<ul className="permalinks">
<div className="header__main">
<h1>Abhishek Honnapure</h1>
</div>
<li>
<a href="#" className="active-link">
Home
</a>
</li>
<li>
<a href="#about">About</a>
</li>
<li>
<a href="#experience">Skills</a>
</li>
<li>
<a href="#services">Experience</a>
</li>
<li>
<a href="#portfolio">Portfolio</a>
</li>
{/* <li>
<a href="#testimonials">Awards</a>
</li> */}
<li>
<a href="#contact">Contact</a>
</li>
</ul>
</div>
<div className="header__container-text1">
<h1>Hello I'm</h1>
</div>
<div className="header__container-text2">
<h1>Abhishek</h1>
</div>
<div className="header__container-text3"> {/*data-aos="zoom-in-up"*/}
<h5 className="text-light" style={{ border: "2px solid #4db5ff", borderRadius: "5px", padding: "2px" }} >Fullstack Developer</h5>
</div>
<div className="header__container-text4">
<h5>
A tech enthusiast and interested in reaching peep's<br></br> to
share thoughts and learn something new.
</h5>
</div>
<div className="header__container-text5">
<h5>CSE Student @ PES University</h5>
</div>
<CTA />
<HeaderSocials />
<div className="me">
<img src={ME} alt="me" />
</div>
<a href="#contact" className="scroll__down">
Scroll Down
<BsMouse className="mouse__down" />
</a>
</div>
</header>
<div className="container">
<Navbar/>
<HeaderLayput/>
</div>
);
};

Expand Down
111 changes: 111 additions & 0 deletions src/components/header/HeaderLayput.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
import React from "react";
import { TypeAnimation } from "react-type-animation";
import { personalData } from "../utils/data/personal-data";
import { motion } from "framer-motion";
import { BsGithub, BsLinkedin } from "react-icons/bs";
import { FaFacebook, FaTwitterSquare } from "react-icons/fa";
import { MdDownload } from "react-icons/md";
import { RiContactsFill } from "react-icons/ri";
import { FiInstagram } from 'react-icons/fi'

const HeaderLayput = () => {
return (
<div className="grid grid-cols-1 sm:grid-cols-12 md:mt-8">
<motion.div
initial={{ opacity: 0, scale: 0.5 }}
animate={{ opacity: 1, scale: 1 }}
transition={{ duration: 0.5 }}
className="col-span-12 place-self-center text-center sm:text-left justify-self-start"
>
<div className="text-white mb-4 text-4xl sm:text-5xl lg:text-8xl lg:leading-normal font-extrabold">
<span className="text-transparent bg-clip-text bg-gradient-to-r from-primary-400 to-secondary-400">
Hello, I&apos;m{" "}
</span>
<br></br>
<TypeAnimation
sequence={[
"Abhishek",
1000,
"Web Developer",
1000,
"Programmer",
1000,
]}
wrapper="span"
speed={50}
repeat={Infinity}
/>
</div>
<p className="text-[#ADB7BE] text-base sm:text-lg mb-6 lg:text-xl">
A tech enthusiast and interested in reaching peep&apos;s to share
thoughts and learn somthing new.
<br />
<span className="text-[#dde6ec] font-bold">
{" "}
CSE Student @ PES University
</span>
</p>
<div className="my-12 flex items-center gap-5">
<a
href={personalData.github}
target="_blank"
className="transition-all text-secondary-400 hover:scale-125 duration-300"
>
<BsGithub size={30} />
</a>
<a
href={personalData.linkedIn}
target="_blank"
className="transition-all text-secondary-400 hover:scale-125 duration-300"
>
<BsLinkedin size={30} />
</a>
<alert
href={personalData.facebook}
target="_blank"
className="transition-all text-secondary-400 hover:scale-125 duration-300"
>
<FaFacebook size={30} />
</alert>
<a
href={personalData.instagram}
target="_blank"
className="transition-all text-secondary-400 hover:scale-125 duration-300"
>
<FiInstagram size={30} />
</a>
<a
href={personalData.twitter}
target="_blank"
className="transition-all text-secondary-400 hover:scale-125 duration-300"
>
<FaTwitterSquare size={30} />
</a>
</div>
<div className="flex items-center gap-3">
<a
href="#contact"
className="bg-gradient-to-r to-primary-400 from-secondary-400 p-[1px] rounded-full transition-all duration-300 hover:from-primary-500 hover:to-secondary-600"
>
<button className="px-3 text-xs md:px-8 py-3 md:py-4 bg-[#0d1224] rounded-full border-none text-center md:text-sm font-medium uppercase tracking-wider text-[#ffff] no-underline transition-all duration-200 ease-out md:font-semibold flex items-center gap-1 hover:gap-3">
<span>Contact me</span>
<RiContactsFill size={16} />
</button>
</a>

<a
target="_blank"
className="flex items-center gap-1 hover:gap-3 rounded-full bg-gradient-to-r from-primary-400 to-secondary-500 px-3 md:px-8 py-3 md:py-4 text-center text-xs md:text-sm font-medium uppercase tracking-wider text-white no-underline transition-all duration-200 ease-out hover:text-white hover:no-underline md:font-semibold"
role="button"
href={personalData.resume}
>
<span>Get Resume</span>
<MdDownload size={16} />
</a>
</div>
</motion.div>
</div>
);
};

export default HeaderLayput;
36 changes: 36 additions & 0 deletions src/components/header/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import React from "react";
import { links } from "../utils/data/NavigationData";
import logo from "../../assets/me-about.jpg";

const Navbar = ({ currentPath, scrollToSection }) => {
return (
<div className="hidden md:block py-5">
<div className="grid grid-cols-2">
<div>
<a href="/">
<img src={logo} className="w-12 h-12 rounded-full" alt="Logo"></img>
</a>
</div>
<div>
<ul className="flex items-center flex-row gap-6 text-base">
{links.map((link) => (
<li key={link.id}>
<a
href={link.path}
className={`${
currentPath === link.path ? "text-white" : ""
} transition duration-300 ease-in-out hover:text-white`}
onClick={(e) => scrollToSection(link.path, link.id, e)}
>
{link.label}
</a>
</li>
))}
</ul>
</div>
</div>
</div>
);
};

export default Navbar;
8 changes: 8 additions & 0 deletions src/components/utils/data/NavigationData.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export const links = [
{ label: "Home", path: "/", id: "home" },
{ label: "About", path: "/about", id: "about" },
{ label: "Skills", path: "/skills", id: "skills" },
{ label: "Experience", path: "/experience", id: "experience" },
{ label: "Portfolio", path: "/portfolio", id: "portfolio" },
{ label: "Contact", path: "/contact", id: "contact" },
];
13 changes: 13 additions & 0 deletions src/components/utils/data/personal-data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export const personalData = {
email: '[email protected]',
phone: '+91 9019833847',
address: 'Bengaluru, Karnataka, India - 560100',
github: 'https://github.com/its-abhishek',
facebook: 'https://www.facebook.com/abhi.honnapure',
linkedIn: 'https://www.linkedin.com/in/abhishek-honnapure-547636232/',
twitter: 'https://twitter.com/AbhishekHonnap4',
instagram: 'https://www.instagram.com/abhishek_honnapure/',
leetcode: "https://leetcode.com/said3812/",
devUsername: "itsabhishek",
resume: "/Abhishek_Honnapure.pdf"
}
7 changes: 5 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
margin: 0;
Expand All @@ -13,7 +16,7 @@
:root {
--color-bg: #1f1f38;
--color-bg-variant: #2c2c6c;
--color-primary: #4db5ff;
--color-primary: #60A5FA;
--color-primary-variant: rgba(77,181,255,0.4);
--color-white: #fff;
--color-light: rgba(255,255,255,0.6);
Expand All @@ -40,7 +43,7 @@ body {
background: var(--color-bg);
color: var(--color-white);
line-height: 1.7;
background-image: url(../src/assets/bg-texture.png);
/* background-image: url(../src/assets/bg-texture.png); */
overflow-x: hidden;
}

Expand Down
Loading

0 comments on commit 46f65f7

Please sign in to comment.