summaryrefslogtreecommitdiff
path: root/src/components/TechIcon.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/TechIcon.astro')
-rw-r--r--src/components/TechIcon.astro11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/TechIcon.astro b/src/components/TechIcon.astro
new file mode 100644
index 0000000..8563cf4
--- /dev/null
+++ b/src/components/TechIcon.astro
@@ -0,0 +1,11 @@
+---
+interface Props {
+ name: string;
+}
+
+const { name } = Astro.props;
+---
+
+<span class="tech-icon" data-tech={name}>
+ <slot />
+</span>