added references page + references
This commit is contained in:
parent
eb410418be
commit
50fdae2308
23 changed files with 297 additions and 41 deletions
|
@ -34,8 +34,27 @@ const fragments = defineCollection({
|
|||
}),
|
||||
});
|
||||
|
||||
const references = defineCollection({
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
subtitle: z.string(),
|
||||
url: z.string(),
|
||||
lang: z.enum(["fr", "en"]),
|
||||
tags: z.array(z.string()), // An array of strings
|
||||
// Parse pubDate as a browser-standard `Date` object
|
||||
createdAt: z.string().transform((str) => new Date(str)),
|
||||
updatedAt: z
|
||||
.string()
|
||||
.transform((str) => new Date(str))
|
||||
.optional(),
|
||||
code: z.boolean().optional() || false,
|
||||
draft: z.boolean().optional() || false,
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = {
|
||||
// Don't forget 'quotes' for collection names containing dashes
|
||||
articles,
|
||||
fragments,
|
||||
references,
|
||||
};
|
||||
|
|
10
src/content/references/en/3w.md
Normal file
10
src/content/references/en/3w.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: 3w
|
||||
subtitle: I wrote the doc!
|
||||
url: https://3-w.fr
|
||||
lang: en
|
||||
slug: "3w"
|
||||
excerpt: Développement web et compagnie.
|
||||
tags: ["Front-end", "docs"]
|
||||
createdAt: "2022-10-19T18:02:00.000Z"
|
||||
---
|
10
src/content/references/en/natureo.md
Normal file
10
src/content/references/en/natureo.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Nature en Occitanie
|
||||
subtitle: Sobriety is only natural.
|
||||
url: https://www.natureo.org/
|
||||
lang: en
|
||||
slug: "natureo"
|
||||
excerpt: Développement web et compagnie.
|
||||
tags: ["Front-end", "accessibility", "sobriety", "CMS"]
|
||||
createdAt: "2023-04-19T18:02:00.000Z"
|
||||
---
|
10
src/content/references/en/parole-expression.md
Normal file
10
src/content/references/en/parole-expression.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Parole Expression
|
||||
subtitle: A new website for the association.
|
||||
url: https://www.paroleexpression.fr/
|
||||
lang: en
|
||||
slug: "parole-expression"
|
||||
excerpt: Développement web et compagnie.
|
||||
tags: ["Front-end", "sobriety", "CMS"]
|
||||
createdAt: "2022-04-19T17:11:00.000Z"
|
||||
---
|
10
src/content/references/en/rose-primaire.md
Normal file
10
src/content/references/en/rose-primaire.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Rose Primaire
|
||||
subtitle: An agency we love.
|
||||
url: https://roseprimaire.com/
|
||||
lang: en
|
||||
slug: "rose-primaire"
|
||||
excerpt: Web dev and other things.
|
||||
tags: ["Front-end", "accessibility", "sobriety", "CMS"]
|
||||
createdAt: "2023-04-19T17:11:00.000Z"
|
||||
---
|
10
src/content/references/fr/3w.md
Normal file
10
src/content/references/fr/3w.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: 3w
|
||||
subtitle: J'ai fait de la doc!
|
||||
url: https://3-w.fr
|
||||
lang: fr
|
||||
slug: "3w"
|
||||
excerpt: Développement web et compagnie.
|
||||
tags: ["Front-end", "documentation"]
|
||||
createdAt: "2022-10-19T18:02:00.000Z"
|
||||
---
|
10
src/content/references/fr/natureo.md
Normal file
10
src/content/references/fr/natureo.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Nature en Occitanie
|
||||
subtitle: La sobriété au naturel.
|
||||
url: https://www.natureo.org/
|
||||
lang: fr
|
||||
slug: "natureo"
|
||||
excerpt: Développement web et compagnie.
|
||||
tags: ["Front-end", "accessibilité", "éco-conception", "CMS"]
|
||||
createdAt: "2023-04-19T18:02:00.000Z"
|
||||
---
|
10
src/content/references/fr/parole-expression.md
Normal file
10
src/content/references/fr/parole-expression.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Parole Expression
|
||||
subtitle: Un nouveau site pour l'association.
|
||||
url: https://www.paroleexpression.fr/
|
||||
lang: fr
|
||||
slug: "parole-expression"
|
||||
excerpt: Développement web et compagnie.
|
||||
tags: ["Front-end", "éco-conception", "CMS"]
|
||||
createdAt: "2022-04-19T17:11:00.000Z"
|
||||
---
|
10
src/content/references/fr/rose-primaire.md
Normal file
10
src/content/references/fr/rose-primaire.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Rose Primaire
|
||||
subtitle: Une agence comme on l'aime.
|
||||
url: https://roseprimaire.com/
|
||||
lang: fr
|
||||
slug: "rose-primaire"
|
||||
excerpt: Développement web et compagnie.
|
||||
tags: ["Front-end", "accessibilité", "éco-conception", "CMS"]
|
||||
createdAt: "2023-04-19T17:11:00.000Z"
|
||||
---
|
Loading…
Add table
Add a link
Reference in a new issue