cancel and success page

This commit is contained in:
rustdesk 2024-10-12 02:06:46 +08:00
parent 0b733ca594
commit 7caadbd911
3 changed files with 43 additions and 1 deletions

View File

@ -86,7 +86,7 @@ const {
description && (
<li class="flex items-start space-x-3 text-sm">
<div class="">
<Icon name={icon ? icon : 'tabler:check'} class="size-4 text-blue-500" />
<Icon name={icon ? icon : 'tabler:check'} class="size-4 text-secondary" />
</div>
<span>
<Fragment set:html={description} />

18
v3/src/pages/cancel.astro Normal file
View File

@ -0,0 +1,18 @@
---
import Hero from '~/components/widgets/Hero.astro';
import Layout from '~/layouts/PageLayout.astro';
const metadata = {
title: 'Success',
};
---
<Layout metadata={metadata}>
<!-- Hero Widget ******************* -->
<Hero tagline="">
<Fragment slot="title"> You have cancelled the payment!
</Fragment>
</Hero>
</Layout>

View File

@ -0,0 +1,24 @@
---
import Hero from '~/components/widgets/Hero.astro';
import Layout from '~/layouts/PageLayout.astro';
const metadata = {
title: 'Success',
};
---
<Layout metadata={metadata}>
<!-- Hero Widget ******************* -->
<Hero tagline="">
<Fragment slot="title"> Payment successful! </Fragment>
<Fragment slot="content">
<p class="text-center leading-10 text-lg">The license has been sent to the email you entered on the payment page.<br>
Please contact us at <a class="underline text-secondary" href="mailto:support@rustdesk.com">support@rustdesk.com</a> if you didn't receive the email.<br>
Getting Started? Read our <a class="underline text-secondary" href="https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/">docs</a>.
</p>
</Fragment>
</Hero>
</Layout>