frontend/pages/oauth/code.vue

34 lines
1,021 B
Vue
Raw Normal View History

<template>
<div class="h-svh flex items-center justify-center px-4 bg-center bg-no-repeat bg-cover" :style="{
backgroundImage: 'url(/images/banner.webp)'
}">
2024-12-02 23:03:38 +01:00
<Card class="w-full max-w-md">
<CardHeader>
<CardTitle>{{ m.aware_awful_crow_spur() }}</CardTitle>
<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">
<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";
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>