diff --git a/src/lib/components/ui/pagination/index.ts b/src/lib/components/ui/pagination/index.ts new file mode 100644 index 0000000..8d2173a --- /dev/null +++ b/src/lib/components/ui/pagination/index.ts @@ -0,0 +1 @@ +export { default as Pagination } from './pagination.svelte'; diff --git a/src/lib/components/ui/pagination/pagination.svelte b/src/lib/components/ui/pagination/pagination.svelte new file mode 100644 index 0000000..8220b51 --- /dev/null +++ b/src/lib/components/ui/pagination/pagination.svelte @@ -0,0 +1,45 @@ + + + diff --git a/src/lib/config/sitemap.ts b/src/lib/config/sitemap.ts index de6fc2f..77eb570 100644 --- a/src/lib/config/sitemap.ts +++ b/src/lib/config/sitemap.ts @@ -175,7 +175,7 @@ export const aside_items: Aside = { { title: 'Pagination', href: '/pagination', - status: 'soon' + status: 'new' }, { title: 'Progress', diff --git a/src/routes/pagination/+page.svelte b/src/routes/pagination/+page.svelte index 82e0535..08016ff 100644 --- a/src/routes/pagination/+page.svelte +++ b/src/routes/pagination/+page.svelte @@ -1 +1,14 @@ -

pagination

+ + + + + + + diff --git a/src/routes/pagination/+page.ts b/src/routes/pagination/+page.ts new file mode 100644 index 0000000..a2ee062 --- /dev/null +++ b/src/routes/pagination/+page.ts @@ -0,0 +1,21 @@ +import type { MetaTagsProps } from 'svelte-meta-tags'; + +export function load() { + const title = 'Pagination'; + const description = 'Navigate to the previous or next page.'; + + const pageMetaTags = Object.freeze({ + title, + description, + openGraph: { + title, + description + } + }) satisfies MetaTagsProps; + + return { + pageMetaTags, + title, + description + }; +} diff --git a/src/routes/pagination/default.svelte b/src/routes/pagination/default.svelte new file mode 100644 index 0000000..1909bee --- /dev/null +++ b/src/routes/pagination/default.svelte @@ -0,0 +1,9 @@ + + +