2023-07-17 19:11:13 +00:00
|
|
|
<script setup>
|
|
|
|
const { isDesktopOrTablet } = useDevice();
|
2023-07-28 01:44:21 +00:00
|
|
|
|
2023-11-30 07:48:17 +00:00
|
|
|
const user = false
|
2023-07-28 01:44:21 +00:00
|
|
|
|
2023-08-11 18:50:24 +00:00
|
|
|
/* <NuxtLink to="/" class="logo"><h1>Capital <br/>Region <br/>Bitcoin <br/>Network</h1></NuxtLink> */
|
|
|
|
/* <a @click="logout" ><h2>Logout</h2></a> */
|
2023-07-17 19:11:13 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<header>
|
2023-08-11 18:50:24 +00:00
|
|
|
<div class="logo">
|
|
|
|
<NuxtLink to="/">
|
|
|
|
<img src="/img/logo.png" alt="Capital Region Bitcoin Network">
|
|
|
|
</NuxtLink>
|
|
|
|
</div>
|
2023-07-17 19:11:13 +00:00
|
|
|
<div class="nav" >
|
|
|
|
<NuxtLink to="/about"><h2>About</h2></NuxtLink>
|
|
|
|
<NuxtLink to="/#guides"><h2>Guides</h2></NuxtLink>
|
|
|
|
<NuxtLink to="/#events" ><h2>Events</h2></NuxtLink>
|
2023-08-11 18:50:24 +00:00
|
|
|
<NuxtLink to="/" v-if="isDesktopOrTablet" ><h2>Members</h2></NuxtLink>
|
2023-07-17 19:11:13 +00:00
|
|
|
</div>
|
2023-07-28 01:44:21 +00:00
|
|
|
<div class="auth" v-if="isDesktopOrTablet">
|
|
|
|
<div class="links" v-if="!user">
|
|
|
|
<NuxtLink to="/register"><h2>Register</h2></NuxtLink>
|
|
|
|
<NuxtLink to="/login"><h2>Sign in</h2></NuxtLink>
|
|
|
|
</div>
|
|
|
|
<div class="user" v-if="user">
|
2023-11-30 07:48:17 +00:00
|
|
|
<!-- <NuxtLink :to="'/u/' + user.external_identifier"><h2>{{user.first_name}}</h2></NuxtLink> -->
|
2023-07-28 01:44:21 +00:00
|
|
|
</div>
|
2023-07-17 19:11:13 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
</template>
|