Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Comment out JoinWaitlist component in DownloadSection and add thank y…
Browse files Browse the repository at this point in the history
…ou message in UpscaylCloudSection
  • Loading branch information
NayamAmarshe committed Dec 16, 2023
1 parent b2cc65c commit 24e4bd2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/DownloadSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</div>
</div>

<JoinWaitlist />
<!-- <JoinWaitlist /> -->

<Modal bind:showModal={showLinuxModal}>
<!-- svelte-ignore a11y-no-static-element-interactions -->
Expand Down Expand Up @@ -161,7 +161,7 @@

<Modal bind:showModal={showCloudModal}>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<JoinWaitlist />
<!-- <JoinWaitlist /> -->
</Modal>

<style>
Expand Down
9 changes: 8 additions & 1 deletion src/lib/components/UpscaylCloudSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
let email = '';
const nameRegex = /^[A-Za-z\s.'-]+$/;
const emailRegex = /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
const emailRegex =
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
</script>

<section
Expand Down Expand Up @@ -41,6 +42,12 @@
class="flex flex-col gap-8 rounded-3xl bg-gradient-to-t from-slate-800 to-transparent px-4 py-20 sm:px-36"
id="join-beta"
>
<p
class="max-w-md rounded-lg bg-slate-600/40 p-4 text-center text-sm font-light leading-tight text-slate-300"
>
Thank you for the overwhelming response! <br /> We'll be sending out emails to chosen waitlist
members soon!
</p>
<h3 class="text-center text-3xl font-medium text-slate-300">
Join the beta waitlist for <u class="text-slate-100">free</u>
</h3>
Expand Down

0 comments on commit 24e4bd2

Please sign in to comment.