Skip to content

Commit

Permalink
add inbrowser.app in navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
rwv committed Oct 15, 2023
1 parent 833dd7d commit b19cc89
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/header/nav/HeaderNav.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
<template>
<nav class="header-nav">
<NavGitHub />
<n-divider vertical />
<NavInBrowserApp />
</nav>
</template>

<script lang="ts" setup>
import { NDivider } from "naive-ui";
import NavGitHub from "./NavGitHub.vue";
import NavInBrowserApp from "./NavInBrowserApp.vue";
</script>

<style scoped>
Expand Down
15 changes: 15 additions & 0 deletions src/components/header/nav/NavInBrowserApp.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<template>
<n-button text tag="a" href="https://inbrowser.app" target="_blank">
<template #icon>
<n-icon>
<Box16Regular />
</n-icon>
</template>
InBrowser.App
</n-button>
</template>

<script setup lang="ts">
import { NButton, NIcon } from "naive-ui";
import { Box16Regular } from "@vicons/fluent";
</script>

0 comments on commit b19cc89

Please sign in to comment.