Skip to content

Commit

Permalink
Update events to automatically move past events
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed Jan 10, 2025
1 parent 50afc2d commit 11dcc2d
Show file tree
Hide file tree
Showing 2 changed files with 233 additions and 146 deletions.
182 changes: 36 additions & 146 deletions app/events/page.tsx
Original file line number Diff line number Diff line change
@@ -1,161 +1,51 @@
import PageTitle from '@/components/PageTitle'
import { genPageMetadata } from 'app/seo'
import { events } from '@/data/dodEvents'

export const metadata = genPageMetadata({ title: 'Projects' })
export const metadata = genPageMetadata({ title: 'Events' })

export default function Events() {
const now = new Date()
const upcomingEvents = events
.filter((event) => new Date(event.date) > now)
.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime())

const pastEvents = events
.filter((event) => new Date(event.date) <= now)
.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime())

const renderEvent = (event) => (
<li key={`${event.title}-${event.date}`}>
<strong>
{event.title} (
{event.yearOnly
? new Date(event.date).getFullYear()
: new Date(event.date).toLocaleDateString('en-US', { month: '2-digit', year: 'numeric' })}
){':'}
</strong>{' '}
{event.description}
{event.link && (
<>
:{' '}
<a href={event.link.url} target="_blank" rel="noreferrer">
{event.link.label}
</a>
</>
)}
</li>
)

export default function Projects() {
return (
<>
<PageTitle>Events</PageTitle>
<div className="prose max-w-none pb-8 pt-8 dark:prose-invert">
<h3>Upcoming events:</h3>
<div>
<ul>
<li>
<strong>Protocol Berg v2 (06/2025)</strong> the decentralized protocol and
infrastructure conference:{' '}
<a href="https://protocol.berlin" target="_blank" rel="noreferrer">
protocol.berlin
</a>
</li>
<li>
<strong>Criticial Decentralization Cluster (12/2024): </strong> the #38c3 assembly in
collaboration with the Social Distortion Protocol, the RIAT Institute, and Swiss
Cryptoeconomics:{' '}
<a href="https://decentral.community" target="_blank" rel="noreferrer">
decentral.community
</a>{' '}
</li>
</ul>
<ul>{upcomingEvents.map(renderEvent)}</ul>
</div>
<h3>Our projects to date:</h3>
<h3>Past events:</h3>
<div>
<ul>
<li>
<strong>Ethereum Berlin Meetup (10/2024): </strong> Road to DEVCON VII SEA Bangkok.
</li>
<li>
<strong>Ethereum Berlin Meetup (08/2024): </strong> 10 years Ethereum Berlin Meetup.
</li>
<li>
<strong>ETHBerlin 04 - Identity Crisis (05/2024): </strong> the hackathon returns in
May 2024:{' '}
<a href="https://ethberlin.org" target="_blank" rel="noreferrer">
ethberlin.org
</a>{' '}
</li>
<li>
<strong>Criticial Decentralization Cluster (12/2023): </strong> the #37c3 assembly in
collaboration with the Social Distortion Protocol, the RIAT Institute, and Swiss
Cryptoeconomics:{' '}
<a href="https://decentral.community" target="_blank" rel="noreferrer">
decentral.community
</a>{' '}
</li>
<li>
<strong>Protocol Berg (09/2023): </strong> the decentralized protocol and
infrastructure conference:{' '}
<a href="https://2023.protocol.berlin" target="_blank" rel="noreferrer">
protocol.berlin
</a>{' '}
</li>
<li>
<strong>ETHBerlin³ - to the power of 3 (09/2022): </strong> hackathon, conference, and
cultural festival, third edition:{' '}
<a href="https://ethberlin.ooo" target="_blank" rel="noreferrer">
ethberlin.ooo
</a>{' '}
</li>
<li>
<strong>Merkle Root (Round Table): </strong> an exploration of the Berlin
blockchain-art experiments from the early days till present, alongside an expedition.
</li>
<li>
<strong>StrikeDAO (2022): </strong> The Ethereum domain of Bundeskunsthalle was
squatted by artist Hito Steyerl and the DoD. The StrikeDAO voted on three models of
the future governance of this squatted domain quadratically:{' '}
<a href="https://strikedao.com" target="_blank" rel="noreferrer">
strikedao.com
</a>{' '}
</li>
<li>
<strong>Wanderer above the Sea of FUD (2021): </strong> a follow-up study exploring
funding mechanisms for culture through blockchain technologies that documented in real
time (and accidentally) the start of the 2021 NFT bubble:{' '}
<a href="https://academia.edu/45026803" target="_blank" rel="noreferrer">
academia.edu/45026803
</a>{' '}
</li>
<li>
<strong>TwoPointFive (2020) - The Talk Show:</strong> TwoPointFive was a white-label
virtual conference. No shill, no sponsors, from the community for the community and
truly in it for the tech:{' '}
<a
href="https://web.archive.org/web/20220426113132/https://twopointfive.online/"
target="_blank"
rel="noreferrer"
>
twopointfive.online
</a>{' '}
</li>
<li>
<strong>ETHParis 2 (2020) - The Un-Hackathon:</strong> ETHParis 2 was hosted by the
Department of Decentralization and Ethereum France as an unconference-style hackathon
in the engineering school l&apos;ESGI:{' '}
<a
href="https://web.archive.org/web/20200318163540/https://www.hackparis.io/"
target="_blank"
rel="noreferrer"
>
hackparis.com
</a>{' '}
</li>
<li>
<strong>Crypto grows on trees (2019): </strong> an art exhibition at the Ethereum
Devcon 4 in Osaka.
</li>
<li>
<strong>Ecosystem Job-Openings (2019): </strong> connecting talent with web3-companies
during the bear market.
</li>
<li>
<strong>ETHBerlin ZWEI (2019): </strong> hackathon, conference, and cultural festival,
second edition:{' '}
<a href="https://ethberlinzwei.com" target="_blank" rel="noreferrer">
ethberlinzwei.com
</a>{' '}
</li>
<li>
<strong>There is no such thing as Blockchain Art (2019):</strong> a study to explore
the art world and the intersection with our systems.
</li>
<li>
<strong>Blockstars Education Program (2019):</strong> A partnership with{' '}
<a href="https://b9lab.com/" target="_blank" rel="noreferrer">
B9lab
</a>{' '}
to onboard new hackers to web3.
</li>
<li>
<strong>Goerli Testnet (2019): </strong> Born at ETHBerlin and launched at GoerliCon,
the Goerli Testnet is now the essential public-facing Ethereum testnets after the
Merge.
</li>
<li>
<strong>G&ouml;rliCon 0 (2019): </strong> The Ethereum testnet and infrastructure
conference where the Goerli Testnet was launched live on stage:{' '}
<a href="https://goerli.net/" target="_blank" rel="noreferrer">
goerli.net
</a>{' '}
</li>
<li>
<strong>ETHBerlin (2018): </strong> Hackathon, conference, and the first event that
ran almost entirely using decentralized applications:{' '}
<a href="https://ethberlin.com" target="_blank" rel="noreferrer">
ethberlin.com
</a>{' '}
</li>
</ul>
<ul>{pastEvents.map(renderEvent)}</ul>
</div>
</div>
</>
Expand Down
197 changes: 197 additions & 0 deletions data/dodEvents.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
interface Event {
title: string
date: string // ISO date string
yearOnly?: boolean // Flag to indicate if the event only has year specified
description: string
link?: {
url: string
label: string
}
}

export const events: Event[] = [
{
title: 'Protocol Berg v2',
date: '2025-06-01',
description: 'the decentralized protocol and infrastructure conference',
link: {
url: 'https://protocol.berlin',
label: 'protocol.berlin',
},
},
{
title: 'Criticial Decentralization Cluster',
date: '2024-12-01',
description:
'the #38c3 assembly in collaboration with the Social Distortion Protocol, the RIAT Institute, and Swiss Cryptoeconomics',
link: {
url: 'https://decentral.community',
label: 'decentral.community',
},
},
{
title: 'Ethereum Berlin Meetup',
date: '2024-10-01',
description: 'Road to DEVCON VII SEA Bangkok.',
},
{
title: 'Ethereum Berlin Meetup',
date: '2024-08-01',
description: '10 years Ethereum Berlin Meetup.',
},
{
title: 'ETHBerlin 04 - Identity Crisis',
date: '2024-05-01',
description: 'the hackathon returns in May 2024',
link: {
url: 'https://ethberlin.org',
label: 'ethberlin.org',
},
},
{
title: 'Criticial Decentralization Cluster',
date: '2023-12-01',
description:
'the #37c3 assembly in collaboration with the Social Distortion Protocol, the RIAT Institute, and Swiss Cryptoeconomics',
link: {
url: 'https://decentral.community',
label: 'decentral.community',
},
},
{
title: 'Protocol Berg',
date: '2023-09-01',
description: 'the decentralized protocol and infrastructure conference',
link: {
url: 'https://2023.protocol.berlin',
label: 'protocol.berlin',
},
},
{
title: 'ETHBerlin³ - to the power of 3',
date: '2022-09-01',
description: 'hackathon, conference, and cultural festival, third edition',
link: {
url: 'https://ethberlin.ooo',
label: 'ethberlin.ooo',
},
},
{
title: 'Merkle Root (Round Table)',
date: '2022-06-01',
yearOnly: true,
description:
'an exploration of the Berlin blockchain-art experiments from the early days till present, alongside an expedition.',
},
{
title: 'StrikeDAO',
date: '2022-01-01',
yearOnly: true,
description:
'The Ethereum domain of Bundeskunsthalle was squatted by artist Hito Steyerl and the DoD. The StrikeDAO voted on three models of the future governance of this squatted domain quadratically',
link: {
url: 'https://strikedao.com',
label: 'strikedao.com',
},
},
{
title: 'Wanderer above the Sea of FUD',
date: '2021-01-01',
yearOnly: true,
description:
'a follow-up study exploring funding mechanisms for culture through blockchain technologies that documented in real time (and accidentally) the start of the 2021 NFT bubble',
link: {
url: 'https://academia.edu/45026803',
label: 'academia.edu/45026803',
},
},
{
title: 'TwoPointFive - The Talk Show',
date: '2020-06-01',
yearOnly: true,
description:
'TwoPointFive was a white-label virtual conference. No shill, no sponsors, from the community for the community and truly in it for the tech',
link: {
url: 'https://web.archive.org/web/20220426113132/https://twopointfive.online/',
label: 'twopointfive.online',
},
},
{
title: 'ETHParis 2 - The Un-Hackathon',
date: '2020-03-01',
yearOnly: true,
description:
"ETHParis 2 was hosted by the Department of Decentralization and Ethereum France as an unconference-style hackathon in the engineering school l'ESGI",
link: {
url: 'https://web.archive.org/web/20200318163540/https://www.hackparis.io/',
label: 'hackparis.com',
},
},
{
title: 'Crypto grows on trees',
date: '2019-10-01',
yearOnly: true,
description: 'an art exhibition at the Ethereum Devcon 4 in Osaka.',
},
{
title: 'Ecosystem Job-Openings',
date: '2019-09-01',
yearOnly: true,
description: 'connecting talent with web3-companies during the bear market.',
},
{
title: 'ETHBerlin ZWEI',
date: '2019-08-01',
yearOnly: true,
description: 'hackathon, conference, and cultural festival, second edition',
link: {
url: 'https://ethberlinzwei.com',
label: 'ethberlinzwei.com',
},
},
{
title: 'There is no such thing as Blockchain Art',
date: '2019-06-01',
yearOnly: true,
description: 'a study to explore the art world and the intersection with our systems.',
},
{
title: 'Blockstars Education Program',
date: '2019-05-01',
yearOnly: true,
description: 'A partnership with B9lab to onboard new hackers to web3.',
link: {
url: 'https://b9lab.com/',
label: 'b9lab.com',
},
},
{
title: 'Goerli Testnet',
date: '2019-02-01',
yearOnly: true,
description:
'Born at ETHBerlin and launched at GoerliCon, the Goerli Testnet is now the essential public-facing Ethereum testnets after the Merge.',
},
{
title: 'GörliCon 0',
date: '2019-01-31',
yearOnly: true,
description:
'The Ethereum testnet and infrastructure conference where the Goerli Testnet was launched live on stage',
link: {
url: 'https://goerli.net/',
label: 'goerli.net',
},
},
{
title: 'ETHBerlin',
date: '2018-09-01',
yearOnly: true,
description:
'Hackathon, conference, and the first event that ran almost entirely using decentralized applications',
link: {
url: 'https://ethberlin.com',
label: 'ethberlin.com',
},
},
]

0 comments on commit 11dcc2d

Please sign in to comment.