site/src/components/NavBar.vue
2024-01-25 11:53:46 +01:00

37 lines
No EOL
816 B
Vue

<script setup lang="ts">
import Link from './Link.vue';
</script>
<template>
<div class="links">
<Link href="https://unurled.me" :isExternal="true" label="Website" icon="mdi:web" />
<Link href="https://github.com/unurled" :isExternal="true" label="Github" icon="feather:github"/>
<Link href="https://git.unurled.me/unurled" :isExternal="true" label="Git" icon="mdi:git"/>
</div>
</template>
<style>
.links {
display: flex;
/* position: fixed; */
flex-direction: row;
flex-wrap: wrap;
gap: 1em;
justify-content: center;
width: 75vw;
}
@media only screen and (min-width: 768px) {
.links {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
}
</style>