Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
akchaturvedi committed Apr 26, 2024
1 parent 2c40583 commit b7f163c
Show file tree
Hide file tree
Showing 33 changed files with 18,259 additions and 0 deletions.
17,698 changes: 17,698 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "portfolio",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-scripts": "5.0.1",
"react-scroll": "^1.8.9",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"autoprefixer": "^10.4.15",
"postcss": "^8.4.28",
"tailwindcss": "^3.3.3"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
Binary file added public/favicon.ico
Binary file not shown.
43 changes: 43 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Adesh's PortFolio</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
Binary file added public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Binary file added public/resume.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
23 changes: 23 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import About from "./components/About";
import Contact from "./components/Contact";
import Home from "./components/Home";
import Navbar from "./components/Navbar";
import PortFolio from "./components/PortFolio";
import Skills from "./components/Skills";
import SocialLinks from "./components/SocialLinks";

function App() {
return (
<div className="App">
<Navbar/>
<Home/>
<SocialLinks/>
<About/>
<PortFolio/>
<Skills/>
<Contact/>
</div>
);
}

export default App;
8 changes: 8 additions & 0 deletions src/App.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { render, screen } from '@testing-library/react';
import App from './App';

test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});
Binary file added src/assets/amazon-clone.webp
Binary file not shown.
Binary file added src/assets/c++.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/css.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/ecommerce.avif
Binary file not shown.
Binary file added src/assets/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/html2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/js.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/react.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tailwind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/components/About.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react'

const About = () => {
return (
<div name="about" className='w-full h-full bg-gradient-to-b from-gray-800 to-black text-white'>

<div className='max-w-screen-lg pl-4 pb-0 md:p-4 mx-auto flex flex-col justify-center w-full h-full '>
<div className='pb-2'>
<p className='text-4xl font-bold inline border-b-4 border-gray-500'>About</p>
</div>

<p className='text-xl mt-0 md:mt-20'>I am Adesh Kumar Chaturvedi, currently pursuing my Bachelor of Technology in Computer Science and Information Technology at MJP Rohilkhand University, Bareilly. As a passionate web developer, I thrive on crafting seamless web experiences and solving intricate problems through code.</p>
<br />
<p className='text-xl'>
Throughout my academic journey, I've delved deep into various facets of software development, honing my skills in both frontend and backend technologies. From conceptualizing user interfaces with HTML/CSS to building robust server-side applications with Node.js and Express.js, I find joy in every aspect of the development lifecycle.My proficiency extends beyond mere coding; I embrace collaboration, continuous learning, and innovation to deliver solutions that exceed expectations. I am particularly drawn to the dynamic nature of the MERN stack, where I can seamlessly integrate different technologies to build scalable and efficient applications. </p>
</div>
</div>
)
}

export default About
26 changes: 26 additions & 0 deletions src/components/Contact.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react'

const Contact = () => {
return (
<div name='contact' className=' w-full h-screen bg-gradient-to-b from-black to-gray-800 p-4 text-white'>
<div className='flex flex-col p-4 justify-center max-w-screen-lg mx-auto h-full'>
<div className='pb-8'>
<p className='text-4xl font-bold inline border-b-4 border-gray-500 '>Contact</p>
<p className='py-6'>Submit the form below to get in touch with me</p>
</div>
<div className='flex justify-center items-center' >
<form action="https://getform.io/f/10adbefa-5d4d-4da5-b294-09e02f21ccf6" method='POST' className='flex flex-col w-full md:w-1/2'>
<input type="text" name='name' placeholder='Enter your name'
className='p-2 bg-transparent border-2 rounded-md text-white focus:outline-none' />
<input type="text" name='email' placeholder='Enter your Email'
className='my-4 p-2 bg-transparent border-2 rounded-md text-white focus:outline-none' />
<textarea name='message' placeholder='Enter your message' rows={10} className='p-2 bg-transparent border-2 rounded-md text-white focus:outline-none' />
<button className='text-white bg-gradient-to-b from-cyan-500 to-blue-500 px-6 py-3 my-8 mx-auto flex items-center rounded-md hover:scale-110 duration-300'>Let's talk</button>
</form>
</div>
</div>
</div>
)
}

export default Contact
39 changes: 39 additions & 0 deletions src/components/Home.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import React from 'react'
import Profile from '../assets/profile.png'
import { Link } from 'react-scroll'
import {MdOutlineKeyboardArrowRight} from 'react-icons/md'
const Home = () => {
return (
<div name="home"
className='h-screen w-full bg-gradient-to-b from-black via-black to-gray-800 '>


<div className='max-w-screen-lg mx-auto flex flex-col items-center justify-center h-full px-4 md:flex-row'>
<div className='flex flex-col justify-center h-full pt-[90px]'>
<h2 className='text-4xl md:text-7xl font-bold text-white'>I am a Frontend Developer</h2>
<p className='text-gray-500 md:py-4 max-w-md'>
I have started my Career in building and designing
software
Currently, I love to work on web application using
technologies like
React, Tailwind and CSS
</p>
<div>
<Link to='portFolio' smooth duration={300} className='group text-white px-6 py-3 my-2 flex items-center rounded-md bg-gradient-to-r from-cyan-500 to-blue-500 cursor-pointer w-[120px]'>
PortFolio
<span className='group-hover:rotate-90 duration-300'>
<MdOutlineKeyboardArrowRight size={25} className='ml-1'/>
</span>
</Link>
</div>
</div>
<div>
<img src={Profile} alt="My profile" className='rounded-2xl mx-auto w-full' />
</div>

</div>
</div>
)
}

export default Home
57 changes: 57 additions & 0 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import React, { useState } from 'react'
import {FaBars , FaTimes} from 'react-icons/fa'
import { Link } from 'react-scroll'
function Navbar() {
const [nav,setNav]=useState(false)
const links =[
{
id:1,
link:'home'
},
{
id:2,
link:'about'
},
{
id:3,
link:'portFolio'
},
{
id:4,
link:'skills'
},
{
id:5,
link:'contact'
},
]

return (
<div className='flex justify-between items-center w-full h-20 fixed text-white bg-black px-4'>
<div>
<h1 className='text-5xl font-signature ml-2'>Adesh Kumar Chaturvedi</h1>
</div>

<ul className='hidden md:flex'>
{ links.map(({id,link})=>(
<li key={id} className='px-4 capitalize font-medium cursor-pointer text-gray-500 hover:scale-105 duration-200'><Link to={link} smooth duration={500}>{link} </Link></li>
)
)
} </ul>
<div onClick={()=>{setNav(!nav)}} className='cursor-pointer pr-4 z-10 text-gray-500 md:hidden'>
{nav ? <FaTimes size={30}/>:<FaBars size={30}/>}
</div>
{nav && ( <ul className='flex flex-col justify-center items-center absolute top-0 left-0 w-full h-screen bg-gradient-to-b from-black to-gray-800 text-gray-500'>

{ links.map(({id,link})=>(
<li key={id} className='px-4 capitalize cursor-pointer py-6 text-4xl'>
<Link onClick={()=>{setNav(!nav)}} to={link} smooth duration={500}>{link} </Link>
</li>
))}

</ul>)}
</div>
)
}

export default Navbar
65 changes: 65 additions & 0 deletions src/components/PortFolio.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
import React from 'react'
import clone from '../assets/amazon-clone.webp'
import ecommerce from '../assets/ecommerce.avif'
const PortFolio = () => {
const portFolios=[
{
id:1,
src:ecommerce,
demo:'https://akchaturvedi.github.io/E-Commerse-website/index.html',
code:'https://github.com/akchaturvedi/E-Commerse-website'

},
{
id:2,
src:clone,
demo:'https://akchaturvedi.github.io/amazon-clone/',
code:'https://github.com/akchaturvedi/amazon-clone'
}
]
return (

<div
name="portFolio"
className='bg-gradient-to-b from-gray-800 to-black w-full text-white md:h-screen'>

<div className='max-w-screen-lg p-4 mx-auto flex flex-col justify-center w-full h-full'>
<div className='pb-8'>
<p className='text-4xl font-bold inline border-b-4 border-gray-500'>
PortFolio
</p>
<p className='py-6'>Check out some of my work right here</p>
</div>
<div className='grid sm:grid-cols-2 px-8 sm:px-0' >
{
// portFolios.map(({id,src})=>(
// <div key={id} className='shadow-md shadow-gray-600 mr-[60px] rounded-lg'>
// <img src={src} alt="" className='rounded-md duration-300 hover:scale-105' />
// <div className='flex justify-center items-center'>
// <button className='w-1/2 px-6 py-3 m-4 duration-200 hover:scale-105'>Demo</button>
// <button className='w-1/2 px-6 py-3 m-4 duration-200 hover:scale-105'>Code</button>
// </div>
// </div>
// ))


portFolios.map(({id,src,demo,code})=>(
<div key={id} className='shadow-md shadow-gray-600 mr-[60px] rounded-lg'>
<img src={src} alt="" className='rounded-md duration-300 hover:scale-105' />
<div className='flex justify-center items-center'>
<a href={demo} className='w-1/2 px-6 py-3 m-4 duration-200 hover:scale-105'>Demo</a>
<a href={code} className='w-1/2 px-6 py-3 m-4 duration-200 hover:scale-105'>Code</a>
</div>
</div>
))


}

</div>
</div>
</div>
)
}

export default PortFolio
Loading

0 comments on commit b7f163c

Please sign in to comment.