wip: RichText & Templating for i18n, refactored & began i18n for Discord Server Rules using the new features
This commit is contained in:
parent
feacb9b754
commit
a3adc2526f
25 changed files with 929 additions and 141 deletions
14
apps/vdn-static/src/components/atoms/DropdownItem.vue
Normal file
14
apps/vdn-static/src/components/atoms/DropdownItem.vue
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
import type { AnchorHTMLAttributes } from "vue";
|
||||
|
||||
defineProps<{
|
||||
onClick: AnchorHTMLAttributes["onClick"];
|
||||
}>() satisfies AnchorHTMLAttributes;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<!-- eslint-disable-next-line vue/no-restricted-html-elements - we're wrapping it into a useable type -->
|
||||
<a v-bind="$props">
|
||||
<slot />
|
||||
</a>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue