Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 37 additions & 1 deletion src/components/events.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import * as React from "react"
import { useStaticQuery, graphql } from "gatsby"
import { useStaticQuery, graphql, withPrefix } from "gatsby"
import { Grid, Container } from "./ui/grid"
import CardEvent from "./ui/card-event"
import CardEventAlt from "./ui/card-event-alt"
import Button from "./ui/button"
import Map from "../svg/map.svg"
import photos from "../data/event-photos.json"

const pageSize = 9

Expand Down Expand Up @@ -91,6 +92,41 @@ const Events = ({ upcomingLimit, pastLimit }) => {
)}
</div>

<figure className="mt-12">
<div className="grid grid-cols-2 gap-4 lg:grid-cols-4">
{photos.map(p => (
<a
key={p.file}
href={p.page}
target="_blank"
rel="noopener noreferrer"
title={`${p.event} (CNCF, ${p.license})`}>
<img
src={withPrefix(`/event-photos/${p.file}`)}
alt={p.alt}
loading="lazy"
className="w-full aspect-[3/2] object-cover rounded-xl transition hover:opacity-90"
/>
</a>
))}
</div>
<figcaption className="mt-3 text-sm">
Scenes from past ArgoCons. Photos:{" "}
<a
href="https://www.flickr.com/photos/143247548@N03/"
className="underline hover:text-accent">
CNCF on Flickr
</a>
,{" "}
<a
href="https://creativecommons.org/licenses/by-nc/2.0/"
className="underline hover:text-accent">
CC BY-NC 2.0
</a>
.
</figcaption>
</figure>

{Events.defaultProps.upcomingLimit !== upcomingLimit && (
<div className="text-center mt-10 lg:text-left">
<Button to="/events" label="View all Events" />
Expand Down
30 changes: 30 additions & 0 deletions src/data/event-photos.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"file": "argocon-eu-2024-1.jpg",
"alt": "ArgoCon Europe 'Welcome + thank you to our sponsors' sign in the foreground with a packed audience facing the stage screen",
"event": "ArgoCon EU 2024 (Paris)",
"page": "https://www.flickr.com/photos/143247548@N03/53610006538/",
"license": "CC BY-NC 2.0"
},
{
"file": "argocon-eu-2024-2.jpg",
"alt": "Two Intuit speakers on the ArgoCon stage presenting 'Space-Age GitOps: The Rise of the Humble Pull Request' to the audience",
"event": "ArgoCon EU 2024 (Paris)",
"page": "https://www.flickr.com/photos/143247548@N03/53610133479/",
"license": "CC BY-NC 2.0"
},
{
"file": "argocon-na-2024-1.jpg",
"alt": "Audience facing a large screen reading 'Welcome, Argonauts!' with a grid of contributor avatars at ArgoCon North America",
"event": "ArgoCon NA 2024 (Salt Lake City)",
"page": "https://www.flickr.com/photos/143247548@N03/54155237749/",
"license": "CC BY-NC 2.0"
},
{
"file": "argocon-eu-2025-1.jpg",
"alt": "Large ArgoCon audience in a dark hall watching a speaker present a '2024: the Year of Approvers' bar chart slide",
"event": "ArgoCon EU 2025 (London)",
"page": "https://www.flickr.com/photos/143247548@N03/54433529846/",
"license": "CC BY-NC 2.0"
}
]
Binary file added static/event-photos/argocon-eu-2024-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/event-photos/argocon-eu-2024-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/event-photos/argocon-eu-2025-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/event-photos/argocon-na-2024-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading