Skip to content

Commit

Permalink
feat: tools icons
Browse files Browse the repository at this point in the history
  • Loading branch information
rishuraj1 committed Oct 14, 2023
1 parent 729d813 commit 9406ee1
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 49 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

100 changes: 58 additions & 42 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { useState, useEffect } from "react";
import { useState } from "react";
import Typed from "typed.js";
import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs";
import {
Expand All @@ -9,20 +9,23 @@ import {
} from "react-icons/ai";
import {
photo,
myPhoto,
consulting,
code,
botImage,
bmcbuttonwhite,
buyMeACoffee,
bmcQrCode,
resume,
imagenationLogo,
portPhoto,
NodeJS,
NextJS,
MongoDB,
ReactJS,
ExpressJS,
Figma,
JavaScript
} from "./assets";
import {
Project,
Service,
Coffee,
QRcode,
DesignParticles,
Expand Down Expand Up @@ -59,9 +62,36 @@ const App = () => {
};
}, []);

const designTools = ["Figma", "Adobe XD", "Adobe Illustrator"];
const codeTools = ["React", "Node", "Express", "MongoDB", "Firebase"];
const consultingTools = ["Google Docs", "Google Sheets", "Google Slides"];
const tools = [
{
name: "Node.js",
image: NodeJS,
},
{
name: "Next.js",
image: NextJS,
},
{
name: "MongoDB",
image: MongoDB,
},
{
name: "React.js",
image: ReactJS,
},
{
name: "Express.js",
image: ExpressJS,
},
{
name: "Figma",
image: Figma,
},
{
name: "JavaScript",
image: JavaScript,
},
]

return (
<div className={darkMode ? "dark" : ""}>
Expand Down Expand Up @@ -92,6 +122,7 @@ const App = () => {
</li>
<li>
<a
rel="noreferrer"
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"
href={resume}
Expand Down Expand Up @@ -122,16 +153,17 @@ const App = () => {
</p>
</div>
<div className="flex text-5xl justify-center gap-16 py-3 text-gray-600">
<a href="https://twitter.com/rrishu561" target="_blank">
<a rel="noreferrer" href="https://twitter.com/rrishu561" target="_blank">
<AiFillTwitterCircle className="hover:fill-[#1d9bf0] transform transition duration-500 hover:scale-125 flex justify-center items-center" />
</a>
<a
rel="noreferrer"
href="https://www.linkedin.com/in/rishu-raj-b380041a1/"
target="_blank"
>
<AiFillLinkedin className="hover:fill-[#0a66c2] transform transition duration-500 hover:scale-125 flex justify-center items-center" />
</a>
<a href="https://github.com/rishuraj1" target="_blank">
<a rel="noreferrer" href="https://github.com/rishuraj1" target="_blank">
<AiFillGithub className="dark:hover:fill-[#f0f6fc] hover:fill-black transform transition duration-500 hover:scale-125 flex justify-center items-center" />
</a>
</div>
Expand All @@ -144,8 +176,8 @@ const App = () => {
<img
className="object-cover w-full h-full flex items-center"
src={photo}
// onMouseOver={() => setOver(true)}
// onMouseOut={() => setOver(false)}
// onMouseOver={() => setOver(true)}
// onMouseOut={() => setOver(false)}
/>
</div>
</section>
Expand All @@ -162,36 +194,20 @@ const App = () => {
from the feedback section below.
</p>
</div>
<div className="lg:flex gap-16 md:flex items-start justify-center">
<Service
image={code}
name={"Beautiful Designs"}
about={
"Creating elegant designs according to your needs. Following core design theory."
}
toolsHeader={"Design tools I use: "}
tools={designTools}
/>

<Service
image={code}
name={"Latest Technology"}
about={
"I always work on improving my skills. One of the ways to do that is to always learn new things. I keep myself updated with latest technologies so I can achieve my goals."
}
toolsHeader={"Coding Tools/Tech I use: "}
tools={codeTools}
/>

<Service
image={consulting}
name={"Easy to interact UI"}
about={
"I always try to make my UI as simple as possible. I try to make it easy to interact with. I try to make it as minimal as possible."
}
toolsHeader={"Consulting tools I use: "}
tools={consultingTools}
/>
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 pb-10">
{
tools.map((tool, index) => {
return (
<div key={index} className="items-center flex justify-center">
<div className="items-center">
<div className="w-[100px]">
<img src={tool.image} />
</div>
</div>
</div>
)
})
}
</div>
</section>

Expand Down
10 changes: 10 additions & 0 deletions src/assets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ 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";

// logos

export { default as ExpressJS } from "./logos/express_logo.png";
export { default as Figma } from './logos/figma_logo.png'
export { default as JavaScript } from './logos/javascript_logo.png'
export { default as MongoDB } from './logos/mongodb_logo.png'
export { default as NextJS } from './logos/nextjs-icon.png'
export { default as NodeJS } from './logos/nodejs-1-logo-svg-vector.svg'
export { default as ReactJS } from './logos/react_logo.png'
Binary file added src/assets/logos/express_logo.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/logos/figma_logo.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/logos/javascript_logo.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/logos/mongodb_logo.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/logos/nextjs-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/logos/nodejs-1-logo-svg-vector.svg
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/logos/react_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions src/components/Project.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from "react";
import { AiFillGithub, AiOutlineLink } from "react-icons/ai";

const Project = ({ githubLink, projectLink, image, name, details }) => {
Expand All @@ -19,17 +18,17 @@ const Project = ({ githubLink, projectLink, image, name, details }) => {
{/* <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">
<a rel="noreferrer" 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">
<a rel="noreferrer" 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">
<a rel="noreferrer" href={githubLink} target="_blank">
<AiFillGithub className="cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out" />
</a>
</div>
Expand Down

0 comments on commit 9406ee1

Please sign in to comment.