phundrak.com/content/.vuepress/components/Icon.vue
Lucien Cartier-Tilet 5fbab2eefc
feat: add custom icons to the website
This commit adds icons from various sources as a single font file to the website. Icons can be
inserted with the new Icon component.
2023-05-08 15:33:22 +02:00

18 lines
268 B
Vue

<template>
<i :class="`icon phunic-${props.name}`" />
</template>
<script setup lang="ts">
const props = defineProps({
name: {
default: '',
required: true,
type: String,
},
});
</script>
<style lang="less">
@import '../styles/fonts.less';
</style>