init: Initial commit

This commit is contained in:
Björn Benouarets
2026-01-19 08:42:07 +01:00
parent 1a47930d75
commit 74232ad2d2
74 changed files with 9822 additions and 98 deletions

10
lib/search-params.tsx Normal file
View File

@@ -0,0 +1,10 @@
import { createLoader, parseAsString } from 'nuqs/server'
export const authorize = {
client_id: parseAsString,
redirect_uri: parseAsString,
response_type: parseAsString.withDefault("code"),
scope: parseAsString.withDefault("profile email"),
}
export const authorizeLoader = createLoader(authorize)

6
lib/utils.ts Normal file
View File

@@ -0,0 +1,6 @@
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}