docs/.vitepress/theme/components/DyneBrand.vue
raw| 1 | <template> |
| 2 | <span class="dyne-brand" :class="variant"> |
| 3 | <img class="dyne-brand__mark" :src="withBase('/dyne-mark.svg')" alt="Dyne.org" /> |
| 4 | <img class="dyne-brand__logotype" :src="withBase('/dyne-logotype.svg')" alt="foundation" /> |
| 5 | </span> |
| 6 | </template> |
| 7 | |
| 8 | <script setup lang="ts"> |
| 9 | import { withBase } from 'vitepress' |
| 10 | |
| 11 | defineProps<{ |
| 12 | variant?: 'nav' | 'doc' |
| 13 | }>() |
| 14 | </script> |