-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Footer to Layout . Fixed Navbar links prefetch to false. (#71)
footer and fix
- Loading branch information
1 parent
62455a0
commit 06f7d6a
Showing
13 changed files
with
358 additions
and
14 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
import "@/styles/footer.css"; | ||
import React from "react"; | ||
import Link from "next/link"; | ||
import { Noto_Sans , Montserrat } from "next/font/google"; | ||
import Image from "next/image"; | ||
|
||
const notoSansFont = Noto_Sans({ weight: ["300","400"], subsets: ["latin"] }); | ||
const montserratFont = Montserrat({weight: ["100","400"], subsets: ["latin"] }); | ||
|
||
function Footer() { | ||
const homeLink = "/"; | ||
const eventsLink = "/events"; | ||
const projectsLink = "/projects"; | ||
const membersLink = "/members"; | ||
const ccEmailLink = "mailto:[email protected]"; | ||
const addressLink = "https://goo.gl/maps/7g5D6XJpMAD2"; | ||
const linkedInLink = "https://www.linkedin.com/company/iiitvcc/"; | ||
const twitterLink = "https://x.com/iiitvcc"; | ||
const instagramLink = "https://www.instagram.com/codingclub_iiitv/"; | ||
const facebookLink = "https://www.facebook.com/iiitvcc/"; | ||
const iconWidthHeight = "30"; | ||
return ( | ||
<> | ||
<div className={`${notoSansFont.className} footer-container-1 grid grid-cols-1 lg:grid-cols-12`}> | ||
<hr className="col-span-1 lg:col-span-12 footer-divider-1"/> | ||
<div className="col-span-1 lg:col-span-4"> | ||
<div className="footer-cc-logo"> | ||
<img | ||
className="footer-cc-logo-img " | ||
src="https://avatars.githubusercontent.com/u/9347727?s=200&v=4" | ||
alt="IIITV Logo" | ||
/> | ||
<div> | ||
<p className="footer-cc-logo-title">Coding Club</p> | ||
<p className="footer-cc-logo-subtitle">Blog Website</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="col-span-1 lg:col-span-7 grid grid-cols-1 sm:grid-cols-12 footer-first-container-2"> | ||
<div className="footer-links-container col-span-2 sm:col-start-2"> | ||
<p> | ||
Links | ||
</p> | ||
<div className="footer-links-divider"></div> | ||
<Link href={homeLink} className={montserratFont.className} prefetch={false}> | ||
Home | ||
</Link> | ||
<Link href={eventsLink} className={montserratFont.className} prefetch={false}> | ||
Events | ||
</Link> | ||
<Link href={projectsLink} className={montserratFont.className} prefetch={false}> | ||
Projects | ||
</Link> | ||
<Link className={montserratFont.className} href={membersLink} prefetch={false}> | ||
Members | ||
</Link> | ||
</div> | ||
|
||
<div className="footer-contact-container col-span-2 sm:col-span-8 sm:col-start-4"> | ||
<p> | ||
Contact | ||
</p> | ||
<div> | ||
<p>Email</p> | ||
<Link href={ccEmailLink} target="_blank"> | ||
<text className={montserratFont.className}>: [email protected]</text> | ||
</Link> | ||
<p>Phone</p> | ||
<text className={montserratFont.className}>: +98875503111 ,9034534472</text> | ||
<p>Address</p> | ||
<Link href={addressLink} target="_blank" className={montserratFont.className}>: c/o Block No. 9, Government Engineering College, Sector 28, | ||
Gandhinagar, Gujarat | ||
</Link> | ||
</div> | ||
|
||
</div> | ||
<div className="footer-icon-container col-span-1 sm:col-start-12"> | ||
<Link href={linkedInLink} prefetch={false} target="_blank"><Image src="linkedin.svg" width={iconWidthHeight} height={iconWidthHeight} alt="Linkedin logo"></Image></Link> | ||
<Link href={twitterLink} prefetch={false} target="_blank"><Image src="twitter-2.svg" width={iconWidthHeight} height={iconWidthHeight} alt="Twitter Logo"></Image></Link> | ||
<Link href={instagramLink} prefetch={false} target="_blank"><Image src="instagram-2.svg" width={iconWidthHeight} height={iconWidthHeight} alt="Instagram Logo"></Image></Link> | ||
<Link href={facebookLink} prefetch={false} target="_blank"><Image src="facebook-2.svg" width={iconWidthHeight} height={iconWidthHeight} alt="Facebook Logo"></Image></Link> | ||
</div> | ||
</div> | ||
</div> | ||
<div className={`${montserratFont.className} footer-container-2`}> | ||
<div className="footer-dot-container"> | ||
<p>Designed by DOT</p> | ||
<div className="dot-icon"> | ||
<div /><div /><div /><div /><div /><div /><div /><div /><div /> | ||
</div> | ||
</div> | ||
<hr className="footer-container-2-divider"></hr> | ||
<div className="footer-cc-container"> | ||
<p>Developed by Coding Club</p> | ||
<img | ||
className="footer-cc-logo-img-2" | ||
src="https://avatars.githubusercontent.com/u/9347727?s=200&v=4" | ||
alt="IIITV Logo" | ||
/> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
06f7d6a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for iiitvcc ready!
✅ Preview
https://iiitvcc-ll67t7szi-iiitv-coding-clubs-projects.vercel.app
Built with commit 06f7d6a.
This pull request is being automatically deployed with vercel-action