a
File size: 903 Bytes
5390017
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<script setup lang="ts">
import { Button } from "@/components/ui/button";
import { BookOpen, Github } from "lucide-vue-next";

withDefaults(defineProps<{ primaryLabel?: string; primaryTo?: string }>(), {
  primaryLabel: "Sign in",
  primaryTo: "/login",
});
</script>

<template>
  <div class="flex flex-wrap items-center justify-center gap-3">
    <Button as-child size="lg">
      <router-link :to="primaryTo">{{ primaryLabel }}</router-link>
    </Button>
    <Button as-child variant="outline" size="lg">
      <router-link to="/docs">
        <BookOpen class="h-5 w-5" />
        API Docs
      </router-link>
    </Button>
    <Button as-child variant="outline" size="lg">
      <a
        href="https://github.com/PNRxA/openposterdb"
        target="_blank"
        rel="noopener noreferrer"
      >
        <Github class="h-5 w-5" />
        GitHub
      </a>
    </Button>
  </div>
</template>