Lucien Cartier-Tilet
5fbab2eefc
This commit adds icons from various sources as a single font file to the website. Icons can be inserted with the new Icon component.
18 lines
268 B
Vue
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>
|