Skip to content

Commit db754ad

Browse files
committed
fix: skills mapping
1 parent 233d724 commit db754ad

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

src/components/Skills.astro

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,29 @@
22
import { skills } from "@cv";
33
import Section from "./Section.astro";
44
5-
const {
6-
languages,
7-
infrastructure_and_devops,
8-
backend_frameworks,
9-
databases,
10-
} = skills;
5+
const { languages, infrastructure_and_devops, frameworks, databases } = skills;
116
127
const skillCategories = [
138
{ title: "Languages", items: languages },
14-
{ title: "Backend Frameworks", items: backend_frameworks },
9+
{ title: "Frameworks", items: frameworks },
1510
{ title: "Databases", items: databases },
16-
{ title: "Infrastructure as Code", items: infrastructure_and_devops.infrastructure_as_code },
17-
{ title: "Config Management", items: infrastructure_and_devops.configuration_management },
18-
{ title: "Containers & Orchestration", items: infrastructure_and_devops.containerization_and_orchestration },
11+
{
12+
title: "Infrastructure as Code",
13+
items: infrastructure_and_devops.infrastructure_as_code,
14+
},
15+
{
16+
title: "Config Management",
17+
items: infrastructure_and_devops.configuration_management,
18+
},
19+
{
20+
title: "Containers & Orchestration",
21+
items: infrastructure_and_devops.containerization_and_orchestration,
22+
},
1923
{ title: "CI/CD", items: infrastructure_and_devops.ci_cd },
20-
{ title: "Version Control", items: infrastructure_and_devops.version_control },
24+
{
25+
title: "Version Control",
26+
items: infrastructure_and_devops.version_control,
27+
},
2128
];
2229
---
2330

@@ -31,7 +38,7 @@ const skillCategories = [
3138
</span>
3239
<span class="hidden px-2 sm:inline-block">:</span>
3340
<ul class="flex flex-1 flex-wrap gap-2">
34-
{items.map((item) => (
41+
{items.map((item: string) => (
3542
<li class="inline-flex items-center rounded-md border border-black/25 bg-neutral-200/50 px-2 py-1 text-xs text-black/80 dark:border-white/25 dark:bg-neutral-800/50 dark:text-white/80">
3643
{item}
3744
</li>

0 commit comments

Comments
 (0)