Skip to content

Commit 5b39eec

Browse files
committed
use md for projects section content
1 parent b805014 commit 5b39eec

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

website/src/components/Projects.astro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
import { render } from "astro:content";
33
import { getCollection } from "astro:content";
44
const projects = await getCollection("projects");
5+
import { Content } from "../assets/text/Projects.md";
56
---
67

78
<section
89
id="projects"
910
class="bg-bdt-blue/60 bg-[url(../assets/backgrounds/wavy.webp)] bg-cover bg-blend-multiply"
1011
>
1112
<div class="max-w-[130ch] mx-auto py-12 px-3">
12-
<h2 class="font-bold font-serif text-2xl text-center mb-9">
13-
BDT's Projects
14-
</h2>
13+
<div class="max-w-[85ch] mx-auto pb-9 prose">
14+
<Content />
15+
</div>
1516
<ul class="flex flex-col sm:flex-row gap-6 justify-center">
1617
{
1718
projects.map(async (project) => {

0 commit comments

Comments
 (0)