Skip to content

Commit

Permalink
Merge pull request #30 from Lilypad-Tech/29-leaderboard-change-page-t…
Browse files Browse the repository at this point in the history
…itle

- fix: infodashboard page title and description
- fix: change top level consts to use ALL_CAPS
  • Loading branch information
NadiemM authored Jun 10, 2024
2 parents 44d5c4e + a53a068 commit 8684a6a
Show file tree
Hide file tree
Showing 4 changed files with 344 additions and 402 deletions.
93 changes: 47 additions & 46 deletions apps/info-dashboard/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,60 +6,61 @@ import NavBar from "@/components/NavBar";
import Footer from "@/components/Footer";
import ReactQueryProvider from "@/components/ReactQueryProvider";

const inter = Inter({ subsets: ["latin"] });
const INTER = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
export const METADATA: Metadata = {
title: "Lilypad Network ",
description:
"Track your progress and strive for the top spot on the Lilypad Network Leaderboard. ",
};

/* TODO check if the telegram is correct */

const socialLinks = [
{ href: "https://twitter.com/lilypad_tech", iconUrl: "/x.svg" },
{
href: "https://discord.gg/zWYTNZqB",
iconUrl: "/discord.svg",
},
{
href: "https://t.me/lilypadnetwork",
iconUrl: "/telegram.svg",
},
{
href: "https://github.com/Lilypad-Tech",
iconUrl: "/github.svg",
},
{
href: "https://www.linkedin.com/company/lilypad-network/",
iconUrl: "/linkedin.svg",
},
{
href: "https://www.youtube.com/@LilypadNetwork/featured",
iconUrl: "/youtube.svg",
},
const SOCIALLINKS = [
{ href: "https://twitter.com/lilypad_tech", iconUrl: "/x.svg" },
{
href: "https://discord.gg/zWYTNZqB",
iconUrl: "/discord.svg",
},
{
href: "https://t.me/lilypadnetwork",
iconUrl: "/telegram.svg",
},
{
href: "https://github.com/Lilypad-Tech",
iconUrl: "/github.svg",
},
{
href: "https://www.linkedin.com/company/lilypad-network/",
iconUrl: "/linkedin.svg",
},
{
href: "https://www.youtube.com/@LilypadNetwork/featured",
iconUrl: "/youtube.svg",
},
];

export default function RootLayout({
children,
children,
}: Readonly<{
children: React.ReactNode;
children: React.ReactNode;
}>) {
return (
<html className="uui-dark" lang={languageTag()}>
<body className={inter.className}>
<ReactQueryProvider>
<NavBar />
{children}
<Footer
footerIcon={{
src: "lilypad-logo.svg",
alt: "Lilypad logo",
href: "#top",
}}
socialLinks={socialLinks}
/>
</ReactQueryProvider>
</body>
</html>
);
return (
<html className="uui-dark" lang={languageTag()}>
<body className={INTER.className}>
<ReactQueryProvider>
<NavBar />
{children}
<Footer
footerIcon={{
src: "lilypad-logo.svg",
alt: "Lilypad logo",
href: "#top",
}}
socialLinks={SOCIALLINKS}
/>
</ReactQueryProvider>
</body>
</html>
);
}
Loading

0 comments on commit 8684a6a

Please sign in to comment.