-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
115 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
module.exports = { | ||
env: { browser: true, es2020: true }, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:react/recommended', | ||
'plugin:react/jsx-runtime', | ||
'plugin:react-hooks/recommended', | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:react/jsx-runtime", | ||
"plugin:react-hooks/recommended", | ||
], | ||
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, | ||
settings: { react: { version: '18.2' } }, | ||
plugins: ['react-refresh'], | ||
parserOptions: { ecmaVersion: "latest", sourceType: "module" }, | ||
settings: { react: { version: "18.2" } }, | ||
plugins: ["react-refresh"], | ||
rules: { | ||
'react-refresh/only-export-components': 'warn', | ||
"react-refresh/only-export-components": "warn", | ||
}, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ export default { | |
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
export { default as photo } from './photo.jpg'; | ||
export { default as myPhoto } from './myPhoto.jpeg'; | ||
export { default as design } from './design.png'; | ||
export { default as code } from './code.png'; | ||
export { default as consulting } from './consulting.png'; | ||
export { default as botImage } from './botImage.jpg'; | ||
export { default as buyMeACoffee } from './buyMeACoffee.png'; | ||
export { default as bmcbuttonwhite } from './bmcbuttonwhite.png'; | ||
export { default as bmcQrCode } from './bmcQrCode.png'; | ||
export { default as GoldmanSachs } from './GoldmanSachs.png'; | ||
export { default as JPMorgan } from './JPMorgan.png'; | ||
export { default as IBM } from './IBM.png'; | ||
export { default as resume } from './myResume.pdf'; | ||
export { default as imagenationLogo } from './imagenationLogo.png'; | ||
export { default as portPhoto } from './portPhoto.jpg'; | ||
export { default as photo } from "./photo.jpg"; | ||
export { default as myPhoto } from "./myPhoto.jpeg"; | ||
export { default as design } from "./design.png"; | ||
export { default as code } from "./code.png"; | ||
export { default as consulting } from "./consulting.png"; | ||
export { default as botImage } from "./botImage.jpg"; | ||
export { default as buyMeACoffee } from "./buyMeACoffee.png"; | ||
export { default as bmcbuttonwhite } from "./bmcbuttonwhite.png"; | ||
export { default as bmcQrCode } from "./bmcQrCode.png"; | ||
export { default as GoldmanSachs } from "./GoldmanSachs.png"; | ||
export { default as JPMorgan } from "./JPMorgan.png"; | ||
export { default as IBM } from "./IBM.png"; | ||
export { default as resume } from "./myResume.pdf"; | ||
export { default as imagenationLogo } from "./imagenationLogo.png"; | ||
export { default as portPhoto } from "./portPhoto.jpg"; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
|
||
const Coffee = ({ image, qrCode }) => { | ||
return ( | ||
<a href="https://www.buymeacoffee.com/rrishu561y" target='_blank'> | ||
<img | ||
src={image} | ||
alt="Buy me a coffee" | ||
className='w-40' /> | ||
<a href="https://www.buymeacoffee.com/rrishu561y" target="_blank"> | ||
<img src={image} alt="Buy me a coffee" className="w-40" /> | ||
</a> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default Coffee | ||
export default Coffee; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,42 @@ | ||
import * as React from 'react'; | ||
import { AiFillGithub, AiOutlineLink } from 'react-icons/ai'; | ||
import * as React from "react"; | ||
import { AiFillGithub, AiOutlineLink } from "react-icons/ai"; | ||
|
||
const Project = ({ githubLink, projectLink, image, name, details }) => { | ||
|
||
return ( | ||
<div className='w-full flex flex-col gap-2 justify-center items-center'> | ||
<div className='flex flex-col justify-center items-center text-center gap-2 p-2'> | ||
<div className='w-[250px]'> | ||
<div className="w-full flex flex-col gap-2 justify-center items-center"> | ||
<div className="flex flex-col justify-center items-center text-center gap-2 p-2"> | ||
<div className="w-[250px]"> | ||
<img src={image} /> | ||
</div> | ||
<div className='flex justify-center items-center p-2'> | ||
<h2 className='font-burtons font-semibold text-2xl'>{name}</h2> | ||
<div className="flex justify-center items-center p-2"> | ||
<h2 className="font-burtons font-semibold text-2xl">{name}</h2> | ||
</div> | ||
<div className='flex justify-center items-center'> | ||
<div className="flex justify-center items-center"> | ||
<p>{details}</p> | ||
</div> | ||
</div> | ||
<div> | ||
{/* <button className='bg-gradient-to-r hover:bg-gradient-to-l from-cyan-500 to-teal-500 text-white px-4 py-2 rounded-md \ml-8' onClick={openLink}>View Project</button> */} | ||
{ | ||
projectLink ? ( | ||
<div className='flex gap-2 justify-center items-center'> | ||
<a href={githubLink} target='_blank'><AiFillGithub className="cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out" /></a> | ||
|
||
<a href={projectLink} target='_blank'><AiOutlineLink className='cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out hover:fill-purple-600' /></a> | ||
</div> | ||
) : ( | ||
<div> | ||
<a href={githubLink} target='_blank'><AiFillGithub className="cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out" /></a> | ||
</div> | ||
) | ||
} | ||
{projectLink ? ( | ||
<div className="flex gap-2 justify-center items-center"> | ||
<a href={githubLink} target="_blank"> | ||
<AiFillGithub className="cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out" /> | ||
</a> | ||
|
||
<a href={projectLink} target="_blank"> | ||
<AiOutlineLink className="cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out hover:fill-purple-600" /> | ||
</a> | ||
</div> | ||
) : ( | ||
<div> | ||
<a href={githubLink} target="_blank"> | ||
<AiFillGithub className="cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out" /> | ||
</a> | ||
</div> | ||
)} | ||
</div> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default Project; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export { default as Service } from './Service.jsx' | ||
export { default as Project } from './Project.jsx' | ||
export { default as Coffee } from './Coffee.jsx' | ||
export { default as QRcode } from './QRcode.jsx' | ||
export { default as DesignParticles } from './DesignParticles.jsx' | ||
export { default as Carousel } from './Carousel.jsx' | ||
export { default as MyTimeline } from './MyTimeline.jsx' | ||
export { default as Service } from "./Service.jsx"; | ||
export { default as Project } from "./Project.jsx"; | ||
export { default as Coffee } from "./Coffee.jsx"; | ||
export { default as QRcode } from "./QRcode.jsx"; | ||
export { default as DesignParticles } from "./DesignParticles.jsx"; | ||
export { default as Carousel } from "./Carousel.jsx"; | ||
export { default as MyTimeline } from "./MyTimeline.jsx"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom/client' | ||
import App from './App.jsx' | ||
import './index.css' | ||
import React from "react"; | ||
import ReactDOM from "react-dom/client"; | ||
import App from "./App.jsx"; | ||
import "./index.css"; | ||
|
||
ReactDOM.createRoot(document.getElementById('root')).render( | ||
ReactDOM.createRoot(document.getElementById("root")).render( | ||
<React.StrictMode> | ||
<App /> | ||
</React.StrictMode> | ||
) | ||
</React.StrictMode>, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { defineConfig } from 'vite' | ||
import react from '@vitejs/plugin-react' | ||
import { defineConfig } from "vite"; | ||
import react from "@vitejs/plugin-react"; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
base: '/PortfolioReact/', | ||
base: "/PortfolioReact/", | ||
plugins: [react()], | ||
}) | ||
}); |