Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added footer code #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/app/components/footer/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ const Footer = () => {
<h1>Get Latest News</h1>
</div>
{/* Simple Form */}
<form className="flex gap-2 items-center flex-grow"> {/* Set flex-grow to fill the available space */}
<form className="flex gap-2 items-center flex-grow">
<input
type="email"
placeholder="Your mail here"
className="border border-white rounded-md p-2 bg-transparent text-white placeholder-white flex-grow-1" // Updated text color and placeholder color
className="border border-white rounded-md p-2 bg-transparent text-white placeholder-white flex-grow-1"
/>
<button type="submit" className="bg-white text-black rounded-md p-2 shadow-md"> {/* Updated text color, added box shadow */}
<button type="submit" className="bg-white text-black rounded-md p-2 shadow-md">
Subscribe
</button>
</form>
Expand Down Expand Up @@ -84,9 +84,8 @@ const Footer = () => {
</div>

{/* White Line */}
<div className="mx-auto border-t border-white my-4"></div> {/* Removed w-full, centered the line, and set mx-auto */}
<div className="mx-auto border-t border-white my-4"></div>

{/* New Content: Clickable Links */}
<div className="w-5/6 mx-auto flex items-center justify-center gap-4">
<Link href="/website-terms" className="hover:underline transform transition-transform">
Website Terms
Expand All @@ -102,7 +101,6 @@ const Footer = () => {
</Link>
</div>

{/* New Content: Additional Text Section */}
<div className="w-full mx-auto text-center mt-4">
Made by Tech Team IIITians Network @2023
</div>
Expand Down