fix: restore content compatibility checks
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import BrandIcon from './BrandIcon.vue';
|
||||
import type { ToolkitGroup } from '@/content/types';
|
||||
import { brandIconAvailable } from '@/icons/brand-icons';
|
||||
|
||||
defineProps<{ groups: readonly ToolkitGroup[] }>();
|
||||
</script>
|
||||
@@ -11,7 +12,7 @@ defineProps<{ groups: readonly ToolkitGroup[] }>();
|
||||
<h3 :id="`${group.title}-heading`">{{ group.title }}</h3>
|
||||
<ul class="toolkit-items">
|
||||
<li v-for="technology in group.technologies" :key="technology.name" class="toolkit-item" data-testid="toolkit-technology">
|
||||
<BrandIcon :label="technology.name" />
|
||||
<BrandIcon v-if="brandIconAvailable(technology.name)" :label="technology.name" />
|
||||
<span>{{ technology.name }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user