Skip to content
Open
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
1 change: 1 addition & 0 deletions src/lib/assets/markdown/articles/connecting-bedrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: ""
date: "2025-07-01"
image: "/articleImages/df.png"
slug: "connecting-bedrock"
disabled: "true"
---

# Introducing: The Open Collaboration Discord
Expand Down
1 change: 1 addition & 0 deletions src/lib/assets/markdown/articles/eu-meetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: "It's nice to meet people you've only ever seen online!"
date: "2025-11-09"
image: "/articleImages/the-hague-canals.jpg"
slug: "eu-meetup"
disabled: "true"
---

# Geyser and Cloudburst Meetup 2025
Expand Down
1 change: 1 addition & 0 deletions src/lib/assets/markdown/articles/geyser-tshirts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: "For Geyser's 6th birthday: Time to code in style"
date: "2025-11-20"
image: "/articleImages/geyser-tshirts.jpg"
slug: "geyser-tshirts"
disabled: "true"
---

# Geyser T-Shirts
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/ui/mini-blog/NewsTicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { fly, fade } from "svelte/transition";

let { articles } = $props();
console.log(articles);
const itemsPerPage = 4;
let currentPage = $state(1);

Expand Down
10 changes: 9 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,22 @@
import NewsTicker from "$lib/components/ui/mini-blog/NewsTicker.svelte";

let { data } = $props();

const enabledArticles = [];

for (const article of data.articles) {
if (article.disabled !== "true") enabledArticles.push(article);
}
</script>

<svelte:head>
<title>Open Collaboration</title>
</svelte:head>

<Hero />
<!-- <NewsTicker articles={data.articles} /> -->
{#if enabledArticles.length > 0}
<NewsTicker articles={enabledArticles} />
{/if}
<Mission />
<Partners partners={data.partners} />
<GetInvolved />
2 changes: 2 additions & 0 deletions src/routes/articles/[slug]/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export function load({ params }) {

const { attributes, body } = frontMatter(fileContent);

if (attributes.disabled === "true") throw error(404, "Article not found");

const content = marked.parse(body);

return {
Expand Down
24 changes: 0 additions & 24 deletions src/routes/articles/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
let { data }: { data: PageData } = $props();
</script>

<!--

<svelte:head>
<title>{data.post.title}</title>
<meta name="description" content={data.post.description} />
Expand Down Expand Up @@ -43,26 +41,4 @@
{@html data.post.content}
</div>
</article>
</div>

-->

<svelte:head>
<title>Coming soon!</title>
<meta name="description" content="We're working on this... please be patient." />
</svelte:head>

<div class="bg-white dark:bg-gray-900 py-8 mt-20">
<article class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8">
<header class="mb-8">
<h1
class="text-4xl font-extrabold text-primary-900 dark:text-white leading-tight mb-2"
>
Coming soon!
</h1>
<p class="text-lg text-primary-500 dark:text-primary-400">
We're working on this... please be patient.
</p>
</header>
</article>
</div>