From dd754bf442a9db49bc1d7e217795749e44e65692 Mon Sep 17 00:00:00 2001 From: Levid Date: Fri, 3 May 2024 23:57:15 -0400 Subject: [PATCH 1/3] Adding HTML, CSS and JS icons --- src/components/icons/CSS.astro | 11 +++++++++++ src/components/icons/HTML.astro | 11 +++++++++++ src/components/icons/JavaScript.astro | 10 ++++++++++ 3 files changed, 32 insertions(+) create mode 100644 src/components/icons/CSS.astro create mode 100644 src/components/icons/HTML.astro create mode 100644 src/components/icons/JavaScript.astro diff --git a/src/components/icons/CSS.astro b/src/components/icons/CSS.astro new file mode 100644 index 00000000..be67e999 --- /dev/null +++ b/src/components/icons/CSS.astro @@ -0,0 +1,11 @@ + + + + + + diff --git a/src/components/icons/HTML.astro b/src/components/icons/HTML.astro new file mode 100644 index 00000000..e5368e6f --- /dev/null +++ b/src/components/icons/HTML.astro @@ -0,0 +1,11 @@ + + + + + + diff --git a/src/components/icons/JavaScript.astro b/src/components/icons/JavaScript.astro new file mode 100644 index 00000000..86502d71 --- /dev/null +++ b/src/components/icons/JavaScript.astro @@ -0,0 +1,10 @@ + From 13e4a8996c1f8d561d65b52f095672459513dfec Mon Sep 17 00:00:00 2001 From: Levid Date: Fri, 3 May 2024 23:59:49 -0400 Subject: [PATCH 2/3] Creating Technologies.astro --- src/components/Technologies.astro | 61 +++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/components/Technologies.astro diff --git a/src/components/Technologies.astro b/src/components/Technologies.astro new file mode 100644 index 00000000..fddd0dfe --- /dev/null +++ b/src/components/Technologies.astro @@ -0,0 +1,61 @@ +--- +import TailwindIcon from "./icons/Tailwind.astro"; +import NextJSIcon from "./icons/NextJS.astro"; +import HTMLIcon from "./icons/HTML.astro"; +import CSSIcon from "./icons/CSS.astro"; +import JavaScriptIcon from "./icons/JavaScript.astro"; + +enum TechnologyType { + Frontend = 1, + Backend = 2, + Database = 3, + Other = 4, +} +const TECHNOLOGIES = [ + { + name: 'JavaScript', + icon: JavaScriptIcon, + colorClasses: 'bg-yellow-500 dark:bg-yellow-300/40', + type: TechnologyType.Frontend + }, + { + name: 'HTML', + icon: HTMLIcon, + colorClasses: 'bg-orange-600 dark:bg-orange-500/40', + type: TechnologyType.Frontend + }, + { + name: 'CSS', + icon: CSSIcon, + colorClasses: 'bg-blue-500 dark:bg-blue-300/40', + type: TechnologyType.Frontend + }, + { + name: "Tailwind", + icon: TailwindIcon, + colorClasses: "bg-blue-500 dark:bg-blue-500/40", + type: TechnologyType.Frontend, + }, + { + name: "NextJS", + icon: NextJSIcon, + colorClasses: "bg-black dark:border-slate-600/20 border-2", + type: TechnologyType.Frontend, + }, +]; +--- + +
+ { + TECHNOLOGIES.map((technology) => ( +
+ + + {technology.name} + +
+ )) + } +
From 8459d7de5e8fe31542088b45ba87fceebf087de0 Mon Sep 17 00:00:00 2001 From: Levid Date: Sat, 4 May 2024 00:00:23 -0400 Subject: [PATCH 3/3] Adding Technologies section to index --- src/pages/index.astro | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/pages/index.astro b/src/pages/index.astro index 448d84a0..5da2af23 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,6 +9,7 @@ import ProfileCheck from "@/components/icons/ProfileCheck.astro" import Projects from "@/components/Projects.astro" import SectionContainer from "@/components/SectionContainer.astro" import Hero from "@/components/Hero.astro" +import Technologies from "@/components/Technologies.astro" --- + +

+ + Tecnologias +

+ +
+