From 566cdc29b1e6e53f0a5a0e7f803db7a5400c6d48 Mon Sep 17 00:00:00 2001 From: Eddie Knight Date: Sat, 14 Nov 2026 11:37:43 -0600 Subject: [PATCH 1/2] Set up Winter 2027 Slam and open registration on the homepage (REV-1254) - Dates: February 15 to March 12, 2027, in the tagline, homepage, How it works, registration page and contributor guide. - Homepage embeds the registration HubSpot form (same form as /slam26/register, read from its frontmatter). - Fall 2026 leaderboard comes off /slam26/participating-projects, which now lists Winter 2027 projects (none yet) and links the archive. The Fall data already lives, identical, at /outcomes/fall-2026; the homepage links there. - All existing URLs are unchanged, so no redirects are needed. Signed-off-by: Eddie Knight --- src/config/site.ts | 4 +- .../library/helping-as-a-contributor.md | 2 +- src/content/slam26/index.md | 10 +- src/content/slam26/participating-projects.md | 130 +----------------- src/content/slam26/register.md | 4 +- src/pages/HomePage.tsx | 39 +++--- 6 files changed, 32 insertions(+), 157 deletions(-) diff --git a/src/config/site.ts b/src/config/site.ts index 1e21b4c..a37a064 100644 --- a/src/config/site.ts +++ b/src/config/site.ts @@ -62,7 +62,7 @@ export type SiteConfig = { export const siteConfig: SiteConfig = { siteName: "Security Slam", - tagline: "October 5 – November 6, 2026", + tagline: "February 15 – March 12, 2027", preregistrationUrl: "", participatingProjectsDefaultTab: "projects", @@ -118,7 +118,7 @@ export const siteConfig: SiteConfig = { { path: "/slam26/submit-completion", title: "Submit Badge Completion", - description: "This form is for project maintainers to report completion of Slam26 badges. This may be submitted multiple times to request personal badges for each contributor to the badge. The form should ONLY be submitted by maintainers; other results will be automatically ignored. Organizers will reach out to maintainers via email to confirm the submissions.", + description: "This form is for project maintainers to report completion of Security Slam badges. This may be submitted multiple times to request personal badges for each contributor to the badge. The form should ONLY be submitted by maintainers; other results will be automatically ignored. Organizers will reach out to maintainers via email to confirm the submissions.", hubspot: { portalId: "243073831", formId: "5523a8f7-f60e-4ac9-8aed-225b6ebfd304", diff --git a/src/content/library/helping-as-a-contributor.md b/src/content/library/helping-as-a-contributor.md index c5b3eab..795f733 100644 --- a/src/content/library/helping-as-a-contributor.md +++ b/src/content/library/helping-as-a-contributor.md @@ -108,6 +108,6 @@ If the scanner gets something wrong, report it to the scanner's project. That he ## Getting your badge -When a badge is finished, a maintainer submits it from the badge page and names the people who helped. Linking your PRs from the issue makes you easy to include. Physical awards close on 6 November and digital badges on 11 November. +When a badge is finished, a maintainer submits it from the badge page and names the people who helped. Linking your PRs from the issue makes you easy to include. The Winter 2027 Slam closes on 12 March 2027. Stuck? Ask in [#tag-security-and-compliance](https://cloud-native.slack.com/archives/C08JZ9YLAA3) on the CNCF Slack. diff --git a/src/content/slam26/index.md b/src/content/slam26/index.md index 0513e1a..090b18f 100644 --- a/src/content/slam26/index.md +++ b/src/content/slam26/index.md @@ -1,7 +1,7 @@ --- -title: "Security Slam 2026" +title: "Security Slam Winter 2027" path: "/slam26" -description: "Welcome to Slam26!" +description: "Welcome to the Winter 2027 Security Slam, February 15 to March 12, 2027!" youtubeId: AvjltBoM4rE --- @@ -49,7 +49,5 @@ Slam Advisors are standing by to collaborate, speculate, give opinions, and shar ## Key Dates to Remember -- **Monday, October 5:** Event objectives are announced; Slam Library opens -- **Friday, November 6:** Closing date for physical awards at KubeCon NA -- **Wednesday, November 11:** Closing date for participant Credly (digital) badges -- **Thursday, November 12:** Last chance to pick up your printed award at the OpenSSF Booth (Solutions Showcase Booth #313, Hall 4) +- **Monday, February 15, 2027:** The Winter 2027 Slam opens +- **Friday, March 12, 2027:** The Winter 2027 Slam closes diff --git a/src/content/slam26/participating-projects.md b/src/content/slam26/participating-projects.md index c9e3608..3c26f92 100644 --- a/src/content/slam26/participating-projects.md +++ b/src/content/slam26/participating-projects.md @@ -1,128 +1,10 @@ --- -title: Fall 2026 Participating Projects +title: Winter 2027 Participating Projects path: /slam26/participating-projects -description: Projects taking part in the Fall 2026 Security Slam -projects: - - name: Agent Capability Contract (ACC) - repoUrl: https://github.com/agent-capability/agent-capability-contract - logoUrl: /project-logos/acc.png - completed: [cleaner, chronicler, inspector, mechanizer] - - name: Apache Camel - repoUrl: https://github.com/apache/camel - logoUrl: /project-logos/apache.png - completed: [] - - name: Apache Shiro - repoUrl: https://github.com/apache/shiro - logoUrl: /project-logos/apache.png - completed: [cleaner, inspector, cra-readiness] - - name: Argo - repoUrl: https://github.com/argoproj - logoUrl: /project-logos/argo.png - completed: [] - - name: Argo Helm - repoUrl: https://github.com/argoproj/argo-helm - logoUrl: /project-logos/argo.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: BailingHub Core - repoUrl: https://github.com/bailinghub/bailinghub - logoUrl: /project-logos/bailinghub.png - completed: [cleaner, chronicler, inspector, mechanizer] - - name: Capsule - repoUrl: https://github.com/projectcapsule/capsule - logoUrl: /project-logos/capsule.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: Cedar - repoUrl: https://github.com/cedar-policy/cedar - logoUrl: /project-logos/cedar.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: CloudNativePG - repoUrl: https://github.com/cloudnative-pg/cloudnative-pg - logoUrl: /project-logos/cloudnativepg.png - completed: [cleaner, inspector, chronicler, mechanizer, defender, cra-readiness] - - name: FlowLogix Jakarta EE Components - repoUrl: https://github.com/flowlogix/flowlogix - logoUrl: /project-logos/flowlogix.jpg - completed: [cleaner, chronicler, inspector] - - name: GUAC - repoUrl: https://github.com/guacsec/guac - logoUrl: /project-logos/guac.png - completed: [] - - name: k8gb - repoUrl: https://github.com/k8gb-io/k8gb - logoUrl: /project-logos/k8gb.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: Knative - repoUrl: https://github.com/knative/serving - logoUrl: /project-logos/knative.png - completed: [] - - name: Kubescape - repoUrl: https://github.com/kubescape/kubescape - logoUrl: /project-logos/kubescape.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: kubetest4j - repoUrl: https://github.com/skodjob/kubetest4j - logoUrl: /project-logos/kubetest4j.png - completed: [cleaner, chronicler, inspector, mechanizer] - - name: Meshery - repoUrl: https://github.com/meshery/meshery - logoUrl: /project-logos/meshery.svg - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: Minder - repoUrl: https://github.com/mindersec/minder - logoUrl: /project-logos/minder.png - completed: [] - - name: Notary Project - repoUrl: https://github.com/notaryproject/notation - logoUrl: /project-logos/notary.png - completed: [] - - name: OpenSSF Scorecard - repoUrl: https://github.com/ossf/scorecard - logoUrl: /project-logos/scorecard.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: PgBouncer - repoUrl: https://github.com/pgbouncer/pgbouncer - logoUrl: /project-logos/pgbouncer.png - completed: [cleaner, chronicler, inspector, mechanizer] - - name: Privateer - repoUrl: https://github.com/privateerproj - logoUrl: /project-logos/privateer.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: qtop - repoUrl: https://github.com/qtop/qtop - logoUrl: /project-logos/qtop.png - completed: [inspector] - - name: ResoArc - repoUrl: https://github.com/resoarc/resoarc-site - logoUrl: /project-logos/resoarc.png - completed: [cleaner, inspector, mechanizer] - - name: Score - repoUrl: https://github.com/score-spec/spec - logoUrl: /project-logos/score.png - completed: [] - - name: SOaC - repoUrl: https://github.com/ge0mant1s/SOaC-Enterprise - logoUrl: /project-logos/soac.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: StreamsHub MCP - repoUrl: https://github.com/streamshub/streamshub-mcp - logoUrl: /project-logos/streamshub.png - completed: [] - - name: Strimzi - repoUrl: https://github.com/strimzi/strimzi-kafka-operator - logoUrl: /project-logos/strimzi.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: wasmCloud - repoUrl: https://github.com/wasmCloud/wasmCloud - logoUrl: /project-logos/wasmcloud.png - completed: [cleaner, chronicler, inspector, mechanizer, defender, cra-readiness] - - name: webpack - repoUrl: https://github.com/webpack/webpack - logoUrl: /project-logos/webpack.png - completed: [] - - name: Zarf - repoUrl: https://github.com/zarf-dev/zarf - logoUrl: /project-logos/zarf.png - completed: [] +description: Projects taking part in the Winter 2027 Security Slam +projects: [] --- -Spring 2026 results are archived under [Previous Outcomes](/outcomes/spring-2026). +Projects appear here once a maintainer registers and a Slam Organizer confirms the registration. [Register now](/slam26/register) to add yours. + +Past results are archived under Previous Outcomes: [Fall 2026](/outcomes/fall-2026) and [Spring 2026](/outcomes/spring-2026). diff --git a/src/content/slam26/register.md b/src/content/slam26/register.md index d367b1b..2f2af41 100644 --- a/src/content/slam26/register.md +++ b/src/content/slam26/register.md @@ -1,7 +1,7 @@ --- -title: "Slam26 Registration" +title: "Winter 2027 Registration" path: "/slam26/register" -description: "Sign up to receive credit for your participation in the Security Slam!" +description: "Sign up to receive credit for your participation in the Winter 2027 Security Slam, February 15 to March 12, 2027!" hubspot: portalId: "243073831" formId: "434d081b-d3fe-40f8-8180-403112dfd40f" diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 4bea045..d9ed23c 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -5,7 +5,12 @@ import { SectionCard } from "../components/SectionCard"; import { Carousel } from "../components/Carousel"; import { PartnerLogos } from "../components/PartnerLogos"; import { BadgeNavigation } from "../components/BadgeNavigation"; +import { HubSpotForm } from "../components/HubSpotForm"; import { carouselImages } from "../content/carousel"; +import { getSectionItemByPath } from "../content/sections"; + +// The homepage form is the one on /slam26/register, so its IDs live in one place. +const registration = getSectionItemByPath("slam26", "/slam26/register")?.hubspot; export const HomePage: React.FC = () => { return ( @@ -32,8 +37,8 @@ export const HomePage: React.FC = () => { titleTag="h1" paragraphs={[ "Run by the CNCF Technical Advisory Group for Security & Compliance, the Slam is a month-long community effort with a library of support resources, advisors on Slack, and plaques and badges for participating projects and contributors.", - "This fall, the Slam is open to ANY open source project. You don't need to be a CNCF project, or even cloud native. If you maintain or contribute to open source software, you can participate.", - "The next Security Slam runs October 5 – November 6, 2026. Registration is open now." + "This winter, the Slam is open to ANY open source project. You don't need to be a CNCF project, or even cloud native. If you maintain or contribute to open source software, you can participate.", + "The Winter 2027 Security Slam runs February 15 – March 12, 2027. Registration is open now." ]} centered={false} maxWidth="700px" @@ -48,7 +53,7 @@ export const HomePage: React.FC = () => { textAlign: "center" }} > -

Who's taking part

+

Fall 2026 results

{ lineHeight: 1.7 }} > - Projects from across the open source ecosystem are already in the Fall 2026 Slam, and the leaderboard shows which badges each one has earned so far. + Thirty projects from across the open source ecosystem took part in the Fall 2026 Slam. See which badges each one earned.

{ borderRadius: "var(--gf-radius-lg)" }} > - Participating projects + Fall 2026 results @@ -96,23 +101,13 @@ export const HomePage: React.FC = () => { lineHeight: 1.7 }} > - Open to ALL open source projects! Register now to qualify for recognitions. + Open to ALL open source projects! Register for the Winter 2027 Slam to qualify for recognitions.

- - Register now - + {registration && ( +
+ +
+ )} From 4668c12d073eaeba061967f7064df34f82023e2c Mon Sep 17 00:00:00 2001 From: Eddie Knight Date: Sat, 14 Nov 2026 12:03:36 -0600 Subject: [PATCH 2/2] Simplify homepage to registration and previous-outcomes cards; trim nav (REV-1254) Nav is Home and Register. The library and the slam26 explainer and projects pages are turned off; slam26 keeps only /slam26/register via the new contentSections pages option. Project page badges stop linking to library pages while the library is off. Signed-off-by: Eddie Knight --- AGENTS.md | 6 +- src/App.tsx | 22 +++--- src/config/site.ts | 29 ++----- src/global.css | 78 +++++++++++++++++++ src/pages/HomePage.tsx | 157 ++++++++++++-------------------------- src/pages/ProjectPage.tsx | 9 ++- 6 files changed, 158 insertions(+), 143 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0edaa92..d27b796 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -61,7 +61,7 @@ React + Vite + TypeScript single-page app for [securityslam.com](https://securit | Path | Intent | |------|--------| -| **`site.ts`** | **Single source of truth** for site settings. Types: `FooterLink`, `HubSpotConfig`, `ContactPageConfig`, `ContentSectionConfig`, `NavLink`, `BannerConfig`, `SiteConfig`. `siteConfig` keys: `siteName`, `tagline`, `preregistrationUrl?`, `participatingProjectsDefaultTab?`, `banner?`, `footer`, `contentSections`, `customNavLinks?`, `contactPages`. Header nav is a fixed Home link, then enabled content sections with `inNav !== false`, then `customNavLinks`. | +| **`site.ts`** | **Single source of truth** for site settings. Types: `FooterLink`, `HubSpotConfig`, `ContactPageConfig`, `ContentSectionConfig`, `NavLink`, `BannerConfig`, `SiteConfig`. `siteConfig` keys: `siteName`, `tagline`, `preregistrationUrl?`, `participatingProjectsDefaultTab?`, `banner?`, `footer`, `contentSections`, `customNavLinks?`, `contactPages`. A content section with `pages: [...]` routes only those item slugs (no section index, no `/:slug`); `slam26` uses it to keep just the register page between Slams. The library is currently disabled. Header nav is a fixed Home link, then enabled content sections with `inNav !== false`, then `customNavLinks`. | --- @@ -114,12 +114,12 @@ React + Vite + TypeScript single-page app for [securityslam.com](https://securit | Path | Intent | |------|--------| -| **`HomePage.tsx`** | Landing page: carousel, hero text, registration, partner logos, How the Slam works, and the badge row. Past reports live under `/outcomes`. | +| **`HomePage.tsx`** | Landing page: carousel, hero text with a Register button, a card grid previewing each archived Slam in `outcomes/` (newest first by `-` filename), and partner logos. | | **`LibraryPage.tsx`** | `/library`: `libraryIndex` intro, badge navigation, and the filterable article list. | | **`LibraryArticlePage.tsx`** | `/library/:slug`: one library article or badge page. Badge pages show the badge icon, a submit-completion link, and articles tagged with the badge name. | | **`SectionIndexPage.tsx`** | `/` for a non-library content section: `index.md` content (with a YouTube embed when `youtubeId` is set) plus cards for the other items. | | **`SectionItemPage.tsx`** | One content section item, found by slug or frontmatter `path`. Renders Markdown, optional HubSpot form, optional projects or leaderboard. In `outcomes` the projects render as a board of cards linking to `ProjectPage`, with no leaderboard. | -| **`ProjectPage.tsx`** | `/outcomes/:slug/:project`: one project in one archived Slam. Logo, name, Security Champion, a honeycomb of that Slam's badges (earned ones lit), and its repositories (`repos`, else `repoUrl`). Honeycomb styles are in `global.css`. | +| **`ProjectPage.tsx`** | `/outcomes/:slug/:project`: one project in one archived Slam. Logo, name, Security Champion, a honeycomb of that Slam's badges (earned ones lit; linked to badge pages only while the library is enabled), and its repositories (`repos`, else `repoUrl`). Honeycomb styles are in `global.css`. | | **`ContactPage.tsx`** | Finds the `siteConfig.contactPages` entry for the current path; renders title, description, and the HubSpot form or `formDisabledMessage`. | --- diff --git a/src/App.tsx b/src/App.tsx index 1ec34e3..dce1bcc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -95,12 +95,14 @@ export const App: React.FC = () => { config.enabled && section !== "library" && ( - } - /> + {!config.pages && ( + } + /> + )} {getSectionItems(section) - .filter((item) => item.path) + .filter((item) => item.path && (!config.pages || config.pages.includes(item.slug))) .map((item) => ( { } /> ))} - } - /> + {!config.pages && ( + } + /> + )} {section === "outcomes" && ( (card grid), detail at //:slug or at item.path from frontmatter. // Section index appears in header nav when enabled and inNav !== false. contentSections: { - slam26: { enabled: true, label: "Slam26", inNav: false }, - library: { enabled: true, label: "Library", inNav: false }, + slam26: { enabled: true, label: "Slam26", inNav: false, pages: ["register"] }, + library: { enabled: false, label: "Library", inNav: false }, outcomes: { enabled: true, label: "Previous Outcomes", inNav: false }, blog: { enabled: false, label: "Blog" } }, - // Header nav. The six objectives are one click from every page (Spring feedback: hard to find). + // Header nav after the fixed Home link. The library and Slam explainer pages are spun down + // between Slams; past results are previewed on the homepage instead. customNavLinks: [ - { - // Dropdown only: Header renders items with children as a button, so this - // path is an id, not a route. Kept distinct from the Library link below. - path: "#objectives", - label: "Objectives", - children: [ - { path: "/library/cleaner", label: "Cleaner" }, - { path: "/library/chronicler", label: "Chronicler" }, - { path: "/library/inspector", label: "Inspector" }, - { path: "/library/mechanizer", label: "Mechanizer" }, - { path: "/library/defender", label: "Defender" }, - { path: "/library/cra-readiness", label: "CRA Readiness" } - ] - }, - { path: "/library", label: "Library" }, - { path: "/slam26", label: "How it works" }, - { path: "/slam26/participating-projects", label: "Projects" }, - { path: "/slam26/register", label: "Register" }, - { path: "/outcomes", label: "Previous Outcomes" } + { path: "/slam26/register", label: "Register" } ], contactPages: [ diff --git a/src/global.css b/src/global.css index 4a1ea66..906773c 100644 --- a/src/global.css +++ b/src/global.css @@ -628,3 +628,81 @@ h3 { opacity: 0.5; } } + +/* Homepage: register button and previous-outcomes card grid */ +.home-cta { + display: inline-block; + padding: var(--gf-space-md) var(--gf-space-xl); + background: var(--gf-color-accent); + color: var(--gf-color-button-text); + font-weight: 700; + text-decoration: none; + border-radius: var(--gf-radius-lg); +} +.home-outcomes { + margin-bottom: var(--gf-space-xl); +} +.home-outcomes h2 { + text-align: center; + margin-bottom: var(--gf-space-lg); +} +.home-outcomes-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: var(--gf-space-lg); +} +.home-outcome-card { + display: flex; + flex-direction: column; + gap: var(--gf-space-md); + padding: var(--gf-space-xl); + background-color: var(--gf-color-surface); + border: 1px solid var(--gf-color-border-strong); + border-radius: var(--gf-radius-xl); + box-shadow: var(--gf-shadow-surface); + color: var(--gf-color-text); + text-decoration: none; +} +.home-outcome-card h3 { + margin: 0; +} +.home-outcome-stats { + display: flex; + gap: var(--gf-space-lg); + margin: 0; + color: var(--gf-color-text-subtle); +} +.home-outcome-stats span { + white-space: nowrap; +} +.home-outcome-stats strong { + color: var(--gf-color-text); + font-size: 1.5rem; + margin-right: 0.3em; +} +.home-outcome-logos { + display: flex; + flex-wrap: wrap; + gap: var(--gf-space-sm); +} +.home-outcome-logos img { + width: 40px; + height: 40px; + object-fit: contain; + border-radius: var(--gf-radius-lg); + background: rgba(255, 255, 255, 0.9); + padding: 4px; +} +.home-outcome-more { + margin-top: auto; + color: var(--gf-color-accent); + font-weight: 600; +} +.home-outcomes-older { + text-align: center; + margin-top: var(--gf-space-lg); + color: var(--gf-color-text-subtle); +} +.home-outcomes-older a { + color: var(--gf-color-accent); +} diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index d9ed23c..0f66edb 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,16 +1,23 @@ import React from "react"; import { Link } from "react-router-dom"; import { TextSection } from "../components/TextSection"; -import { SectionCard } from "../components/SectionCard"; import { Carousel } from "../components/Carousel"; import { PartnerLogos } from "../components/PartnerLogos"; -import { BadgeNavigation } from "../components/BadgeNavigation"; -import { HubSpotForm } from "../components/HubSpotForm"; import { carouselImages } from "../content/carousel"; -import { getSectionItemByPath } from "../content/sections"; +import { getSectionListItems } from "../content/sections"; -// The homepage form is the one on /slam26/register, so its IDs live in one place. -const registration = getSectionItemByPath("slam26", "/slam26/register")?.hubspot; +const SEASONS = ["winter", "spring", "summer", "fall"]; + +/** Archive files are named -; newest Slam sorts first. */ +export function slamOrder(slug: string): number { + const [season, year] = slug.split("-"); + return Number(year) * 10 + SEASONS.indexOf(season); +} +console.assert(slamOrder("winter-2027") > slamOrder("fall-2026") && slamOrder("fall-2026") > slamOrder("spring-2026")); + +const pastSlams = getSectionListItems("outcomes") + .filter((item) => item.projects?.length) + .sort((a, b) => slamOrder(b.slug) - slamOrder(a.slug)); export const HomePage: React.FC = () => { return ( @@ -42,114 +49,50 @@ export const HomePage: React.FC = () => { ]} centered={false} maxWidth="700px" - lastParagraphMargin="var(--gf-space-xl)" + lastParagraphMargin="var(--gf-space-lg)" /> + + Register for Winter 2027 + -
-

Fall 2026 results

-

- Thirty projects from across the open source ecosystem took part in the Fall 2026 Slam. See which badges each one earned. -

- - Fall 2026 results - -
- -
-

Registration is now open

-

- Open to ALL open source projects! Register for the Winter 2027 Slam to qualify for recognitions. -

- {registration && ( -
- + {pastSlams.length > 0 && ( +
+

Previous outcomes

+
+ {pastSlams.map((slam) => { + const projects = slam.projects ?? []; + const earned = projects.reduce((n, p) => n + (p.completed?.length ?? 0), 0); + const logos = [...new Set(projects.map((p) => p.logoUrl))].slice(0, 8); + return ( + +

{slam.title.replace(/^Security Slam /, "")}

+

+ {projects.length} projects + {earned} badges earned +

+ + See every project → + + ); + })}
- )} -
+

+ Earlier Slams are covered in the CNCF transparency reports. +

+
+ )} - -
-

How the Slam works

-

- No teams, no scoring, no prizes: just six shared objectives built around the OpenSSF Open Source Project Security Baseline. Projects that complete an objective earn a badge; projects that complete them all earn a plaque. -

- - How it works - -
- - - ); }; diff --git a/src/pages/ProjectPage.tsx b/src/pages/ProjectPage.tsx index b58048e..d0639c0 100644 --- a/src/pages/ProjectPage.tsx +++ b/src/pages/ProjectPage.tsx @@ -2,12 +2,17 @@ import React from "react"; import { Link, Navigate, useParams } from "react-router-dom"; import { getSectionItemBySlug, projectSlug } from "../content/sections"; import { badgePages } from "../content/library"; +import { siteConfig } from "../config/site"; export interface ProjectPageProps { section: string; } /** One project's results in one archived Slam: /
//. */ +// Badge pages live in the library; when it is off, a badge is a plain cell, not a link to nowhere. +const BadgeCell: React.FC<{ to: string; className: string; title: string; children: React.ReactNode }> = ({ to, ...rest }) => + siteConfig.contentSections.library?.enabled ? : ; + export const ProjectPage: React.FC = ({ section }) => { const { slug = "", project: projectParam = "" } = useParams<{ slug: string; project: string }>(); const slam = getSectionItemBySlug(section, slug); @@ -58,14 +63,14 @@ export const ProjectPage: React.FC = ({ section }) => { const label = badgePages.find((p) => p.slug === badge)?.badge ?? badge; const has = earned.has(badge); return ( - {`${label} - + ); })}