Skip to content

Commit

Permalink
add links to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhagarwal1 committed Oct 26, 2024
1 parent 0865949 commit e1ccdb3
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions src/components/Global/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ const Footer = () => {
</li>
<li>
<Link
href="https://tailwindcss.com/"
href="/how-apply"
className="text-gray-300 hover:text-white transition-all duration-200"
>
How to Apply
</Link>
</li>
<li>
<Link
href="https://tailwindcss.com/"
href="/who-apply"
className="text-gray-300 hover:text-white transition-all duration-200"
>
Who can apply?
Expand Down Expand Up @@ -173,43 +173,43 @@ const Footer = () => {
Stay Updated
</h2>

{/* Newsletter Form */}
<div className="flex justify-center w-full">
<div className="max-w-sm min-w-[200px] w-full">
<form onSubmit={handleSubmit}>
<div className="relative">
<input
type="email"
className="w-full pl-3 pr-10 py-2 bg-transparent placeholder:text-slate-400 text-slate-600 text-sm border border-slate-200 rounded-md transition duration-300 ease focus:outline-none focus:border-slate-400 hover:border-slate-300 shadow-sm focus:shadow"
placeholder="[email protected]"
value={email}
onChange={(e) => setEmail(e.target.value)}
required
/>
<button type="submit" className="absolute inset-y-0 right-0 px-4">
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
className="w-5 h-5 text-black"
>
<rect width="20" height="16" x="2" y="4" rx="2" />
<path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" />
</svg>
</button>
</div>
</form>
{message && <p className="mt-2 text-sm text-green-600">{message}</p>}
</div>
</div>
{/* Social Links */}

{/* Newsletter Form */}
<div className="flex justify-center w-full">
<div className="max-w-sm min-w-[200px] w-full">
<form onSubmit={handleSubmit}>
<div className="relative">
<input
type="email"
className="w-full pl-3 pr-10 py-2 bg-transparent placeholder:text-slate-400 text-slate-600 text-sm border border-slate-200 rounded-md transition duration-300 ease focus:outline-none focus:border-slate-400 hover:border-slate-300 shadow-sm focus:shadow"
placeholder="[email protected]"
value={email}
onChange={(e) => setEmail(e.target.value)}
required
/>
<button type="submit" className="absolute inset-y-0 right-0 px-4">
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
className="w-5 h-5 text-black"
>
<rect width="20" height="16" x="2" y="4" rx="2" />
<path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" />
</svg>
</button>
</div>
</form>
{message && <p className="mt-2 text-sm text-green-600">{message}</p>}
</div>
</div>
{/* Social Links */}
<h2 className="text-sm font-bold text-gray-900 dark:text-white uppercase tracking-wider mt-6 mb-2">

Socials
Expand Down

0 comments on commit e1ccdb3

Please sign in to comment.