bknd is dead long live userbase
Run Tests / test (pull_request) Successful in 4m57s

This commit is contained in:
2026-09-27 19:34:06 +05:30
parent 05e0086fcd
commit 0bfcb5ad71
529 changed files with 2385 additions and 2924 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
<template>
<div className="flex gap-4 items-center flex-col sm:flex-row">
<a className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground gap-2 text-white hover:bg-[#383838] dark:hover:bg-[#ccc] text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5"
href="https://bknd.io/" target="_blank" rel="noopener noreferrer">
<img className="grayscale" src="/bknd.ico" alt="bknd logomark" width={20} height={20} />
Go To Bknd.io
href="https://userbase.io/" target="_blank" rel="noopener noreferrer">
<img className="grayscale" src="/userbase.ico" alt="userbase logomark" width={20} height={20} />
Go To Userbase.io
</a>
<a className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:min-w-44"
href="https://docs.bknd.io/integration/nextjs" target="_blank" rel="noopener noreferrer">
href="https://docs.userbase.io/integration/nextjs" target="_blank" rel="noopener noreferrer">
Read our docs
</a>
</div>
+2 -2
View File
@@ -20,10 +20,10 @@ const pathname = computed(() => route.path)
Admin
</NuxtLink>
<a class="flex items-center gap-2 hover:underline hover:underline-offset-4" href="https://bknd.io" target="_blank"
<a class="flex items-center gap-2 hover:underline hover:underline-offset-4" href="https://userbase.io" target="_blank"
rel="noopener noreferrer">
<img aria-hidden src="/globe.svg" alt="Globe icon" width="16" height="16" />
Go to bknd.io →
Go to userbase.io →
</a>
</footer>
</template>
@@ -1,4 +1,4 @@
import type { DB } from "bknd";
import type { DB } from "userbase";
type Todo = DB["todos"];
+1 -1
View File
@@ -1,4 +1,4 @@
import type { User } from "bknd";
import type { User } from "userbase";
export const useUser = () => {
const getUser = () => $fetch("/api/auth/me") as Promise<{ user: User }>;
+1 -1
View File
@@ -24,7 +24,7 @@ async function handleSubmit(event: Event) {
<div class="flex flex-row items-center justify-evenly min-w-full">
<img class="size-24" src="/nuxt.svg" alt="Nuxt logo" />
<div class="ml-3.5 mr-2 font-mono opacity-70">&amp;</div>
<img class="dark:invert" src="/bknd.svg" alt="bknd logo" width="183" height="59" />
<img class="dark:invert" src="/userbase.svg" alt="userbase logo" width="183" height="59" />
</div>
<List :items="['Get started with a full backend.', 'Focus on what matters instead of repetition.']" />
+3 -3
View File
@@ -19,8 +19,8 @@ onMounted(() => {
<div class="ml-3.5 mr-2 font-mono opacity-70">&amp;</div>
<img
class="dark:invert"
src="/bknd.svg"
alt="bknd logo"
src="/userbase.svg"
alt="userbase logo"
width="183"
height="59"
/>
@@ -41,7 +41,7 @@ onMounted(() => {
<p className="text-xs opacity-50">
Sign in with:
<b>
<code>test@bknd.io</code>
<code>test@userbase.io</code>
</b>
/
<b>