Skip to content

Commit 8671b46

Browse files
committed
feat:added subscribe for updates within footer
1 parent 2f6219a commit 8671b46

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/components/Footer.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,25 @@ export default function Footer() {
9595
>
9696
9797
</Link>
98+
99+
<div className="mt-4 flex flex-col gap-2 w-full max-w-xs">
100+
<h3 htmlFor="email" className="font-jost text-2xl font-semibold">
101+
Subscribe For Updates:
102+
</h3>
103+
<div className="relative w-full">
104+
<input
105+
id="email"
106+
type="email"
107+
placeholder="Enter Your Email"
108+
className="w-full rounded-md border border-gray-300 px-4 py-2 pr-24 text-black focus:outline-none focus:ring-2 focus:ring-[#562EE7] dark:bg-white dark:text-black"
109+
/>
110+
<Button
111+
className="absolute right-0 top-0 h-full rounded-l-none rounded-r-md bg-[#562EE7] px-4 text-white hover:bg-[#4531b3]"
112+
>
113+
Subscribe!
114+
</Button>
115+
</div>
116+
</div>
98117
</div>
99118
</div>
100119
<p className="font-play mt-4 border-t border-[#130E1F] pt-12 text-center text-lg text-black dark:border-white/10 dark:text-white">

0 commit comments

Comments
 (0)