delphi.market/vue/src/views/UserView.vue
2023-12-03 06:21:57 +01:00

38 lines
718 B
Vue

<template>
<!-- eslint-disable -->
<div class="my-3">
<pre>
_ _ ___ ___ _ __
| | | / __|/ _ \ '__|
| |_| \__ \ __/ |
\__,_|___/\___|_| </pre>
</div>
<!-- eslint-enable -->
<header class="flex flex-row text-center justify-center pt-1">
<nav>
<StyledLink to="/user/wallet">wallet</StyledLink>
<StyledLink to="/user/invoices">invoices</StyledLink>
<StyledLink to="/user/orders">orders</StyledLink>
</nav>
</header>
<Suspense>
<router-view class="m-3" />
</Suspense>
</template>
<script setup>
import StyledLink from '@/components/StyledLink'
</script>
<style scoped>
nav {
display: flex;
justify-content: center;
}
nav>a {
margin: 0 3px;
}
</style>