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} + +
+ )) + } +
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 @@ + diff --git a/src/pages/index.astro b/src/pages/index.astro index b0b759dd..8decccab 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,8 +9,8 @@ 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" import TitleSection from "@/components/TitleSection.astro" ---- + +

+ + Tecnologias +

+ +
+