From 74e960f14ee141b5745498f991ecc8bf46ebf177 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Mon, 25 Dec 2023 19:28:08 -0600 Subject: [PATCH] add job, project, and skill components --- components/Job.js | 14 ++++++++++++++ components/Project.js | 18 ++++++++++++++++++ components/Skill.js | 31 +++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 components/Job.js create mode 100644 components/Project.js create mode 100644 components/Skill.js diff --git a/components/Job.js b/components/Job.js new file mode 100644 index 0000000..8ac7021 --- /dev/null +++ b/components/Job.js @@ -0,0 +1,14 @@ +export default function Job({ logo, name, details, dateFrom, dateTo }) { + return ( +
+ +
+
+ {name} + {dateFrom} - {dateTo} +
+ {details} +
+
+ ) +} diff --git a/components/Project.js b/components/Project.js new file mode 100644 index 0000000..9827daf --- /dev/null +++ b/components/Project.js @@ -0,0 +1,18 @@ +export default function Project({ label, date, url }) { + return ( +
+

{label}

+
+
+ {date} + + + + + +
+
+ ) +} diff --git a/components/Skill.js b/components/Skill.js new file mode 100644 index 0000000..c669688 --- /dev/null +++ b/components/Skill.js @@ -0,0 +1,31 @@ +export default function Skill({ label, color }) { + + switch (color) { + case "blue-500": + return + case "green-800": + return + + case "yellow-800": + return + + case "yellow-500": + return + + default: + return null + } +} + +function TypescriptSkill({ label }) { + return
{label}
+} +function JavascriptSkill({ label }) { + return
{label}
+} +function PythonSkill({ label }) { + return
{label}
+} +function RustSkill({ label }) { + return
{label}
+}