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:
parent
9cea1cacad
commit
625d9302d0
4 changed files with 2406 additions and 954 deletions
3344
pnpm-lock.yaml
3344
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -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
10
src/pages/success.astro
Normal 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>
|
Loading…
Reference in a new issue