-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from sam-shervin/footer
Footer added and some animations added and modified
- Loading branch information
Showing
17 changed files
with
393 additions
and
97 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.
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,213 @@ | ||
import React from "react"; | ||
import comsocLogowhite from "../assets/comsocLogowhite.svg"; | ||
import instagram from "../assets/socialmedia/instagram.png"; | ||
import github from "../assets/socialmedia/github.png"; | ||
import linkedin from "../assets/socialmedia/linkedin.png"; | ||
import discord from "../assets/socialmedia/discord.png"; | ||
import youtube from "../assets/socialmedia/youtube.png"; | ||
import twitter from "../assets/socialmedia/twitter.png"; | ||
import telegram from "../assets/socialmedia/telegram.png"; | ||
import devto from "../assets/socialmedia/devto.png"; | ||
|
||
const Footer = () => { | ||
return ( | ||
<div className="relative z-0 mx-32"> | ||
<section className="h-0.5 bg-gradient-to-r from-[#CF1259] to-[#7161EF] my-4 " /> | ||
<footer className="font-montserrat"> | ||
<div className="pb-6 text-gray-800 flex flex-wrap justify-left text-left items-center"> | ||
<div className="pt-8 lg:pt-4 w-11/12 lg:mx-0 sm:w-2/3 lg:w-3/12 order-4 lg:order-1"> | ||
<img | ||
src={comsocLogowhite.src} | ||
alt="IEEE CS VITC Logo" | ||
className="ml-4 lg:ml-20" | ||
/> | ||
</div> | ||
<div className="mt-3 w-full lg:w-3/12 py-6 lg:py-0 pl-28 hidden lg:block order-1 lg:order-2"> | ||
<div className="text-lg lg:text-base text-white inline-block mb-3"> | ||
Menu | ||
<div id="underlineGradient" /> | ||
</div> | ||
<a | ||
href="/" | ||
className="my-3 block text-white hover:text-gray-200 text-sm" | ||
> | ||
Home | ||
</a> | ||
<a | ||
href="/Team" | ||
className="my-3 block text-white hover:text-gray-200 text-sm" | ||
> | ||
The Team | ||
</a> | ||
<a | ||
href="/Events" | ||
className="my-3 block text-white hover:text-gray-200 text-sm" | ||
> | ||
Events | ||
</a> | ||
<a | ||
href="/Project" | ||
className="my-3 block text-white hover:text-gray-200 text-sm" | ||
> | ||
Project | ||
</a> | ||
<a | ||
href="/Blogs" | ||
className="my-3 block text-white hover:text-gray-200 text-sm" | ||
> | ||
Blogs | ||
</a> | ||
<a | ||
href="/Contacts" | ||
className="my-3 block text-white hover:text-gray-200 text-sm" | ||
> | ||
Contacts | ||
</a> | ||
</div> | ||
<div className="mt-3 w-full lg:w-3/12 order-2 lg:order-3"> | ||
<div className="text-lg lg:text-base text-white inline-block mb-3"> | ||
Address | ||
<div id="underlineGradient" /> | ||
</div> | ||
<a | ||
href="https://goo.gl/maps/C9UE9JLWnBAfQPKe7" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="my-3 block text-white hover:text-gray-200 text-base lg:text-sm lg:pr-16" | ||
> | ||
Kelambakkam - Vandalur Rd, Rajan Nagar, Chennai, Tamil Nadu - | ||
600127 | ||
</a> | ||
<br /> | ||
<div className="text-lg lg:text-base text-white inline-block mb-3"> | ||
<div id="underlineGradient" /> | ||
</div> | ||
<a | ||
href="mailto:[email protected]" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="my-3 block text-white hover:text-gray-200 text-base lg:text-sm" | ||
> | ||
[email protected] | ||
</a> | ||
</div> | ||
<div className="mt-3 w-full lg:w-3/12 order-3 lg:order-4"> | ||
<div className="text-lg lg:text-base text-white inline-block lg:my-0 lg:pb-4 pl-6 lg:pl-0"> | ||
Social Media | ||
<div id="underlineGradient" /> | ||
</div> | ||
<div className="grid grid-cols-4 lg:pr-16"> | ||
<div> | ||
<a | ||
href="https://www.instagram.com/compsoc.vitcc/" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={instagram.src} | ||
alt="Instagram" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://discord.gg/6vkY3kcZnE" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={discord.src} | ||
alt="Discord" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://github.com/ComputerSocietyVITC" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={github.src} | ||
alt="Github" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://www.linkedin.com/company/ieee-computer-society-vit-chennai/" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={linkedin.src} | ||
alt="LinkedIn" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://www.youtube.com/channel/UCOgwDinZGau4rwv3swAe-nQ" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={youtube.src} | ||
alt="youtube" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://t.me/IEEE_CS_VIT_Chennai" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={telegram.src} | ||
alt="telegram" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://twitter.com/ieeecsvitc" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={twitter.src} | ||
alt="twitter" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://dev.to/ieeecsvitc" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<img | ||
src={devto.src} | ||
alt="devto" | ||
className="h-7 my-5 mx-auto lg:mx-0" | ||
></img> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,45 @@ | ||
import Link from "next/link"; | ||
import { useRouter } from "next/router"; | ||
import * as React from "react"; | ||
|
||
const Navbar = ({ | ||
buttons, | ||
active, | ||
buttons, | ||
active, | ||
}: { | ||
buttons: string[]; | ||
active: string; | ||
buttons: string[]; | ||
active: string; | ||
}): JSX.Element => { | ||
return ( | ||
<> | ||
<nav className="justify-center flex font-semibold text-[20px]"> | ||
<Link href="/"> | ||
<section | ||
className={ | ||
"px-16 py-6 " + `${"/" === active ? "gradient-text" : ""}` | ||
} | ||
> | ||
Home | ||
</section> | ||
</Link> | ||
{buttons.map((button) => { | ||
const isHighlighted = "/" + button === active; | ||
return ( | ||
<Link href={`/${button}`}> | ||
<section | ||
className={`px-16 py-6 ${isHighlighted ? "gradient-text" : ""}`} | ||
> | ||
{button} | ||
</section> | ||
</Link> | ||
); | ||
})} | ||
</nav> | ||
<section className="h-0.5 bg-gradient-to-r from-[#CF1259] to-[#7161EF]" /> | ||
</> | ||
); | ||
return ( | ||
<> | ||
<section className="top-0 left-0 w-full bg-inherit shadow-md z-50"> | ||
<nav className="justify-center flex font-normal text-[20px]"> | ||
<Link href="/"> | ||
<section | ||
className={ | ||
"px-16 py-6 " + `${"/" === active ? "gradient-text" : ""}` | ||
} | ||
> | ||
Home | ||
</section> | ||
</Link> | ||
{buttons.map((button) => { | ||
const isHighlighted = "/" + button === active; | ||
return ( | ||
<Link href={`/${button}`}> | ||
<section | ||
className={`px-16 py-6 ${ | ||
isHighlighted ? "gradient-text" : "" | ||
}`} | ||
> | ||
{button} | ||
</section> | ||
</Link> | ||
); | ||
})} | ||
</nav> | ||
<section className="h-0.5 bg-gradient-to-r from-[#CF1259] to-[#7161EF]" /> | ||
</section> | ||
</> | ||
); | ||
}; | ||
|
||
export default Navbar; |
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.