Skip to content

Commit e301e05

Browse files
committed
Add Numberly content.
1 parent 87844dc commit e301e05

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/components/CardContent.astro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const html = entry && entry.body ? marked.parse(entry.body) : "";
99
1010
---
1111

12-
<div class="mb-2 prose prose-li:m-0 prose-ul:m-0 prose-ul:mb-2 prose-a:underline prose-h1:text-text prose-headings:font-title prose-headings:text-text prose-a:text-text hover:prose-a:text-primary-hover prose-strong:text-text prose-strong:font-bold prose-li:marker:text-text p-6">
13-
<article set:html={html} />
14-
</div>
12+
{ html &&
13+
<div class="mb-2 prose prose-li:m-0 prose-ul:m-0 prose-ul:mb-2 prose-a:underline prose-h1:text-text prose-headings:font-title prose-headings:text-text prose-a:text-text hover:prose-a:text-primary-hover prose-strong:text-text prose-strong:font-bold prose-li:marker:text-text p-6">
14+
<article set:html={html} />
15+
</div>
16+
}

src/components/JobCard.astro

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ const isJobPage = Astro.url.pathname == `/sponsor/${job.id}`;
3636
<p class="text-gray-700 mb-4">{salary}</p>
3737
<p class="mb-3">{description}</p>
3838

39-
{ isJobPage &&
40-
<CardContent collection="jobs" entry={job.id} />
41-
}
42-
4339
{ responsibilities &&
4440
<h3 class="text-xl font-semibold mb-2">Responsibilities</h3>
4541
<ul class="list-disc list-inside mb-4">

0 commit comments

Comments
 (0)