Spaces:
Paused
Paused
Download web/src/components/NavButtons.vue from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 903 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/NavButtons.vue
- Command line
-
hf download hf://spaces/stremio-db/a/web/src/components/NavButtons.vue
-
curl -L -o NavButtons.vue https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/NavButtons.vue
903 Bytes
| <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> | |