summaryrefslogtreecommitdiff
path: root/src/components/TechIcon.astro
diff options
context:
space:
mode:
authorMatt Kosarek <matt.kosarek@canonical.com>2026-07-08 08:29:04 -0400
committerMatt Kosarek <matt.kosarek@canonical.com>2026-07-08 08:29:04 -0400
commit418396ee5100eda8f6bc036ea35dbbe44db2f91a (patch)
tree78686d2865e0cd18b97abb01ef7478d55ff6e28e /src/components/TechIcon.astro
parent168eb38557c8ac5698f3ac89b1385089b5b4a5cd (diff)
feature: update styling
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>