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
7 changes: 4 additions & 3 deletions app/dsoc/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import type { Metadata } from "next"
import type { ReactNode } from "react"

import { withSocial } from "@/lib/seo"

// No canonical here on purpose: this layout wraps every /dsoc route, and a
// canonical set here would point all of them at the same address.
export const metadata: Metadata = {
export const metadata: Metadata = withSocial({
title: "DSOC: Dev Weekends Summer of Code",
description:
"Dev Weekends Summer of Code (DSOC) is a mentored open source program with a monthly stipend per milestone. 2026 applications are closed.",
alternates: { canonical: "/dsoc" },
openGraph: { url: "/dsoc" },
}
})

export default function DsocLayout({ children }: { children: ReactNode }) {
return children
Expand Down
9 changes: 6 additions & 3 deletions app/dsoc/projects/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import type { Metadata } from "next"
import type { ReactNode } from "react"

export const metadata: Metadata = {
import { withSocial } from "@/lib/seo"

// withSocial fills the share tags, including the share image, which a bare
// openGraph object here would drop
export const metadata: Metadata = withSocial({
title: { absolute: "DSOC projects | Dev Weekends" },
description:
"Open source projects in Dev Weekends Summer of Code: what each one builds, the skills it needs and the mentors who guide it.",
alternates: { canonical: "/dsoc/projects" },
openGraph: { url: "/dsoc/projects" },
}
})

export default function DsocProjectsLayout({ children }: { children: ReactNode }) {
return children
Expand Down
Loading