mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
362 B
17 lines
362 B
6 years ago
|
<script>
|
||
|
let yes = false;
|
||
|
</script>
|
||
|
|
||
|
<label>
|
||
1 year ago
|
<input type="checkbox" bind:checked={yes} />
|
||
6 years ago
|
Yes! Send me regular email spam
|
||
|
</label>
|
||
|
|
||
|
{#if yes}
|
||
|
<p>Thank you. We will bombard your inbox and sell your personal details.</p>
|
||
|
{:else}
|
||
2 years ago
|
<p>You must opt-in to continue. If you're not paying, you're the product.</p>
|
||
6 years ago
|
{/if}
|
||
|
|
||
1 year ago
|
<button disabled={!yes}> Subscribe </button>
|