Skip to content

Commit

Permalink
Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Oct 7, 2024
1 parent 3222b63 commit f13c7fa
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 28 deletions.
13 changes: 0 additions & 13 deletions public/logo-green.svg

This file was deleted.

13 changes: 0 additions & 13 deletions public/logo.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/vercel.svg

This file was deleted.

2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { cn } from "@/lib/utils"
import "./globals.css";
import Header from "@/components/header";
import Menu from "@/components/menu";
import Footer from "@/components/footer";

const fontSans = Roboto({
subsets: ["latin"],
Expand Down Expand Up @@ -32,6 +33,7 @@ export default function RootLayout({
<Header />
<Menu />
{children}
<Footer />
</ContextWrapper>
</body>
</html >
Expand Down
47 changes: 47 additions & 0 deletions src/components/footer/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import Logo from "@/svgs/logo.svg";
import Link from "next/link";
import HoverRepeatAnimation from "@/components/animations/hover-repeat";
import { cn } from "@/lib/utils";
import Vizzuality from "@/svgs/vizzuality.svg";

const Footer = ({ backgroundClass = "bg-green-700" }) => {
return (
<footer className={cn("w-full flex-col flex text-white", backgroundClass)}>
<div className="justify-center flex">
<div className="w-1/2 px-[100px] py-20 border-r border-white/20 flex flex-col gap-20">
<div className="text-sm font-medium uppercase max-w-[258px] tracking-widest">Digital Twins: <div>Innovative Research for a Sustainable Future</div></div>
<div className="text-lg font-bold leading-8">Lorem ipsum dolor sit amet consectetur. Sagittis praesent tempus euismod tincidunt duis phasellus aliquam facilisis consectetur.</div>
<Logo className="text-white" />
</div>
<div className="w-1/2 px-[100px] py-20 flex">
<ul className="space-y-8">
<li className="text-white text-base font-bold underline">
<Link href="/"><HoverRepeatAnimation>
Home
</HoverRepeatAnimation>
</Link>
</li>
<li className="text-white text-base font-bold underline">
<Link href="/"><HoverRepeatAnimation>Impact mode: Energy</HoverRepeatAnimation></Link>
</li>
<li className="text-white text-base font-bold underline">
<Link href="/"><HoverRepeatAnimation>About Us</HoverRepeatAnimation></Link>
</li>
<li className="text-white text-base font-bold underline">
<Link href="/"><HoverRepeatAnimation>Contact</HoverRepeatAnimation></Link>
</li>
</ul>
</div >
</div>
<div className="px-[100px] py-6 w-full gap-10 flex border-t border-white/20 text-white/50 text-lg leading-relaxed">
<div>© Barcelona Supercomputing Center, 2024</div>
<div className="items-center gap-1 flex">
<div>Designed and Developed by </div>
<Vizzuality />
</div>
</div>
</footer >
);
}

export default Footer;
34 changes: 34 additions & 0 deletions src/svgs/vizzuality.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f13c7fa

Please sign in to comment.