Skip to content

Commit dd90639

Browse files
committed
Update index.mdx
1 parent a91e773 commit dd90639

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/content/docs/index.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ We will use your email to send updates about Digital Design Nizam. Unsubscribe a
5252

5353
<form id="subscribe-form" class="flex gap-4">
5454
<input type="email" name="email" placeholder="Email" required class="border p-2 min-w-96" />
55-
<button type="submit" class="bg-secondary text-white cursor-pointer p-2 px-4">Subscribe</button>
55+
<button
56+
type="submit"
57+
class="bg-secondary text-white cursor-pointer p-2 px-4"
58+
onclick="this.innerHTML='Subscribing...'; setTimeout(() => { this.innerHTML='Subscribe'; }, 5000);"
59+
>
60+
Subscribe
61+
</button>
5662
</form>
5763

5864
<script src="form.js"></script>

0 commit comments

Comments
 (0)