From e2186d4b3591d527b80eb8090884eccd1feb18fd Mon Sep 17 00:00:00 2001 From: Anastasiya Uraleva Date: Wed, 26 Jul 2023 16:07:21 -0400 Subject: [PATCH 001/135] left only event page --- app/filecoin-dev-summit/head.tsx | 31 ----------------------- app/filecoin-dev-summit/layout.tsx | 7 ------ app/filecoin-dev-summit/page.tsx | 36 --------------------------- app/head.tsx | 7 +++--- app/ipfs-friends-cafe/head.tsx | 32 ------------------------ app/ipfs-friends-cafe/layout.tsx | 7 ------ app/ipfs-friends-cafe/page.tsx | 33 ------------------------ app/ipfs-thing/2023/head.tsx | 32 ------------------------ app/ipfs-thing/2023/layout.tsx | 7 ------ app/ipfs-thing/2023/page.tsx | 30 ---------------------- app/page.tsx | 40 ++++++++++++++++++------------ 11 files changed, 27 insertions(+), 235 deletions(-) delete mode 100644 app/filecoin-dev-summit/head.tsx delete mode 100644 app/filecoin-dev-summit/layout.tsx delete mode 100644 app/filecoin-dev-summit/page.tsx delete mode 100644 app/ipfs-friends-cafe/head.tsx delete mode 100644 app/ipfs-friends-cafe/layout.tsx delete mode 100644 app/ipfs-friends-cafe/page.tsx delete mode 100644 app/ipfs-thing/2023/head.tsx delete mode 100644 app/ipfs-thing/2023/layout.tsx delete mode 100644 app/ipfs-thing/2023/page.tsx diff --git a/app/filecoin-dev-summit/head.tsx b/app/filecoin-dev-summit/head.tsx deleted file mode 100644 index 99f2ef0c..00000000 --- a/app/filecoin-dev-summit/head.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import DefaultMetaTags from '@components/DefaultMetaTags'; -import PlausibleScript from '@root/components/PlausibleScript'; - -export default async function Head({ params }) { - const title = 'Filecoin Dev Summit'; - const description = 'Filecoin Dev Summit 2023'; - const url = 'https://filecoindevsummit.io'; - - // SUMMARY_LARGE_IMAGE: 1500x785 - return ( - <> - {title} - - - - - - - - - - - - - - - - - - ); -} diff --git a/app/filecoin-dev-summit/layout.tsx b/app/filecoin-dev-summit/layout.tsx deleted file mode 100644 index f3ef34cd..00000000 --- a/app/filecoin-dev-summit/layout.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function RootLayout({ children }: { children: React.ReactNode }) { - return ( - - {children} - - ); -} diff --git a/app/filecoin-dev-summit/page.tsx b/app/filecoin-dev-summit/page.tsx deleted file mode 100644 index f56c6366..00000000 --- a/app/filecoin-dev-summit/page.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import '@root/global.scss'; - -import DefaultLayout from '@components/DefaultLayout'; -import FooterTiny from '@root/components/FooterTiny'; -import Hero from '@root/components/Hero'; -import ResponsiveNavbar from '@root/components/ResponsiveNavbar'; -import SectionEventPage from '@root/components/SectionEventPage'; -import { - FILECOIN_DEV_SUMMIT_2023_HERO_CONTENT, - FILECOIN_DEV_SUMMIT_2023_PAGE_CONTENT, - FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT, - FILECOIN_DEV_SUMMIT_PAGE_STYLE_CONTENT, - FOOTER_FILECOIN_DEV_SUMMIT_CONTENT, -} from '@root/content/filecoin-dev-summit'; - -export default async function Page(props) { - const blocks = FILECOIN_DEV_SUMMIT_2023_PAGE_CONTENT; - const footerContent = FOOTER_FILECOIN_DEV_SUMMIT_CONTENT; - const hero = FILECOIN_DEV_SUMMIT_2023_HERO_CONTENT; - const navContent = FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT; - const pageStyle = FILECOIN_DEV_SUMMIT_PAGE_STYLE_CONTENT; - - return ( -
- - -
- -
- - - - -
- ); -} diff --git a/app/head.tsx b/app/head.tsx index d146bda3..2fff065f 100644 --- a/app/head.tsx +++ b/app/head.tsx @@ -2,10 +2,9 @@ import DefaultMetaTags from '@components/DefaultMetaTags'; import PlausibleScript from '@root/components/PlausibleScript'; export default async function Head({ params }) { - const title = 'IPFS.Events'; - const description = - "Welcome to IPFS Events: IPFS powers the Distributed Web & we’re powering their events! IPFS is a peer-to-peer hypermedia protocol designed to preserve and grow humanity's knowledge by making the web upgradeable, resilient, and more open."; - const url = 'https://ipfs.events'; + const title = 'Filecoin Dev Summit'; + const description = 'Filecoin Dev Summit 2023 - Singapore and Iceland '; + const url = 'https://filecoindevsummit.io'; // SUMMARY_LARGE_IMAGE: 1500x785 return ( diff --git a/app/ipfs-friends-cafe/head.tsx b/app/ipfs-friends-cafe/head.tsx deleted file mode 100644 index 9b341ddd..00000000 --- a/app/ipfs-friends-cafe/head.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import DefaultMetaTags from '@components/DefaultMetaTags'; -import PlausibleScript from '@root/components/PlausibleScript'; - -export default async function Head({ params }) { - const title = 'IPFS Friends + Cafe'; - const description = - 'IPFS Friends + Cafe are community-hosted events that foster knowledge exchange, community growth, collaboration, innovation, and the continued advancement of IPFS as groundbreaking technology'; - const url = 'https://ipfs.events'; - - // SUMMARY_LARGE_IMAGE: 1500x785 - return ( - <> - {title} - - - - - - - - - - - - - - - - - - ); -} diff --git a/app/ipfs-friends-cafe/layout.tsx b/app/ipfs-friends-cafe/layout.tsx deleted file mode 100644 index f3ef34cd..00000000 --- a/app/ipfs-friends-cafe/layout.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function RootLayout({ children }: { children: React.ReactNode }) { - return ( - - {children} - - ); -} diff --git a/app/ipfs-friends-cafe/page.tsx b/app/ipfs-friends-cafe/page.tsx deleted file mode 100644 index dd52d798..00000000 --- a/app/ipfs-friends-cafe/page.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import '@root/global.scss'; - -import { - IPFS_FRIENDS_CAFE_NAVIGATION_CONTENT, - IPFS_FRIENDS_CAFE_PAGE_CONTENT, - IPFS_FRIENDS_CAFE_PAGE_HERO_CONTENT, - IPFS_FRIENDS_FOOTER_CONTENT, -} from '@root/content/ipfs-friends-cafe'; -import DefaultLayout from '@components/DefaultLayout'; -import Footer from '@root/components/Footer'; -import Hero from '@root/components/Hero'; -import ResponsiveNavbar from '@root/components/ResponsiveNavbar'; -import SectionEventPage from '@root/components/SectionEventPage'; - -export default async function Page(props) { - const blocks = IPFS_FRIENDS_CAFE_PAGE_CONTENT; - const footerContent = IPFS_FRIENDS_FOOTER_CONTENT; - const hero = IPFS_FRIENDS_CAFE_PAGE_HERO_CONTENT; - const navContent = IPFS_FRIENDS_CAFE_NAVIGATION_CONTENT; - - return ( - - - -
- -
- - -