diff --git a/README.md b/README.md index 77711fad..6d299ab3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ +# Filecoin Dev Summit 2023 +Website Url: https://fildev.io/, +Links Page: https://fil.page/ + + +Screen Shot 2023-09-25 at 2 17 46 AM + +# Updating Copy +To update copy, please go to the `/content` folder and find `filecoin-dev-summit.tsx` which contains the content for the general page copy. To edit the Schedule, please open a github issue requesting a change you would like to make. + + # NEXT-SASS Why would I use this? @@ -18,7 +29,7 @@ npm install npm run dev ``` -Go to `http://localhost:3005` in your browser of choice. Enjoy! +Go to `http://localhost:10000` in your browser of choice. Enjoy! ### Scripts diff --git a/app/ipfs-camp/2024/head.tsx b/app/FDS-1/head.tsx similarity index 99% rename from app/ipfs-camp/2024/head.tsx rename to app/FDS-1/head.tsx index 70fabfd5..1ce9d975 100644 --- a/app/ipfs-camp/2024/head.tsx +++ b/app/FDS-1/head.tsx @@ -1,6 +1,7 @@ -import DefaultMetaTags from '@components/DefaultMetaTags'; import PlausibleScript from '@root/components/PlausibleScript'; +import DefaultMetaTags from '@components/DefaultMetaTags'; + export default async function Head({ params }) { return ( <> diff --git a/app/FDS-1/layout.tsx b/app/FDS-1/layout.tsx new file mode 100644 index 00000000..7d9dfcb6 --- /dev/null +++ b/app/FDS-1/layout.tsx @@ -0,0 +1,8 @@ +export default function RootLayout({ children }: { children: React.ReactNode }) { + return ( + + {children} + + ); + } + \ No newline at end of file diff --git a/app/ipfs-thing/2023/head.tsx b/app/FDS-1/list/head.tsx similarity index 99% rename from app/ipfs-thing/2023/head.tsx rename to app/FDS-1/list/head.tsx index 70fabfd5..1ce9d975 100644 --- a/app/ipfs-thing/2023/head.tsx +++ b/app/FDS-1/list/head.tsx @@ -1,6 +1,7 @@ -import DefaultMetaTags from '@components/DefaultMetaTags'; import PlausibleScript from '@root/components/PlausibleScript'; +import DefaultMetaTags from '@components/DefaultMetaTags'; + export default async function Head({ params }) { return ( <> diff --git a/app/ipfs-camp/2024/layout.tsx b/app/FDS-1/list/layout.tsx similarity index 100% rename from app/ipfs-camp/2024/layout.tsx rename to app/FDS-1/list/layout.tsx diff --git a/app/FDS-1/list/page.tsx b/app/FDS-1/list/page.tsx new file mode 100644 index 00000000..3d85316d --- /dev/null +++ b/app/FDS-1/list/page.tsx @@ -0,0 +1,77 @@ +import '@root/global.scss'; + +import { headers } from 'next/headers'; +import { makeRequest } from '@root/common/utilities'; +import FooterTiny from '@root/components/FooterTiny'; +import ResponsiveNavbar from '@root/components/ResponsiveNavbar'; +import SectionEventPage from '@root/components/SectionEventPage'; +import { FILECOIN_DEV_SUMMIT_ICELAND_PAGE_CONTENT } from '@root/content/iceland-page-content'; +import { FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT, FOOTER_FILECOIN_DEV_SUMMIT_CONTENT } from '@root/content/fildevsummit/filecoin-dev-singapore-iceland-2023'; +import { FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT } from '@root/content/fildevsummit/filecoin-dev-iceland'; + +export async function generateMetadata({ params, searchParams }) { + const title = 'FIL Dev Summit 2023: Iceland'; + const description = + 'FIL Dev Summit is a gathering of developers, builders, and engaged community members who want to contribute to the core protocol and network evolution of Filecoin (think IPFS Thing, but bigger!).'; + const url = 'https://fildev.io'; + + return { + title, + description, + url, + openGraph: { + title, + description, + url, + // SUMMARY_LARGE_IMAGE: 1500x785 + images: ['https://i.ibb.co/XXgFfk0/twitter.png'], + }, + twitter: { + title, + description, + url, + handle: '@filecoin', + cardType: 'summary_large_image', + }, + }; +} + +export default async function Page(props) { + const blocks = FILECOIN_DEV_SUMMIT_ICELAND_PAGE_CONTENT; + const footerContent = FOOTER_FILECOIN_DEV_SUMMIT_CONTENT; + + const navContent = FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT; + const pageStyle = FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT; + + const currentHeaders = headers(); + const host = currentHeaders.get('host'); + + const promises = blocks.flatMap((innerBlocks) => { + return innerBlocks.block.map(async (blockItem) => { + // Fetch table data + const airtableData = blockItem.scheduleData.airtable.endPoint; + + let tableData = await makeRequest({ + endpoint: airtableData, + host: host, + }); + + // Set data to blockItem.scheduleData.airtable.data + blockItem.scheduleData.airtable.data = tableData; + }); + }); + + await Promise.all(promises); + + return ( +
+ + +
+ +
+ + +
+ ); +} diff --git a/app/FDS-1/page.tsx b/app/FDS-1/page.tsx new file mode 100644 index 00000000..5f29dd7b --- /dev/null +++ b/app/FDS-1/page.tsx @@ -0,0 +1,78 @@ +import '@root/global.scss'; + +import { headers } from 'next/headers'; +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 { makeRequest } from '@root/common/utilities'; +import { FILECOIN_DEV_SUMMIT_SINGAPORE_2024_HERO_CONTENT, FIL_DEV_SUMMIT_SINGAPORE_NAVIGATION_CONTENT, FILECOIN_DEV_SUMMIT_SINGAPORE_PAGE_CONTENT, FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT, FOOTER_FILECOIN_DEV_SUMMIT_CONTENT } from '@root/content/fildevsummit/filecoin-dev-singapore'; + +export async function generateMetadata({ params, searchParams }) { + const title = 'FIL Dev Summit 2024: Singapore'; + const description = + 'FIL Dev Summit is a gathering of developers, builders, and engaged community members who want to contribute to the core protocol and network evolution of Filecoin (think IPFS Thing, but bigger!).'; + const url = 'https://fildev.io'; + + return { + title, + description, + url, + openGraph: { + title, + description, + url, + // SUMMARY_LARGE_IMAGE: 1500x785 + images: ['https://i.ibb.co/XXgFfk0/twitter.png'], + }, + twitter: { + title, + description, + url, + handle: '@filecoin', + cardType: 'summary_large_image', + }, + }; +} + +export default async function Page(props) { + const blocks = FILECOIN_DEV_SUMMIT_SINGAPORE_PAGE_CONTENT; + const currentHeaders = headers(); + const footerContent = FOOTER_FILECOIN_DEV_SUMMIT_CONTENT; + const hero = FILECOIN_DEV_SUMMIT_SINGAPORE_2024_HERO_CONTENT; + const host = currentHeaders.get('host'); + const navContent = FIL_DEV_SUMMIT_SINGAPORE_NAVIGATION_CONTENT; + const pageStyle = FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT; + + const promises = blocks?.flatMap((contentItem) => + contentItem?.block?.map(async (blockItem) => { + if ('scheduleData' in blockItem && blockItem.scheduleData.airtable) { + try { + const airtableEndpoint = blockItem.scheduleData.airtable.endPoint; + const data = await makeRequest({ endpoint: airtableEndpoint, host }); + + blockItem.scheduleData.airtable.data = data; + } catch (error) { + console.error('Error fetching tableData for blockItem:', blockItem, error); + } + } + }) + ); + + await Promise.all(promises); + + return ( +
+ + +
+ +
+ + + + +
+ ); +} diff --git a/app/ipfs-friends-cafe/head.tsx b/app/FDS-2/head.tsx similarity index 99% rename from app/ipfs-friends-cafe/head.tsx rename to app/FDS-2/head.tsx index 70fabfd5..1ce9d975 100644 --- a/app/ipfs-friends-cafe/head.tsx +++ b/app/FDS-2/head.tsx @@ -1,6 +1,7 @@ -import DefaultMetaTags from '@components/DefaultMetaTags'; import PlausibleScript from '@root/components/PlausibleScript'; +import DefaultMetaTags from '@components/DefaultMetaTags'; + export default async function Head({ params }) { return ( <> diff --git a/app/FDS-2/layout.tsx b/app/FDS-2/layout.tsx new file mode 100644 index 00000000..7d9dfcb6 --- /dev/null +++ b/app/FDS-2/layout.tsx @@ -0,0 +1,8 @@ +export default function RootLayout({ children }: { children: React.ReactNode }) { + return ( + + {children} + + ); + } + \ No newline at end of file diff --git a/app/FDS-2/list/head.tsx b/app/FDS-2/list/head.tsx new file mode 100644 index 00000000..1ce9d975 --- /dev/null +++ b/app/FDS-2/list/head.tsx @@ -0,0 +1,12 @@ +import PlausibleScript from '@root/components/PlausibleScript'; + +import DefaultMetaTags from '@components/DefaultMetaTags'; + +export default async function Head({ params }) { + return ( + <> + + + + ); +} diff --git a/app/FDS-2/list/layout.tsx b/app/FDS-2/list/layout.tsx new file mode 100644 index 00000000..7d9dfcb6 --- /dev/null +++ b/app/FDS-2/list/layout.tsx @@ -0,0 +1,8 @@ +export default function RootLayout({ children }: { children: React.ReactNode }) { + return ( + + {children} + + ); + } + \ No newline at end of file diff --git a/app/FDS-2/list/page.tsx b/app/FDS-2/list/page.tsx new file mode 100644 index 00000000..f2faec99 --- /dev/null +++ b/app/FDS-2/list/page.tsx @@ -0,0 +1,75 @@ +import '@root/global.scss'; + +import { headers } from 'next/headers'; +import FooterTiny from '@root/components/FooterTiny'; +import ResponsiveNavbar from '@root/components/ResponsiveNavbar'; +import SectionEventPage from '@root/components/SectionEventPage'; + +import { makeRequest } from '@root/common/utilities'; +import { FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT, FILECOIN_DEV_SUMMIT_PAGE_STYLE_CONTENT, FOOTER_FILECOIN_DEV_SUMMIT_CONTENT } from '@root/content/fildevsummit/filecoin-dev-singapore-iceland-2023'; +import { FILECOIN_DEV_SUMMIT_SINGAPORE_PAGE_CONTENT } from '@root/content/singapore-page-content'; + +export async function generateMetadata({ params, searchParams }) { + const title = 'FIL Dev Summit 2023: Singapore'; + const description = + 'FIL Dev Summit is a gathering of developers, builders, and engaged community members who want to contribute to the core protocol and network evolution of Filecoin (think IPFS Thing, but bigger!).'; + const url = 'https://fildev.io'; + + return { + title, + description, + url, + openGraph: { + title, + description, + url, + // SUMMARY_LARGE_IMAGE: 1500x785 + images: ['https://i.ibb.co/XXgFfk0/twitter.png'], + }, + twitter: { + title, + description, + url, + handle: '@filecoin', + cardType: 'summary_large_image', + }, + }; +} + +export default async function Page(props) { + const blocks = FILECOIN_DEV_SUMMIT_SINGAPORE_PAGE_CONTENT; + const footerContent = FOOTER_FILECOIN_DEV_SUMMIT_CONTENT; + + const navContent = FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT; + const pageStyle = FILECOIN_DEV_SUMMIT_PAGE_STYLE_CONTENT; + const currentHeaders = headers(); + const host = currentHeaders.get('host'); + + const promises = blocks.flatMap((innerBlocks) => { + return innerBlocks.block.map(async (blockItem) => { + // Fetch table data + const airtableEndpoint = blockItem.scheduleData.airtable.endPoint; + let tableData = await makeRequest({ + endpoint: airtableEndpoint, + host: host, + }); + + // Set data to blockItem.scheduleData.airtable.data + blockItem.scheduleData.airtable.data = tableData; + }); + }); + + await Promise.all(promises); + + return ( +
+ + +
+ +
+ + +
+ ); +} diff --git a/app/FDS-2/page.tsx b/app/FDS-2/page.tsx new file mode 100644 index 00000000..12848903 --- /dev/null +++ b/app/FDS-2/page.tsx @@ -0,0 +1,78 @@ +import '@root/global.scss'; + +import { headers } from 'next/headers'; +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 { makeRequest } from '@root/common/utilities'; +import { FILECOIN_DEV_SUMMIT_ICELAND_HERO_CONTENT, FIL_DEV_SUMMIT_ICELAND_NAVIGATION_CONTENT, FILECOIN_DEV_SUMMIT_ICELAND_PAGE_CONTENT, FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT, FOOTER_FILECOIN_DEV_SUMMIT_CONTENT } from '@root/content/fildevsummit/filecoin-dev-iceland'; + +export async function generateMetadata({ params, searchParams }) { + const title = 'FIL Dev Summit 2024: ETH Denver'; + const description = + 'FIL Dev Summit is a gathering of developers, builders, and engaged community members who want to contribute to the core protocol and network evolution of Filecoin (think IPFS Thing, but bigger!).'; + const url = 'https://fildev.io'; + + return { + title, + description, + url, + openGraph: { + title, + description, + url, + // SUMMARY_LARGE_IMAGE: 1500x785 + images: ['https://i.ibb.co/XXgFfk0/twitter.png'], + }, + twitter: { + title, + description, + url, + handle: '@filecoin', + cardType: 'summary_large_image', + }, + }; +} + +export default async function Page(props) { + const blocks = FILECOIN_DEV_SUMMIT_ICELAND_PAGE_CONTENT; + const currentHeaders = headers(); + const footerContent = FOOTER_FILECOIN_DEV_SUMMIT_CONTENT; + const hero = FILECOIN_DEV_SUMMIT_ICELAND_HERO_CONTENT; + const host = currentHeaders.get('host'); + const navContent = FIL_DEV_SUMMIT_ICELAND_NAVIGATION_CONTENT; + const pageStyle = FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT; + + const promises = blocks?.flatMap((contentItem) => + contentItem?.block?.map(async (blockItem) => { + if ('scheduleData' in blockItem && blockItem.scheduleData.airtable) { + try { + const airtableEndpoint = blockItem.scheduleData.airtable.endPoint; + const data = await makeRequest({ endpoint: airtableEndpoint, host }); + + blockItem.scheduleData.airtable.data = data; + } catch (error) { + console.error('Error fetching tableData for blockItem:', blockItem, error); + } + } + }) + ); + + await Promise.all(promises); + + return ( +
+ + +
+ +
+ + + + +
+ ); +} diff --git a/app/FDS-3/head.tsx b/app/FDS-3/head.tsx new file mode 100644 index 00000000..1ce9d975 --- /dev/null +++ b/app/FDS-3/head.tsx @@ -0,0 +1,12 @@ +import PlausibleScript from '@root/components/PlausibleScript'; + +import DefaultMetaTags from '@components/DefaultMetaTags'; + +export default async function Head({ params }) { + return ( + <> + + + + ); +} diff --git a/app/ipfs-friends-cafe/layout.tsx b/app/FDS-3/layout.tsx similarity index 100% rename from app/ipfs-friends-cafe/layout.tsx rename to app/FDS-3/layout.tsx diff --git a/app/FDS-3/list/head.tsx b/app/FDS-3/list/head.tsx new file mode 100644 index 00000000..1ce9d975 --- /dev/null +++ b/app/FDS-3/list/head.tsx @@ -0,0 +1,12 @@ +import PlausibleScript from '@root/components/PlausibleScript'; + +import DefaultMetaTags from '@components/DefaultMetaTags'; + +export default async function Head({ params }) { + return ( + <> + + + + ); +} diff --git a/app/FDS-3/list/layout.tsx b/app/FDS-3/list/layout.tsx new file mode 100644 index 00000000..7d9dfcb6 --- /dev/null +++ b/app/FDS-3/list/layout.tsx @@ -0,0 +1,8 @@ +export default function RootLayout({ children }: { children: React.ReactNode }) { + return ( + + {children} + + ); + } + \ No newline at end of file diff --git a/app/FDS-3/list/page.tsx b/app/FDS-3/list/page.tsx new file mode 100644 index 00000000..57d74162 --- /dev/null +++ b/app/FDS-3/list/page.tsx @@ -0,0 +1,78 @@ +import '@root/global.scss'; + +import { headers } from 'next/headers'; +import FooterTiny from '@root/components/FooterTiny'; +import ResponsiveNavbar from '@root/components/ResponsiveNavbar'; +import SectionEventPage from '@root/components/SectionEventPage'; + +import { makeRequest } from '@root/common/utilities'; +import { + FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT, + FILECOIN_DEV_SUMMIT_PAGE_STYLE_CONTENT, + FOOTER_FILECOIN_DEV_SUMMIT_CONTENT, +} from '@root/content/fildevsummit/filecoin-dev-singapore-iceland-2023'; +import { FDS_3_LIST_CONTENT } from '@root/content/fildevsummit/filecoin-dev-eth-denver-2024'; + +export async function generateMetadata({ params, searchParams }) { + const title = 'FIL Dev Summit 2024: ETH Denver'; + const description = + 'FIL Dev Summit is a gathering of developers, builders, and engaged community members who want to contribute to the core protocol and network evolution of Filecoin (think IPFS Thing, but bigger!).'; + const url = 'https://fildev.io'; + + return { + title, + description, + url, + openGraph: { + title, + description, + url, + // SUMMARY_LARGE_IMAGE: 1500x785 + images: ['https://i.ibb.co/XXgFfk0/twitter.png'], + }, + twitter: { + title, + description, + url, + handle: '@filecoin', + cardType: 'summary_large_image', + }, + }; +} + +export default async function Page(props) { + const blocks = FDS_3_LIST_CONTENT; + const footerContent = FOOTER_FILECOIN_DEV_SUMMIT_CONTENT; + const navContent = FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT; + const pageStyle = FILECOIN_DEV_SUMMIT_PAGE_STYLE_CONTENT; + const currentHeaders = headers(); + const host = currentHeaders.get('host'); + + const promises = blocks.flatMap((innerBlocks) => { + return innerBlocks.block.map(async (blockItem) => { + // Fetch table data + const airtableEndpoint = blockItem.scheduleData.airtable.endPoint; + let tableData = await makeRequest({ + endpoint: airtableEndpoint, + host: host, + }); + + // Set data to blockItem.scheduleData.airtable.data + blockItem.scheduleData.airtable.data = tableData; + }); + }); + + await Promise.all(promises); + + return ( +
+ + +
+ +
+ + +
+ ); +} diff --git a/app/FDS-3/page.tsx b/app/FDS-3/page.tsx new file mode 100644 index 00000000..0ee0f24e --- /dev/null +++ b/app/FDS-3/page.tsx @@ -0,0 +1,83 @@ +import '@root/global.scss'; + +import { + FILECOIN_DEV_SUMMIT_ETH_DENVER_2024_HERO_CONTENT, + FIL_DEV_SUMMIT_ETH_DENVER_2024_NAVIGATION_CONTENT, + FILECOIN_DEV_SUMMIT_ETH_DENVER_2024_PAGE_CONTENT, + FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT, + FOOTER_FILECOIN_DEV_SUMMIT_CONTENT, +} from '@root/content/fildevsummit/filecoin-dev-eth-denver-2024'; +import { headers } from 'next/headers'; +import { makeRequest } from '@root/common/utilities'; +import FooterTiny from '@root/components/FooterTiny'; +import Hero from '@root/components/Hero'; +import ResponsiveNavbar from '@root/components/ResponsiveNavbar'; +import SectionEventPage from '@root/components/SectionEventPage'; + +export async function generateMetadata({ params, searchParams }) { + const title = 'FIL Dev Summit 2024: ETH Denver'; + const description = + 'FIL Dev Summit is a gathering of developers, builders, and engaged community members who want to contribute to the core protocol and network evolution of Filecoin (think IPFS Thing, but bigger!).'; + const url = 'https://fildev.io'; + + return { + title, + description, + url, + openGraph: { + title, + description, + url, + // SUMMARY_LARGE_IMAGE: 1500x785 + images: ['https://i.ibb.co/XXgFfk0/twitter.png'], + }, + twitter: { + title, + description, + url, + handle: '@filecoin', + cardType: 'summary_large_image', + }, + }; +} + +export default async function Page(props) { + const blocks = FILECOIN_DEV_SUMMIT_ETH_DENVER_2024_PAGE_CONTENT; + const currentHeaders = headers(); + const footerContent = FOOTER_FILECOIN_DEV_SUMMIT_CONTENT; + const hero = FILECOIN_DEV_SUMMIT_ETH_DENVER_2024_HERO_CONTENT; + const host = currentHeaders.get('host'); + const navContent = FIL_DEV_SUMMIT_ETH_DENVER_2024_NAVIGATION_CONTENT; + const pageStyle = FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT; + + const promises = blocks?.flatMap((contentItem) => + contentItem?.block?.map(async (blockItem) => { + if ('scheduleData' in blockItem && blockItem.scheduleData.airtable) { + try { + const airtableEndpoint = blockItem.scheduleData.airtable.endPoint; + const data = await makeRequest({ endpoint: airtableEndpoint, host }); + + blockItem.scheduleData.airtable.data = data; + } catch (error) { + console.error('Error fetching tableData for blockItem:', blockItem, error); + } + } + }) + ); + + await Promise.all(promises); + + return ( +
+ + +
+ +
+ + + + +
+ ); +} diff --git a/app/filecoin-dev-summit-example/page.tsx b/app/filecoin-dev-summit-example/page.tsx index 251aaac0..88390d85 100644 --- a/app/filecoin-dev-summit-example/page.tsx +++ b/app/filecoin-dev-summit-example/page.tsx @@ -4,20 +4,16 @@ 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_EXAMPLE_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'; +import { FILECOIN_DEV_SUMMIT_2023_HERO_CONTENT, FILECOIN_DEV_SUMMIT_2023_PAGE_CONTENT, FILECOIN_DEV_SUMMIT_NAVIGATION_CONTENT, FOOTER_FILECOIN_DEV_SUMMIT_CONTENT } from '@root/content/fildevsummit/filecoin-dev-singapore-iceland-2023'; +import { FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT } from '@root/content/fildevsummit/filecoin-dev-iceland'; + export default async function Page(props) { - const blocks = FILECOIN_DEV_SUMMIT_EXAMPLE_2023_PAGE_CONTENT; + 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; + const pageStyle = FIL_DEV_SUMMIT_PAGE_STYLE_CONTENT; return (
diff --git a/app/head.tsx b/app/head.tsx index 70fabfd5..1ce9d975 100644 --- a/app/head.tsx +++ b/app/head.tsx @@ -1,6 +1,7 @@ -import DefaultMetaTags from '@components/DefaultMetaTags'; import PlausibleScript from '@root/components/PlausibleScript'; +import DefaultMetaTags from '@components/DefaultMetaTags'; + export default async function Head({ params }) { return ( <> diff --git a/app/ipfs-camp/2024/page.tsx b/app/ipfs-camp/2024/page.tsx deleted file mode 100644 index aad292d2..00000000 --- a/app/ipfs-camp/2024/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import '@root/global.scss'; - -import { FOOTER_TINY_CONTENT } from '@root/content/footer-content'; -import { IPFS_CAMP_PAGE_CONTENT } from '@root/content/ipfs-camp-content'; -import { NAVIGATION_HOMEPAGE_CONTENT } from '@root/content/navigation-camp-page-content'; -import DefaultLayout from '@components/DefaultLayout'; -import CampFooter from '@root/components/CampFooter'; -import CampNavbarLogoMiddle from '@root/components/CampNavbarLogoMiddle'; -import SectionCamppage from '@root/components/SectionIPFSCampPage'; - -export async function generateMetadata({ params, searchParams }) { - const title = 'IPFS Camp'; - const description = - ' IPFS Camp provides the ideal platform to exchange ideas, collaborate, and co-create solutions for the real-world challenges that the web is currently facing.'; - const url = 'https://ipfsevents.io/ipfs-camp/2024'; - - return { - title, - description, - url, - openGraph: { - title, - description, - url, - // SUMMARY_LARGE_IMAGE: 1500x785 - images: [''], - }, - twitter: { - title, - description, - url, - handle: '@filecoin', - cardType: 'summary_large_image', - }, - }; -} - -export default async function Page(props) { - const footerContent = FOOTER_TINY_CONTENT; - const homepage = IPFS_CAMP_PAGE_CONTENT; - const navContent = NAVIGATION_HOMEPAGE_CONTENT; - - return ( - - - - - - ); -} diff --git a/app/ipfs-friends-cafe/page.tsx b/app/ipfs-friends-cafe/page.tsx deleted file mode 100644 index 12c4e5fc..00000000 --- a/app/ipfs-friends-cafe/page.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import '@root/global.scss'; - -import { FOOTER_TINY_CONTENT } from '@root/content/footer-content'; -import { IPFS_FRIENDS_CAFE_NAVIGATION_CONTENT, IPFS_FRIENDS_CAFE_PAGE_CONTENT, IPFS_FRIENDS_CAFE_PAGE_HERO_CONTENT } from '@root/content/ipfs-friends-cafe'; -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 GutterContainer from '@root/components/GutterContainer'; - -export async function generateMetadata({ params, searchParams }) { - const title = 'IPFS Events: IPFS Thing'; - const description = - 'IPFS þing is a week-long gathering for the IPFS implementors community. Everything from talks, workshops, discussion circles, hacking time, and more — all focused on advancing IPFS implementations. '; - const url = 'https://ipfsevents.io/ipfs-thing'; - - return { - title, - description, - url, - openGraph: { - title, - description, - url, - // SUMMARY_LARGE_IMAGE: 1500x785 - images: [''], - }, - twitter: { - title, - description, - url, - handle: '@filecoin', - cardType: 'summary_large_image', - }, - }; -} - -export default async function Page(props) { - const blocks = IPFS_FRIENDS_CAFE_PAGE_CONTENT; - const footerContent = FOOTER_TINY_CONTENT; - const hero = IPFS_FRIENDS_CAFE_PAGE_HERO_CONTENT; - const navContent = IPFS_FRIENDS_CAFE_NAVIGATION_CONTENT; - - return ( - - - -
- - - -
- - - -
- ); -} diff --git a/app/ipfs-thing/2023/page.tsx b/app/ipfs-thing/2023/page.tsx deleted file mode 100644 index 6e6f62b8..00000000 --- a/app/ipfs-thing/2023/page.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import '@root/global.scss'; - -import { EVENT_PAGE_CONTENT, EVENT_PAGE_HERO_CONTENT } from '@root/content/event-page-content'; -import { FOOTER_CONTENT } from '@root/content/footer-content'; -import { NAVIGATION_CONTENT } from '@root/content/navigation-content'; -import DefaultLayout from '@components/DefaultLayout'; -import Footer from '@root/components/Footer'; -import ResponsiveNavbar from '@root/components/ResponsiveNavbar'; -import SectionEventPage from '@root/components/SectionEventPage'; -import Hero from '@root/components/Hero'; - -export async function generateMetadata({ params, searchParams }) { - const title = 'IPFS.Thing'; - const description = - 'IPFS þing is a week-long gathering for the IPFS implementors community. Everything from talks, workshops, discussion circles, hacking time, and more — all focused on advancing IPFS implementations. '; - const url = 'https://ipfsevents.io/ipfs-thing'; - - return { - title, - description, - url, - openGraph: { - title, - description, - url, - // SUMMARY_LARGE_IMAGE: 1500x785 - images: [''], - }, - twitter: { - title, - description, - url, - handle: '@filecoin', - cardType: 'summary_large_image', - }, - }; -} - -export default async function Page(props) { - const blocks = EVENT_PAGE_CONTENT; - const footerContent = FOOTER_CONTENT; - const hero = EVENT_PAGE_HERO_CONTENT; - const navContent = NAVIGATION_CONTENT; - - return ( - - - -
- -
- - -