diff --git a/apps/website/public/sitemap-0.xml b/apps/website/public/sitemap-0.xml
index aee9151..b5aae0d 100644
--- a/apps/website/public/sitemap-0.xml
+++ b/apps/website/public/sitemap-0.xml
@@ -1,6 +1,6 @@
-https://lilypad.tech/about-us2024-11-11T04:33:04.331Zdaily0.7
-https://lilypad.tech2024-11-11T04:33:04.331Zdaily0.7
-https://lilypad.tech/team2024-11-11T04:33:04.331Zdaily0.7
+https://lilypad.tech/about-us2024-12-18T20:47:52.732Zdaily0.7
+https://lilypad.tech/team2024-12-18T20:47:52.739Zdaily0.7
+https://lilypad.tech2024-12-18T20:47:52.739Zdaily0.7
\ No newline at end of file
diff --git a/apps/website/public/sitemap.xml b/apps/website/public/sitemap.xml
index 39fed00..58138f0 100644
--- a/apps/website/public/sitemap.xml
+++ b/apps/website/public/sitemap.xml
@@ -1,3 +1,4 @@
+https://lilypad.tech/sitemap-0.xml
\ No newline at end of file
diff --git a/apps/website/src/app/clientLayout.tsx b/apps/website/src/app/clientLayout.tsx
index eb3118c..7118284 100644
--- a/apps/website/src/app/clientLayout.tsx
+++ b/apps/website/src/app/clientLayout.tsx
@@ -45,7 +45,7 @@ export default function ClientLayout({
);
const pathname = usePathname();
const { strapi, isLoading: isCmsLoading } = useStrapi({ pathname });
- console.log(strapi, isCmsLoading);
+
const resourcesArray = [
{
title: "Discord",
@@ -296,9 +296,6 @@ export default function ClientLayout({
(item, index) => (
<_NavMenuItem
key={index}
- description={
- item.description
- }
title={item.title}
iconUrl={
item.iconUrl
@@ -323,9 +320,6 @@ export default function ClientLayout({
(item, index) => (
<_NavMenuItem
key={index}
- description={
- item.description
- }
title={
item.title
}
@@ -365,9 +359,6 @@ export default function ClientLayout({
(item, index) => (
<_NavMenuItem
key={index}
- description={
- item.description
- }
title={
item.title
}
diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx
index 3b7db4a..5299d0b 100644
--- a/apps/website/src/app/layout.tsx
+++ b/apps/website/src/app/layout.tsx
@@ -8,10 +8,8 @@ const INTER = Inter({ subsets: ["latin"] });
// metadata isn't allowed on a client layout
export const metadata: Metadata = {
title: "Lilypad Network",
- description: "Lilypad Network: Experience the Power of Decentralized Computing",
- icons: {
- icon: "/favicon.ico",
- },
+ description:
+ "Lilypad Network: Experience the Power of Decentralized Computing",
};
export default function RootLayout({
@@ -19,11 +17,5 @@ export default function RootLayout({
}: {
children: React.ReactNode;
}) {
- return (
-
-
- {children}
-
-
- );
-}
\ No newline at end of file
+ return {children};
+}
diff --git a/apps/website/src/app/page.tsx b/apps/website/src/app/page.tsx
index 5562a45..8daa9c5 100644
--- a/apps/website/src/app/page.tsx
+++ b/apps/website/src/app/page.tsx
@@ -23,12 +23,19 @@ import useFade from "./hooks/UseFade";
import useFadeInView from "./hooks/UseFadeInView";
import { PageContext } from "./clientLayout";
import { HomePageCmsInfo } from "./hooks/strapi/types";
-import { Player } from '@lottiefiles/react-lottie-player';
import RoadmapFull from "@/components/Roadmap/RoadmapFull";
import { CallToActions } from "@/components/FooterBlock/CallToActions";
// import { sendEmail } from "@/utils/sendEmail";
import { ToastContainer, toast } from 'react-toastify';
+import dynamic from 'next/dynamic'
+const Player = dynamic(
+ () => import('@lottiefiles/react-lottie-player').then((mod) => mod.Player),
+ {
+ ssr: false,
+ loading: () => Loading...
+ }
+);
export default function Home() {
const [loading, setLoading] = useState(false);
const [email, setEmail] = useState("");
diff --git a/apps/website/src/components/NavBar.tsx b/apps/website/src/components/NavBar.tsx
index 1f9dac9..114b9a2 100644
--- a/apps/website/src/components/NavBar.tsx
+++ b/apps/website/src/components/NavBar.tsx
@@ -67,6 +67,7 @@ export default function NavBar({
>
{/* Add mr-auto and ml-uui-none to the sectionContainer className with double ampersend to place the navbar logo on the left side */}
+ {/* TODO update this href to go to the lilypad homepage in the future */}
{logo}
diff --git a/apps/website/src/components/_TeamMember/_Advisor.tsx b/apps/website/src/components/_TeamMember/_Advisor.tsx
index c6ecfd7..94fb65e 100644
--- a/apps/website/src/components/_TeamMember/_Advisor.tsx
+++ b/apps/website/src/components/_TeamMember/_Advisor.tsx
@@ -61,18 +61,18 @@ const Advisor = ({
{socialIcons && socialIcons.length > 0 && (
- {socialIcons
- .filter((icon) => icon.href !== null)
- .map((icon, index) => (
-
+ icon.iconUrl ? (
+
+ >
-
- ))}
+
+ ) : null
+ )}
)}
diff --git a/apps/website/src/components/_TeamMember/_TeamMember.tsx b/apps/website/src/components/_TeamMember/_TeamMember.tsx
index 4f43638..3958351 100644
--- a/apps/website/src/components/_TeamMember/_TeamMember.tsx
+++ b/apps/website/src/components/_TeamMember/_TeamMember.tsx
@@ -59,18 +59,18 @@ const TeamMember = ({
{socialIcons && socialIcons.length > 0 && (
- {socialIcons
- .filter((icon) => icon.href !== null)
- .map((icon, index) => (
-
-
-
- ))}
+ {socialIcons.map((icon, index) =>
+ icon.iconUrl ? (
+
+
+
+ ) : null
+ )}
)}