Skip to content

Commit

Permalink
feat: added subscription box
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedMSawaid committed Dec 9, 2024
1 parent 321752f commit 0263783
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/_components/subscribe.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div class="p-4 bg-gray-300 rounded-xl w-96 hover:cursor-pointer">
<a
href="https://syedmsawaid.substack.com/subscribe"
target="_blank"
class="flex flex-col gap-2 text-black no-underline hover:bg-transparent"
>
<div class="text-base font-bold">Newsletter</div>
<input
class="w-full px-2 py-1 border border-black rounded pointer-events-none"
placeholder="Your email"
type="text"
>
<p class="my-0 text-sm ">Join my newsletter on tech, life and everything inbetween.</p>
</a>
</div>
4 changes: 3 additions & 1 deletion src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ I would love to hear from you. You can contact me:

- Email: [hi@syedmsawaid.com](mailto:hi@syedmsawaid.com)
- Bluesky: [@syedmsawaid.com](https://bsky.app/profile/syedmsawaid.com){:target="_blank"}
- [other ways](/contact)
- [other ways](/contact)

{% render "subscribe" %}

0 comments on commit 0263783

Please sign in to comment.