Skip to content

Commit 386ddb9

Browse files
committed
feat:used shadCN component
1 parent f8ae7dd commit 386ddb9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/Footer.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Link from "next/link";
44
import { useTheme } from "next-themes";
55
import { useEffect, useState } from "react";
66
import { Button } from "./ui/button";
7+
import { Input } from "@/components/ui/input";
78
import {
89
FaFacebook,
910
FaGithub,
@@ -101,11 +102,11 @@ export default function Footer() {
101102
Subscribe For Updates:
102103
</h3>
103104
<div className="relative w-full">
104-
<input
105+
<Input
105106
id="email"
106107
type="email"
107108
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+
className="pr-24"
109110
/>
110111
<Button
111112
className="absolute right-0 top-0 h-full rounded-l-none rounded-r-md bg-[#562EE7] px-4 text-white hover:bg-[#4531b3]"

0 commit comments

Comments
 (0)