updated to pt-api v2

This commit is contained in:
Niki Wix Skaarup 2025-04-06 03:18:16 +02:00
parent fc05ea88c7
commit 6fb3df4dfd
Signed by: nikiskaarup
GPG key ID: FC2F1B116F6E788C
3 changed files with 33 additions and 33 deletions

View file

@ -15,31 +15,31 @@
<body
class="min-h-dvh bg-gray-950 bg-cover bg-fixed bg-center bg-no-repeat font-mono text-pretty text-gray-100"
>
<header class="content sticky top-0 z-20 grid bg-gray-950 py-2 font-mono sm:px-2">
<a
href="#main-content"
class="absolute top-0 left-0 z-50 rounded-b-sm bg-indigo-500 px-1 pt-0.5 text-xs text-gray-100 not-focus:sr-only"
>
Skip to main content
</a>
<header class="content sticky top-0 z-20 grid bg-gray-950 py-2 font-mono sm:px-2">
<div class="col-[content] grid grid-cols-3">
<div class="flex items-center gap-8">
<!-- -->
</div>
<div class="flex items-center justify-center">
<a href="/" class="text-center"> Userscripts </a>
<a href="/" class="block text-center underline decoration-transparent decoration-1 transition-colors hover:decoration-pink-600"> Userscripts </a>
</div>
<div class="flex items-center justify-end gap-2 py-2 md:gap-4">
<a
class="uppercase"
class="block"
href="https://git.skaarup.dev/nikiskaarup/userscripts"
target="_blank"
referrerpolicy="no-referrer"
>
<span class="sr-only">git.skaarup.dev/nikiskaarup/userscripts</span>
<svg class="aspect-square h-8" viewBox="0 0 98 96" xmlns="http://www.w3.org/2000/svg">
<svg class="aspect-square h-8" width="32" height="32" viewBox="0 0 98 96" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
@ -60,7 +60,7 @@
<section class="content col-[content] grid gap-2 bg-gray-900 py-8">
<h2 class="scroll-m-24 text-2xl" id="userscripts">
<a href="#userscripts"> userscripts </a>
<a href="#userscripts"> Userscripts </a>
</h2>
<ul class="flex list-inside list-disc flex-row gap-2">

File diff suppressed because one or more lines are too long

View file

@ -1,25 +1,25 @@
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"lib": [
"ESNext",
"DOM"
],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,