Skip to content

Commit

Permalink
Updated tech stack on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
IDrumsey committed Oct 26, 2024
1 parent 72b6a22 commit 6e1be99
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 14 deletions.
5 changes: 4 additions & 1 deletion app/components/tech-stack/section-item/section-item.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styles from "./section-item.module.scss"
import React, { useEffect, useRef } from "react"
import React, { CSSProperties, useEffect, useRef } from "react"

import { IconType } from "react-icons"

Expand All @@ -11,6 +11,7 @@ interface Props {
wrapperClassNames: string[]
animationDelay: number
adjustLogoToTextBottom?: boolean
wrapperStyles?: CSSProperties
}

const SectionItem = React.forwardRef<HTMLDivElement, Props>(
Expand All @@ -22,6 +23,7 @@ const SectionItem = React.forwardRef<HTMLDivElement, Props>(
wrapperClassNames,
animationDelay,
adjustLogoToTextBottom = false,
wrapperStyles,
}: Props,
ref
) => {
Expand Down Expand Up @@ -55,6 +57,7 @@ const SectionItem = React.forwardRef<HTMLDivElement, Props>(
style={{
// https://youtu.be/8RrTJY_z36c
animationDelay: `${animationDelay}ms`,
...wrapperStyles,
}}
>
{
Expand Down
132 changes: 119 additions & 13 deletions app/homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Typed from "typed.js"

// a lot of the brand colors come from the official websites

import { AiFillLinkedin } from "react-icons/ai"
import { AiFillLinkedin, AiOutlineDotNet } from "react-icons/ai"
import {
FaGithubSquare,
FaYoutubeSquare,
Expand All @@ -32,9 +32,24 @@ import {
FaPhp,
FaAngular,
FaLaravel,
FaAws,
} from "react-icons/fa"
import { SiCplusplus } from "react-icons/si"
import {
SiBlender,
SiCplusplus,
SiDocker,
SiFigma,
SiGnubash,
SiMicrosoftazure,
SiPowershell,
SiVisualstudio,
} from "react-icons/si"
import { SiJavascript } from "react-icons/si"
import { RiNextjsFill } from "react-icons/ri"
import { SiMicrosoftsqlserver } from "react-icons/si"
import { FaNpm } from "react-icons/fa"
import { VscVscode } from "react-icons/vsc"

import { Project } from "@/models/project"
import Image from "next/legacy/image"
import { Metadata } from "next"
Expand Down Expand Up @@ -117,17 +132,12 @@ export default function HomePage() {
name: string
logoIcon?: any
logoColor?: string
bottomBreak?: boolean
}[]
}[] = [
{
title: "Most Used",
items: [
{
name: "Javascript",
logoIcon: SiJavascript,
logoColor: "yellow",
},

{
name: "HTML",
logoIcon: FaHtml5,
Expand All @@ -139,35 +149,88 @@ export default function HomePage() {
logoIcon: FaCss3Alt,
logoColor: "#1989C1",
},

{
name: "Javascript",
logoIcon: SiJavascript,
logoColor: "yellow",
bottomBreak: true,
},
{
name: "React",
logoIcon: FaReact,
logoColor: "#61dafb",
},
{
name: "Next.js",
logoIcon: RiNextjsFill,
logoColor: "#c7c7c7",
bottomBreak: true,
},

{
name: "SQL Server",
logoIcon: SiMicrosoftsqlserver,
logoColor: "#d24458",
},

{
name: "NodeJS",
logoIcon: FaNodeJs,
logoColor: "#689f63",
},

{
name: "Python",
logoIcon: FaPython,
logoColor: "#356f9f",
bottomBreak: true,
},

{
name: "Docker",
logoIcon: SiDocker,
logoColor: "#1c60e6",
},

{
name: "Azure",
logoIcon: SiMicrosoftazure,
logoColor: "#31b1e5",
},

{
name: "Git",
logoIcon: FaGitAlt,
logoColor: "#f54d27",
},

{
name: "Python",
logoIcon: FaPython,
logoColor: "#356f9f",
name: "npm",
logoIcon: FaNpm,
logoColor: "#c53635",
},
{
name: "Blender",
logoIcon: SiBlender,
logoColor: "#e56b00",
},

{
name: "VSCode",
logoIcon: VscVscode,
logoColor: "#2aaaf2",
},

{
name: "Figma",
logoIcon: SiFigma,
logoColor: "#ea4c1d",
},
],
},

{
title: "It's been a minute",
title: "Used",
items: [
{
name: "PHP",
Expand All @@ -181,10 +244,48 @@ export default function HomePage() {
logoColor: "#c3002f",
},

{
name: "C++",
logoIcon: SiCplusplus,
logoColor: "#00427e",
},

{
name: "C#",
logoIcon: AiOutlineDotNet,
logoColor: "#72489f",
},

{
name: "Laravel",
logoIcon: FaLaravel,
logoColor: "#ff2d20",
bottomBreak: true,
},

{
name: "AWS",
logoIcon: FaAws,
logoColor: "#ff9c08",
bottomBreak: true,
},

{
name: "Bash",
logoIcon: SiGnubash,
logoColor: "#35cb52",
},

{
name: "PowerShell",
logoIcon: SiPowershell,
logoColor: "#2d4260",
},

{
name: "Visual Studio",
logoIcon: SiVisualstudio,
logoColor: "#7f47b7",
},
],
},
Expand Down Expand Up @@ -425,6 +526,11 @@ export default function HomePage() {
? styles["tech-stack-item-in-view"]
: styles["tech-stack-item-out-view"],
]}
wrapperStyles={{
marginBottom: item.bottomBreak
? 20
: undefined,
}}
animationDelay={
techStackAnimationDelay *
(itemI + 1) *
Expand Down

0 comments on commit 6e1be99

Please sign in to comment.