summaryrefslogtreecommitdiff
path: root/register/complete/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'register/complete/index.php')
-rw-r--r--register/complete/index.php57
1 files changed, 57 insertions, 0 deletions
diff --git a/register/complete/index.php b/register/complete/index.php
new file mode 100644
index 0000000..c817017
--- /dev/null
+++ b/register/complete/index.php
@@ -0,0 +1,57 @@
+<?php
+
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php";
+
+$title = "lang_register_title"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php";
+
+?>
+
+<style>
+ html, body {
+ overflow: hidden;
+ scroll-behavior: smooth;
+ }
+
+ * {
+ scroll-behavior: smooth;
+ }
+
+ .full-page {
+ border-bottom: 1px solid var(--palette-5);
+ padding-top: 50px;
+ height: 100vh;
+ scroll-snap-align: start;
+ scroll-snap-stop: always;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ text-align: center;
+ }
+
+ .full-page:nth-last-child(1) {
+ border-bottom: none;
+ }
+</style>
+
+<div style="scroll-snap-type: y mandatory;position: fixed;inset: 0;overflow: scroll;">
+ <div class="full-page" style="background-color: var(--palette-6);">
+ <div class="container" style="max-width: 960px; color: var(--bs-secondary-bg);">
+ <img src="/icons/magic-register.svg" style="width: 96px;">
+ <h1 style="margin-top: 10px; margin-bottom: 10px;"><?= l("lang_register_complete_title") ?></h1>
+ <p><?= l("lang_register_complete_description") ?></p>
+ <div class="alert alert-secondary" style="display: grid; grid-template-columns: max-content 1fr; grid-gap: 10px; max-width: max-content; margin-left: auto; margin-right: auto;">
+ <div style="display: flex; align-items: center;">
+ <img src="/icons/email.svg">
+ </div>
+ <div style="display: flex; align-items: center;">
+ <span><?= str_replace("%1", strip_tags($_GET["email"] ?? "-"), l("lang_register_send_email2")) ?></span>
+ </div>
+ </div>
+ <p><?= l("lang_register_complete_thanks") ?></p>
+ </div>
+ </div>
+</div>
+
+<br><br>
+
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?> \ No newline at end of file