frontend/app/pages/oauth/code.vue

43 lines
1.2 KiB
Vue
Raw Normal View History

<template>
2025-03-27 22:20:04 +01:00
<div
class="h-svh flex items-center justify-center px-4 bg-center bg-no-repeat bg-cover"
:style="{
backgroundImage: 'url(/images/banner.webp)',
}"
>
<Card class="w-full max-w-md *:w-full p-6">
2024-12-02 23:03:38 +01:00
<CardHeader>
<CardTitle>{{ m.aware_awful_crow_spur() }}</CardTitle>
2025-03-27 22:20:04 +01:00
<CardDescription
>{{ m.mushy_soft_lizard_propel() }}<br />{{
m.short_arable_leopard_zap()
}}
2024-12-02 23:03:38 +01:00
</CardDescription>
</CardHeader>
<CardContent class="grid">
2025-03-27 22:20:04 +01:00
<pre
class="rounded bg-muted px-4 py-2 border text-center w-full font-mono text-sm font-semibold select-all"
>{{ code }}</pre
>
2024-12-02 23:03:38 +01:00
</CardContent>
</Card>
</div>
</template>
<script setup lang="ts">
2024-12-02 23:03:38 +01:00
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "~/components/ui/card";
2025-07-16 07:48:39 +02:00
import * as m from "~~/paraglide/messages.js";
2024-12-02 23:03:38 +01:00
useHead({
title: m.spare_aqua_warthog_mend(),
});
const { code } = useUrlSearchParams();
</script>