Skip to content

Commit 8878c5e

Browse files
authored
Merge pull request #669 from jermspeaks/classifieds/ginger
Classifieds/ginger
2 parents cb37a02 + 205fff5 commit 8878c5e

13 files changed

+69
-7
lines changed

src/components/HomePageSide.astro

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { getCollection } from "astro:content";
33
44
const posts = await getCollection("writing");
55
const streams = await getCollection("stream");
6+
const classifieds = await getCollection("classified");
67
const collections = [...posts, ...streams];
78
89
// Get unique tags
@@ -23,6 +24,10 @@ collections.forEach((post) => {
2324
}
2425
});
2526
27+
const latestClassifieds = classifieds
28+
.sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf())
29+
.slice(0, 2);
30+
2631
const tagList = Array.from(tags)
2732
.sort((a, b) => (counts.get(b) ?? 0) - (counts.get(a) ?? 0))
2833
.slice(0, 10);
@@ -55,7 +60,8 @@ const toPascalCase = (tag: string): string => {
5560
<h4>
5661
🔖 Top 10 <a
5762
class="dark:text-slate-100 hover:underline hover:text-purple-500 visited:text-amber-600 dark:visited:text-purple-300"
58-
href="/blog/tag">Tags</a>
63+
href="/blog/tag">Tags</a
64+
>
5965
</h4>
6066
<ul class="flex flex-wrap gap-2 list-none m-0 p-0 print:hidden">
6167
{
@@ -119,4 +125,26 @@ const toPascalCase = (tag: string): string => {
119125
>
120126
</form>
121127
</div>
128+
<hr class="mt-10 mb-10" />
129+
<div class="prose dark:prose-invert !max-w-none">
130+
<h4>
131+
<a href="/curation/classified" class="hover:text-purple-500"
132+
>Latest Classifieds</a
133+
>
134+
</h4>
135+
<ul>
136+
{
137+
latestClassifieds.map((classified) => (
138+
<li>
139+
<a
140+
class="dark:text-slate-100 hover:underline hover:text-purple-500 visited:text-amber-600 dark:visited:text-purple-300"
141+
href={`/curation/classified/${classified.slug}`}
142+
>
143+
{classified.data.title}
144+
</a>
145+
</li>
146+
))
147+
}
148+
</ul>
149+
</div>
122150
</div>

src/components/JSONEditor.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
3838
// Create highlighter once
3939
async function initHighlighter() {
40+
if (highlighter) {
41+
// If you create a new highlighter, you need to dispose the old one
42+
highlighter.dispose();
43+
}
4044
highlighter = await createHighlighter({
4145
themes: ["github-dark"],
4246
langs: ["graphql"],

src/content/classified/2024-02-20-adam-boyd-designs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
draft: false
3+
expired: false
34
link: "https://www.etsy.com/shop/AdamBoydDesigns"
45
location: "Concord, CA"
56
pubDate: "2024-02-20T08:00:00.000Z"

src/content/classified/2024-02-20-flagship.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
draft: false
3+
expired: true
34
link: "https://landing.flagship.shop/"
45
location: "San Francisco, CA"
56
pubDate: "2024-03-01T08:00:00.000Z"

src/content/classified/2024-02-20-zum-senior-backend.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
draft: false
3+
expired: true
34
link: "https://jobs.lever.co/ridezum/3f583c09-479b-4385-bc2f-3f8150893886"
45
location: "Redwood City, CA"
56
pubDate: "2024-02-20T08:00:00.000Z"

src/content/classified/2024-02-20-zum-senior-web-dev.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
draft: false
3+
expired: true
34
link: "https://jobs.lever.co/ridezum/4de14203-9b9d-46ec-99aa-9ed3f92a57b6"
45
location: "Redwood City, CA"
56
pubDate: "2024-02-20T08:00:00.000Z"

src/content/classified/2024-03-21-benji-j.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
draft: false
3+
expired: false
34
link: "https://ramoneando.com/now"
45
location: "American, based in Argentina"
56
pubDate: "2024-03-21T08:00:00.000Z"

src/content/classified/2024-04-18-brian-smaalders.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
draft: false
3+
expired: false
34
link: "https://www.linkedin.com/in/brian-smaalders-aa8b9817b/"
45
location: "San Francisco/Bay Area, CA"
56
pubDate: "2024-04-18T23:09:12.225Z"

src/content/classified/2024-04-18-keith-eastman.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
draft: false
3+
expired: false
34
link: "https://www.linkedin.com/in/eastmankeith/"
45
location: "San Francisco/Bay Area, CA"
56
pubDate: "2024-04-18T23:04:03.226Z"
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
draft: false
3-
link: "https://www.linkedin.com/in/marlone-akidiva/"
3+
expired: false
4+
link: "https://www.marlone.tech/"
45
location: "Nairobi, Kenya or Remote"
56
pubDate: "2024-06-05T18:00:09.000Z"
67
tags: ["looking-for-work"]
@@ -10,8 +11,11 @@ referrer: Personal
1011

1112
I've worked with Marlone for the past 5 years, and he's a fantastic developer. Here's his blurb.
1213

13-
> I am a skilled software engineer with 7+ years of professional experience. I excel in building user-friendly and intuitive designs, implementing functional web applications, and improving customer conversion rates. My expertise lies in JavaScript, Node.js, React.js, and responsive web design, along with skills in TypeScript, CSS, UI design, and UI patterns.
14+
> I am a skilled software engineer with 7+ years of professional experience. I excel in building user-friendly and intuitive designs, implementing functional web applications, and improving customer conversion rates. My expertise lies in JavaScript, Node.js, React.js, and responsive web design, along with skills in TypeScript, CSS, UI design, and UI patterns.
1415
>
1516
> My most notable career achievement has been building the Clear Labs PCR culturing and antigen-based tests platform.
16-
>
17+
>
1718
> The project gained Clear Labs 15 additional customers within the first 3months of release and was able to secure the company a series C funding of $60milliion in an oversubscribed funding round due to the level of interest it generated. The funding was able to be used to help increase the availability of the company's solutions to help labs and clinicians more easily identify and trace all strains of pathogens, like SARS-CoV-2, Salmonella and Listeria.
19+
20+
- [Website](https://www.marlone.tech/)
21+
- [LinkedIn](https://www.linkedin.com/in/marlone-akidiva/)

0 commit comments

Comments
 (0)