0
0
Fork 0
mirror of https://git.verdigado.com/NB-Public/simple-wkd.git synced 2024-12-05 03:12:50 +01:00

Add success page

This commit is contained in:
Delta1925 2023-04-16 11:51:35 +02:00
parent 9cea1cacad
commit 625d9302d0
No known key found for this signature in database
GPG key ID: 1C21ACE44193CB25
4 changed files with 2406 additions and 954 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,10 +4,10 @@ import CenterXy from "../components/center-xy.astro";
import "../styles/global.css";
---
<Layout title="Submit a key">
<Layout title="Delete a key">
<CenterXy>
<form
action="{{%u}}api/delete"
action="((%u))api/delete"
method="get"
class="flex max-w-full flex-col"
>

View file

@ -7,7 +7,7 @@ import CenterXy from "../components/center-xy.astro";
<Layout title="Submit a key">
<CenterXy>
<form
action="{{%u}}api/submit"
action="((%u))api/submit"
method="post"
class="flex max-w-full flex-col"
>

10
src/pages/success.astro Normal file
View file

@ -0,0 +1,10 @@
---
import Layout from "../layouts/Layout.astro";
import CenterXy from "../components/center-xy.astro";
---
<Layout title="Success!">
<CenterXy>
<h1 class="text-4xl font-bold">((%m))</h1>
</CenterXy>
</Layout>