Skip to content
Merged
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
Binary file added public/images/SEC-07-smp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

"metadata": {
"meta_author": "Sovereign Engineering",
"meta_image": "/images/og-image.jpg",
"meta_image": "/images/SEC-07-smp.png",
"meta_description": "The program that brought you Blossom, Nutzaps, Wikifreedia, Nsite, TollGate, Zapstore, and more..."
}
}
1 change: 1 addition & 0 deletions src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ const upcomingCohortsSectionCollection = defineCollection({
dates: z.string(),
link: z.string().optional(),
blogLink: z.string().optional(),
closed: z.boolean().optional(),
}),
),
}),
Expand Down
4 changes: 2 additions & 2 deletions src/content/sections/call-to-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ description: "Experience, build, and alpha-test the future of self-sovereign tec
button:
enable: true
label: 'Apply Now!'
link: 'https://sovereignengineering.typeform.com/SEC-06'
dates: 'Mar 02 - Mar 20'
link: 'https://sovereignengineering.typeform.com/SEC-07'
dates: 'Mar 30 - Apr 17'
---
1 change: 1 addition & 0 deletions src/content/sections/upcoming-cohorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cohorts:
description: 'Identity'
duration: '3 weeks'
dates: 'starting March 2'
closed: true
link: 'https://sovereignengineering.typeform.com/SEC-06'
blogLink: 'https://primal.net/soveng/sec-06-identity--signers'
- name: 'SEC-07'
Expand Down
6 changes: 4 additions & 2 deletions src/layouts/partials/UpcomingCohorts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { upcoming_cohorts } = Astro.props;
<h2 set:html={markdownify(upcoming_cohorts.data.title)} class="mb-4" />
<div class="flex flex-col gap-2">
{upcoming_cohorts.data.cohorts.map(
(cohort: { name: string; description?: string; duration?: string; dates: string; link?: string; blogLink?: string }) => {
(cohort: { name: string; description?: string; duration?: string; dates: string; link?: string; blogLink?: string; closed?: boolean }) => {
const descriptionPart = cohort.description ? `: ${cohort.description}` : '';
const durationDesktop = cohort.duration ? `${cohort.duration}, ` : '';
const durationMobile = cohort.duration ? `${cohort.duration.replace('weeks', 'wks')}, ` : '';
Expand Down Expand Up @@ -41,7 +41,9 @@ const { upcoming_cohorts } = Astro.props;
<span class="hidden md:inline">{cohort.dates}</span>
<span class="md:hidden">{datesMobile}</span>
{`)`}
{cohort.link && (
{cohort.closed ? (
<span class="text-text dark:text-darkmode-text opacity-60"> - Applications closed</span>
) : cohort.link && (
<> - <a href={cohort.link} target="_blank" rel="noopener noreferrer" class="underline hover:no-underline">
<span class="hidden md:inline">Apply now!</span>
<span class="md:hidden">Apply</span>
Expand Down