Skip to content

Commit 3f6983e

Browse files
committed
refactor(docs): temporarily remove @svelte-put/modal docs page, point to old docs
1 parent 73c1f53 commit 3f6983e

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

sites/docs/src/lib/data/packages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const packages = {
111111
description: 'type-safe async modal builder',
112112
path: '/docs/modal',
113113
replId: '0a68001337544b8ab55995fb3d02d1f6',
114-
status: 'dev',
114+
status: 'stable',
115115
ready: true,
116116
githubUrl: 'https://github.com/vnphanquang/svelte-put/tree/main/packages/modal',
117117
changelogUrl:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import ogImage from '$lib/assets/images/og/svelte-put-modal.jpg';
2+
3+
import type { PageServerLoad } from './$types';
4+
5+
export const load: PageServerLoad = async ({ parent }) => {
6+
const data = await parent();
7+
return {
8+
meta: {
9+
...data.meta,
10+
og: {
11+
image: ogImage,
12+
}
13+
},
14+
};
15+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<script>
2+
import Content from './_page/content.md.svelte';
3+
</script>
4+
5+
<Content />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
:::div c-callout c-callout--success c-callout--icon-megaphone
2+
I am experimenting with new solutions for `@svelte-put/modal` (v2) that will adopt a "headless" approach, reducing complexity and allow easier integration with any UI preferences.
3+
4+
In the meantime, you can see the [old docs here](https://02e439f1.svelte-put.pages.dev/). Sorry about the inconvenience.
5+
:::

0 commit comments

Comments
 (0)