diff --git a/components/Header.tsx b/components/Header.tsx index 36c4b26..c410a2c 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -114,6 +114,9 @@ export default function Header() { {t('speakers_Link')} + + Gallery + {/* {t('cfv_link')} */} @@ -137,7 +140,7 @@ export default function Header() { > {t("photo_link")} */} - {new Date().getTime() < 1709805651000 && + {/* Free Tickets - } - {new Date().getTime() > 1709798400000 && We are live! - } + */}
setLanguage(e)} href="#"> {availableLocales[languageCode]} @@ -254,10 +255,13 @@ export default function Header() {
  • {t('speakers_Link')}
  • +
  • + Gallery +
  • {/*
  • {t('cfv_link')}
  • */} - {new Date().getTime() < 1709805651000 && + {/*
  • - } + */}
  • - {new Date().getTime() > 1709798400000 && + {/* We are live! - } + */}
  • - {new Date().getTime() > 1709798400000 && + {/*

    We are live!

    Click to follow the live stream on YouTube! -
    } + */}
    diff --git a/pages/agenda.tsx b/pages/agenda.tsx index 553815f..2f28ac4 100644 --- a/pages/agenda.tsx +++ b/pages/agenda.tsx @@ -63,13 +63,13 @@ export default function Agenda() {
    - {new Date().getTime() > 1709798400000 && + {/*

    We are live!

    Click to follow the live stream on YouTube! -
    } + */}
    {trackSelected === 'Alpha1' && ( diff --git a/pages/gallery.tsx b/pages/gallery.tsx new file mode 100644 index 0000000..05d12d3 --- /dev/null +++ b/pages/gallery.tsx @@ -0,0 +1,34 @@ +import Hero from '../components/Hero'; +import Image from "next/image"; +import { ReactNode } from 'react'; + +export async function getStaticProps({ locale }: { locale: any }) { + return { + props: { + metas: { + title: 'Gallery, Open Source Day 2024 - Florence', + }, + messages: (await import(`../public/locales/${locale}.json`)).default + } + }; +} + +export default function Gallery() { + return ( + <> +
    + +
    +
    +

    Go to the Flickr OSDay2024 album page

    + +
    +
    +
    + + ); +}