Skip to content

Commit

Permalink
Add new footer for page
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Oct 28, 2024
1 parent 1b77304 commit 0a0fe79
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
20 changes: 20 additions & 0 deletions src/app/(home)/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { Metadata } from "next";
import Footer from "@/components/footer";

export const metadata: Metadata = {
title: "Barcelona Supercomputing Center",
description: "Barcelona Supercomputing Center",
};

export default function HomeLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<>
{children}
<Footer />
</>
);
}
File renamed without changes.
20 changes: 20 additions & 0 deletions src/app/case-study-energy/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { Metadata } from "next";
import Footer from "@/components/footer";

export const metadata: Metadata = {
title: "Barcelona Supercomputing Center",
description: "Barcelona Supercomputing Center",
};

export default function EnergyLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<>
{children}
<Footer backgroundClass="bg-blue-900" />
</>
);
}
1 change: 0 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default function RootLayout({
<Header />
<Menu />
{children}
<Footer />
</ContextWrapper>
</body>
</html >
Expand Down

0 comments on commit 0a0fe79

Please sign in to comment.