@lets-ship/site 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +59 -2
- package/bin/ship-site.js +5 -0
- package/dist/badge/badge.d.ts +14 -0
- package/dist/badge/badge.d.ts.map +1 -0
- package/dist/badge/badge.js +16 -0
- package/dist/badge/badge.js.map +1 -0
- package/dist/blog/arrow.d.ts +6 -0
- package/dist/blog/arrow.d.ts.map +1 -0
- package/dist/blog/arrow.js +6 -0
- package/dist/blog/arrow.js.map +1 -0
- package/dist/blog/article-view.d.ts +20 -0
- package/dist/blog/article-view.d.ts.map +1 -0
- package/dist/blog/article-view.js +71 -0
- package/dist/blog/article-view.js.map +1 -0
- package/dist/blog/article.d.ts +72 -0
- package/dist/blog/article.d.ts.map +1 -0
- package/dist/blog/article.js +90 -0
- package/dist/blog/article.js.map +1 -0
- package/dist/blog/featured.d.ts +18 -0
- package/dist/blog/featured.d.ts.map +1 -0
- package/dist/blog/featured.js +19 -0
- package/dist/blog/featured.js.map +1 -0
- package/dist/blog/frontmatter.d.ts +155 -0
- package/dist/blog/frontmatter.d.ts.map +1 -0
- package/dist/blog/frontmatter.js +96 -0
- package/dist/blog/frontmatter.js.map +1 -0
- package/dist/blog/index-view.d.ts +21 -0
- package/dist/blog/index-view.d.ts.map +1 -0
- package/dist/blog/index-view.js +70 -0
- package/dist/blog/index-view.js.map +1 -0
- package/dist/blog/inline-markdown.d.ts +15 -0
- package/dist/blog/inline-markdown.d.ts.map +1 -0
- package/dist/blog/inline-markdown.js +44 -0
- package/dist/blog/inline-markdown.js.map +1 -0
- package/dist/blog/post-card.d.ts +37 -0
- package/dist/blog/post-card.d.ts.map +1 -0
- package/dist/blog/post-card.js +68 -0
- package/dist/blog/post-card.js.map +1 -0
- package/dist/blog/site.d.ts +57 -0
- package/dist/blog/site.d.ts.map +1 -0
- package/dist/blog/site.js +76 -0
- package/dist/blog/site.js.map +1 -0
- package/dist/blog/toc.d.ts +32 -0
- package/dist/blog/toc.d.ts.map +1 -0
- package/dist/blog/toc.js +46 -0
- package/dist/blog/toc.js.map +1 -0
- package/dist/config/context.d.ts +16 -0
- package/dist/config/context.d.ts.map +1 -0
- package/dist/config/context.js +11 -0
- package/dist/config/context.js.map +1 -0
- package/dist/config/identity.d.ts +41 -0
- package/dist/config/identity.d.ts.map +1 -0
- package/dist/config/identity.js +28 -0
- package/dist/config/identity.js.map +1 -0
- package/dist/config/json-schema.d.ts +11 -0
- package/dist/config/json-schema.d.ts.map +1 -0
- package/dist/config/json-schema.js +14 -0
- package/dist/config/json-schema.js.map +1 -0
- package/dist/config/site-config.d.ts +145 -0
- package/dist/config/site-config.d.ts.map +1 -0
- package/dist/config/site-config.js +130 -0
- package/dist/config/site-config.js.map +1 -0
- package/dist/docs/page-view.d.ts +21 -0
- package/dist/docs/page-view.d.ts.map +1 -0
- package/dist/docs/page-view.js +27 -0
- package/dist/docs/page-view.js.map +1 -0
- package/dist/feeds/feeds.d.ts +33 -0
- package/dist/feeds/feeds.d.ts.map +1 -0
- package/dist/feeds/feeds.js +122 -0
- package/dist/feeds/feeds.js.map +1 -0
- package/dist/format/dates.d.ts +5 -0
- package/dist/format/dates.d.ts.map +1 -0
- package/dist/format/dates.js +17 -0
- package/dist/format/dates.js.map +1 -0
- package/dist/format/node-text.d.ts +7 -0
- package/dist/format/node-text.d.ts.map +1 -0
- package/dist/format/node-text.js +15 -0
- package/dist/format/node-text.js.map +1 -0
- package/dist/format/toc-depth.d.ts +11 -0
- package/dist/format/toc-depth.d.ts.map +1 -0
- package/dist/format/toc-depth.js +14 -0
- package/dist/format/toc-depth.js.map +1 -0
- package/dist/i18n/fumadocs-keys.d.ts +13 -0
- package/dist/i18n/fumadocs-keys.d.ts.map +1 -0
- package/dist/i18n/fumadocs-keys.js +136 -0
- package/dist/i18n/fumadocs-keys.js.map +1 -0
- package/dist/i18n/strings.d.ts +19 -0
- package/dist/i18n/strings.d.ts.map +1 -0
- package/dist/i18n/strings.js +59 -0
- package/dist/i18n/strings.js.map +1 -0
- package/dist/i18n/tables/de.d.ts +3 -0
- package/dist/i18n/tables/de.d.ts.map +1 -0
- package/dist/i18n/tables/de.js +82 -0
- package/dist/i18n/tables/de.js.map +1 -0
- package/dist/i18n/tables/en.d.ts +3 -0
- package/dist/i18n/tables/en.d.ts.map +1 -0
- package/dist/i18n/tables/en.js +25 -0
- package/dist/i18n/tables/en.js.map +1 -0
- package/dist/i18n/tables/es.d.ts +3 -0
- package/dist/i18n/tables/es.d.ts.map +1 -0
- package/dist/i18n/tables/es.js +82 -0
- package/dist/i18n/tables/es.js.map +1 -0
- package/dist/i18n/tables/fr.d.ts +3 -0
- package/dist/i18n/tables/fr.d.ts.map +1 -0
- package/dist/i18n/tables/fr.js +82 -0
- package/dist/i18n/tables/fr.js.map +1 -0
- package/dist/i18n/tables/nl.d.ts +3 -0
- package/dist/i18n/tables/nl.d.ts.map +1 -0
- package/dist/i18n/tables/nl.js +82 -0
- package/dist/i18n/tables/nl.js.map +1 -0
- package/dist/i18n/tables/pt.d.ts +3 -0
- package/dist/i18n/tables/pt.d.ts.map +1 -0
- package/dist/i18n/tables/pt.js +82 -0
- package/dist/i18n/tables/pt.js.map +1 -0
- package/dist/i18n/tables/tr.d.ts +3 -0
- package/dist/i18n/tables/tr.d.ts.map +1 -0
- package/dist/i18n/tables/tr.js +82 -0
- package/dist/i18n/tables/tr.js.map +1 -0
- package/dist/i18n/types.d.ts +39 -0
- package/dist/i18n/types.d.ts.map +1 -0
- package/dist/i18n/types.js +2 -0
- package/dist/i18n/types.js.map +1 -0
- package/dist/layout/analytics.d.ts +9 -0
- package/dist/layout/analytics.d.ts.map +1 -0
- package/dist/layout/analytics.js +18 -0
- package/dist/layout/analytics.js.map +1 -0
- package/dist/layout/brand-files.d.ts +15 -0
- package/dist/layout/brand-files.d.ts.map +1 -0
- package/dist/layout/brand-files.js +15 -0
- package/dist/layout/brand-files.js.map +1 -0
- package/dist/layout/footer.d.ts +10 -0
- package/dist/layout/footer.d.ts.map +1 -0
- package/dist/layout/footer.js +21 -0
- package/dist/layout/footer.js.map +1 -0
- package/dist/layout/not-found.d.ts +7 -0
- package/dist/layout/not-found.d.ts.map +1 -0
- package/dist/layout/not-found.js +8 -0
- package/dist/layout/not-found.js.map +1 -0
- package/dist/layout/provider.d.ts +17 -0
- package/dist/layout/provider.d.ts.map +1 -0
- package/dist/layout/provider.js +14 -0
- package/dist/layout/provider.js.map +1 -0
- package/dist/layout/root.d.ts +17 -0
- package/dist/layout/root.d.ts.map +1 -0
- package/dist/layout/root.js +47 -0
- package/dist/layout/root.js.map +1 -0
- package/dist/lint/source.d.ts +19 -0
- package/dist/lint/source.d.ts.map +1 -0
- package/dist/lint/source.js +43 -0
- package/dist/lint/source.js.map +1 -0
- package/dist/llms/llms.d.ts +22 -0
- package/dist/llms/llms.d.ts.map +1 -0
- package/dist/llms/llms.js +24 -0
- package/dist/llms/llms.js.map +1 -0
- package/dist/markdown/article.d.ts +44 -0
- package/dist/markdown/article.d.ts.map +1 -0
- package/dist/markdown/article.js +108 -0
- package/dist/markdown/article.js.map +1 -0
- package/dist/markdown/inline.d.ts +40 -0
- package/dist/markdown/inline.d.ts.map +1 -0
- package/dist/markdown/inline.js +74 -0
- package/dist/markdown/inline.js.map +1 -0
- package/dist/markdown/page.d.ts +13 -0
- package/dist/markdown/page.d.ts.map +1 -0
- package/dist/markdown/page.js +21 -0
- package/dist/markdown/page.js.map +1 -0
- package/dist/marker.d.ts +37 -0
- package/dist/marker.d.ts.map +1 -0
- package/dist/marker.js +36 -0
- package/dist/marker.js.map +1 -0
- package/dist/mdx/allow-list.d.ts +23 -0
- package/dist/mdx/allow-list.d.ts.map +1 -0
- package/dist/mdx/allow-list.js +79 -0
- package/dist/mdx/allow-list.js.map +1 -0
- package/dist/mdx/components.d.ts +8 -0
- package/dist/mdx/components.d.ts.map +1 -0
- package/dist/mdx/components.js +68 -0
- package/dist/mdx/components.js.map +1 -0
- package/dist/mdx/remark-alerts.d.ts +4 -0
- package/dist/mdx/remark-alerts.d.ts.map +1 -0
- package/dist/mdx/remark-alerts.js +39 -0
- package/dist/mdx/remark-alerts.js.map +1 -0
- package/dist/next.d.ts +24 -0
- package/dist/next.d.ts.map +1 -0
- package/dist/next.js +55 -0
- package/dist/next.js.map +1 -0
- package/dist/node/bin.d.ts +3 -0
- package/dist/node/bin.d.ts.map +1 -0
- package/dist/node/bin.js +13 -0
- package/dist/node/bin.js.map +1 -0
- package/dist/node/brand.d.ts +13 -0
- package/dist/node/brand.d.ts.map +1 -0
- package/dist/node/brand.js +48 -0
- package/dist/node/brand.js.map +1 -0
- package/dist/node/build.d.ts +31 -0
- package/dist/node/build.d.ts.map +1 -0
- package/dist/node/build.js +151 -0
- package/dist/node/build.js.map +1 -0
- package/dist/node/cli.d.ts +11 -0
- package/dist/node/cli.d.ts.map +1 -0
- package/dist/node/cli.js +80 -0
- package/dist/node/cli.js.map +1 -0
- package/dist/node/config-file.d.ts +5 -0
- package/dist/node/config-file.d.ts.map +1 -0
- package/dist/node/config-file.js +31 -0
- package/dist/node/config-file.js.map +1 -0
- package/dist/node/content.d.ts +6 -0
- package/dist/node/content.d.ts.map +1 -0
- package/dist/node/content.js +36 -0
- package/dist/node/content.js.map +1 -0
- package/dist/node/errors.d.ts +26 -0
- package/dist/node/errors.d.ts.map +1 -0
- package/dist/node/errors.js +34 -0
- package/dist/node/errors.js.map +1 -0
- package/dist/node/files.d.ts +12 -0
- package/dist/node/files.d.ts.map +1 -0
- package/dist/node/files.js +43 -0
- package/dist/node/files.js.map +1 -0
- package/dist/node/og.d.ts +17 -0
- package/dist/node/og.d.ts.map +1 -0
- package/dist/node/og.js +43 -0
- package/dist/node/og.js.map +1 -0
- package/dist/node/project-root.d.ts +12 -0
- package/dist/node/project-root.d.ts.map +1 -0
- package/dist/node/project-root.js +27 -0
- package/dist/node/project-root.js.map +1 -0
- package/dist/node/serve.d.ts +32 -0
- package/dist/node/serve.d.ts.map +1 -0
- package/dist/node/serve.js +133 -0
- package/dist/node/serve.js.map +1 -0
- package/dist/node/theme.d.ts +15 -0
- package/dist/node/theme.d.ts.map +1 -0
- package/dist/node/theme.js +46 -0
- package/dist/node/theme.js.map +1 -0
- package/dist/search/dialog.d.ts +14 -0
- package/dist/search/dialog.d.ts.map +1 -0
- package/dist/search/dialog.js +17 -0
- package/dist/search/dialog.js.map +1 -0
- package/dist/search/language.d.ts +8 -0
- package/dist/search/language.d.ts.map +1 -0
- package/dist/search/language.js +30 -0
- package/dist/search/language.js.map +1 -0
- package/dist/search/route.d.ts +9 -0
- package/dist/search/route.d.ts.map +1 -0
- package/dist/search/route.js +11 -0
- package/dist/search/route.js.map +1 -0
- package/dist/seo/article.d.ts +84 -0
- package/dist/seo/article.d.ts.map +1 -0
- package/dist/seo/article.js +117 -0
- package/dist/seo/article.js.map +1 -0
- package/dist/seo/collection.d.ts +19 -0
- package/dist/seo/collection.d.ts.map +1 -0
- package/dist/seo/collection.js +30 -0
- package/dist/seo/collection.js.map +1 -0
- package/dist/seo/dataset.d.ts +31 -0
- package/dist/seo/dataset.d.ts.map +1 -0
- package/dist/seo/dataset.js +33 -0
- package/dist/seo/dataset.js.map +1 -0
- package/dist/seo/json-ld.d.ts +6 -0
- package/dist/seo/json-ld.d.ts.map +1 -0
- package/dist/seo/json-ld.js +8 -0
- package/dist/seo/json-ld.js.map +1 -0
- package/dist/seo/script-json.d.ts +8 -0
- package/dist/seo/script-json.d.ts.map +1 -0
- package/dist/seo/script-json.js +12 -0
- package/dist/seo/script-json.js.map +1 -0
- package/dist/seo/title.d.ts +11 -0
- package/dist/seo/title.d.ts.map +1 -0
- package/dist/seo/title.js +11 -0
- package/dist/seo/title.js.map +1 -0
- package/dist/seo/x-handle.d.ts +9 -0
- package/dist/seo/x-handle.d.ts.map +1 -0
- package/dist/seo/x-handle.js +21 -0
- package/dist/seo/x-handle.js.map +1 -0
- package/dist/site/app.d.ts +56 -0
- package/dist/site/app.d.ts.map +1 -0
- package/dist/site/app.js +79 -0
- package/dist/site/app.js.map +1 -0
- package/dist/site/features.d.ts +26 -0
- package/dist/site/features.d.ts.map +1 -0
- package/dist/site/features.js +46 -0
- package/dist/site/features.js.map +1 -0
- package/dist/site/metadata.d.ts +6 -0
- package/dist/site/metadata.d.ts.map +1 -0
- package/dist/site/metadata.js +78 -0
- package/dist/site/metadata.js.map +1 -0
- package/dist/site/outputs.d.ts +24 -0
- package/dist/site/outputs.d.ts.map +1 -0
- package/dist/site/outputs.js +113 -0
- package/dist/site/outputs.js.map +1 -0
- package/dist/site/posts.d.ts +6 -0
- package/dist/site/posts.d.ts.map +1 -0
- package/dist/site/posts.js +9 -0
- package/dist/site/posts.js.map +1 -0
- package/dist/site/routes.d.ts +43 -0
- package/dist/site/routes.d.ts.map +1 -0
- package/dist/site/routes.js +94 -0
- package/dist/site/routes.js.map +1 -0
- package/dist/site/site-page.d.ts +11 -0
- package/dist/site/site-page.d.ts.map +1 -0
- package/dist/site/site-page.js +70 -0
- package/dist/site/site-page.js.map +1 -0
- package/dist/site/sources.d.ts +58 -0
- package/dist/site/sources.d.ts.map +1 -0
- package/dist/site/sources.js +2 -0
- package/dist/site/sources.js.map +1 -0
- package/dist/site/url-style.d.ts +21 -0
- package/dist/site/url-style.d.ts.map +1 -0
- package/dist/site/url-style.js +18 -0
- package/dist/site/url-style.js.map +1 -0
- package/dist/website/blocks/commerce.d.ts +41 -0
- package/dist/website/blocks/commerce.d.ts.map +1 -0
- package/dist/website/blocks/commerce.js +26 -0
- package/dist/website/blocks/commerce.js.map +1 -0
- package/dist/website/blocks/content.d.ts +41 -0
- package/dist/website/blocks/content.d.ts.map +1 -0
- package/dist/website/blocks/content.js +25 -0
- package/dist/website/blocks/content.js.map +1 -0
- package/dist/website/blocks/marketing.d.ts +32 -0
- package/dist/website/blocks/marketing.d.ts.map +1 -0
- package/dist/website/blocks/marketing.js +23 -0
- package/dist/website/blocks/marketing.js.map +1 -0
- package/dist/website/blocks/parts.d.ts +26 -0
- package/dist/website/blocks/parts.d.ts.map +1 -0
- package/dist/website/blocks/parts.js +13 -0
- package/dist/website/blocks/parts.js.map +1 -0
- package/dist/website/page-view.d.ts +12 -0
- package/dist/website/page-view.d.ts.map +1 -0
- package/dist/website/page-view.js +10 -0
- package/dist/website/page-view.js.map +1 -0
- package/dist/zod.d.ts +8 -0
- package/dist/zod.d.ts.map +1 -0
- package/dist/zod.js +8 -0
- package/dist/zod.js.map +1 -0
- package/package.json +187 -3
- package/styles.css +326 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { StructuredData } from "fumadocs-core/mdx-plugins";
|
|
2
|
+
import type { Root } from "fumadocs-core/page-tree";
|
|
3
|
+
import type { TOCItemType } from "fumadocs-core/toc";
|
|
4
|
+
import type { MDXComponents } from "mdx/types";
|
|
5
|
+
import type { ComponentType } from "react";
|
|
6
|
+
import type { ArticleEntry } from "../blog/article.js";
|
|
7
|
+
/**
|
|
8
|
+
* The content a site hands the engine, one list per section. A template builds these from its
|
|
9
|
+
* content collections; the engine never reads files itself, so it works with any loader.
|
|
10
|
+
*/
|
|
11
|
+
export type MdxBody = ComponentType<{
|
|
12
|
+
components?: MDXComponents;
|
|
13
|
+
}>;
|
|
14
|
+
/** A page of the website section, from `content/pages/`. `slug` is "" for the section's index. */
|
|
15
|
+
export interface PageEntry {
|
|
16
|
+
readonly slug: string;
|
|
17
|
+
readonly title: string;
|
|
18
|
+
readonly description?: string;
|
|
19
|
+
readonly body: MdxBody;
|
|
20
|
+
readonly structuredData: StructuredData;
|
|
21
|
+
/** The page's processed Markdown, for its `.md` copy. */
|
|
22
|
+
markdown(): Promise<string>;
|
|
23
|
+
}
|
|
24
|
+
/** A blog post, from `content/posts/`. */
|
|
25
|
+
export interface PostEntry extends ArticleEntry {
|
|
26
|
+
readonly slug: string;
|
|
27
|
+
/** Every post has one, from the site config's categories (the post schema requires it). */
|
|
28
|
+
readonly category: string;
|
|
29
|
+
/** Position in the Featured section, 1 first; absent when the post is not featured. */
|
|
30
|
+
readonly featured?: number;
|
|
31
|
+
readonly structuredData: StructuredData;
|
|
32
|
+
markdown(): Promise<string>;
|
|
33
|
+
}
|
|
34
|
+
/** A page of the docs section, from `content/docs/`. */
|
|
35
|
+
export interface DocsEntry {
|
|
36
|
+
/** The page's path below the docs section, as segments; [] for its index. */
|
|
37
|
+
readonly slugs: readonly string[];
|
|
38
|
+
readonly title: string;
|
|
39
|
+
readonly description?: string;
|
|
40
|
+
readonly toc: TOCItemType[];
|
|
41
|
+
readonly body: MdxBody;
|
|
42
|
+
readonly structuredData: StructuredData;
|
|
43
|
+
/** The source file, relative to the docs content folder, for the "Edit on GitHub" link. */
|
|
44
|
+
readonly file: string;
|
|
45
|
+
markdown(): Promise<string>;
|
|
46
|
+
}
|
|
47
|
+
export interface DocsSource {
|
|
48
|
+
/** The sidebar tree, from the folders and `meta.json` files of `content/docs/`. */
|
|
49
|
+
readonly tree: Root;
|
|
50
|
+
readonly pages: readonly DocsEntry[];
|
|
51
|
+
}
|
|
52
|
+
/** One list per section. A section the config turns off has `null`. */
|
|
53
|
+
export interface SiteSources {
|
|
54
|
+
readonly pages: readonly PageEntry[] | null;
|
|
55
|
+
readonly posts: readonly PostEntry[] | null;
|
|
56
|
+
readonly docs: DocsSource | null;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=sources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../src/site/sources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAA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,CAAC;IACtB,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,UAAU;IAC1B,mFAAmF;IACnF,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;CACrC;AAED,uEAAuE;AACvE,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../../src/site/sources.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How a site writes its URLs. A SHIP Sites template is a static export with trailing slashes
|
|
3
|
+
* (`withShipSite`), so every link must carry one or each click costs a redirect; letsship.ai has
|
|
4
|
+
* none. Required, because a wrong guess is a redirect on every link.
|
|
5
|
+
*/
|
|
6
|
+
export type UrlStyle = {
|
|
7
|
+
readonly trailingSlash: boolean;
|
|
8
|
+
};
|
|
9
|
+
/** The folder under which a static export serves each page's Markdown copy. */
|
|
10
|
+
export declare const MARKDOWN_ROOT = "/md";
|
|
11
|
+
export type UrlPaths = {
|
|
12
|
+
/** A page path in the site's style, whichever way it was written. */
|
|
13
|
+
page(path: string): string;
|
|
14
|
+
/**
|
|
15
|
+
* Where a page's Markdown copy lives: `/md/<path>.md` on a static export (a route handler
|
|
16
|
+
* cannot sit below a catch-all page), `<page>/md` on letsship.ai.
|
|
17
|
+
*/
|
|
18
|
+
markdownPath(pagePath: string): string;
|
|
19
|
+
};
|
|
20
|
+
export declare function urlPaths(style: UrlStyle): UrlPaths;
|
|
21
|
+
//# sourceMappingURL=url-style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-style.d.ts","sourceRoot":"","sources":["../../src/site/url-style.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG;IAAE,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;CAAE,CAAC;AAE3D,+EAA+E;AAC/E,eAAO,MAAM,aAAa,QAAQ,CAAC;AAInC,MAAM,MAAM,QAAQ,GAAG;IACtB,qEAAqE;IACrE,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CACvC,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAWlD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** The folder under which a static export serves each page's Markdown copy. */
|
|
2
|
+
export const MARKDOWN_ROOT = "/md";
|
|
3
|
+
const trimSlash = (path) => path.replace(/\/$/, "");
|
|
4
|
+
export function urlPaths(style) {
|
|
5
|
+
const page = (path) => {
|
|
6
|
+
if (path === "/")
|
|
7
|
+
return path;
|
|
8
|
+
return style.trailingSlash ? `${trimSlash(path)}/` : trimSlash(path);
|
|
9
|
+
};
|
|
10
|
+
const markdownPath = (pagePath) => {
|
|
11
|
+
if (!style.trailingSlash)
|
|
12
|
+
return `${trimSlash(pagePath)}/md`;
|
|
13
|
+
const bare = trimSlash(pagePath);
|
|
14
|
+
return `${MARKDOWN_ROOT}${bare === "" ? "/index" : bare}.md`;
|
|
15
|
+
};
|
|
16
|
+
return { page, markdownPath };
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=url-style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-style.js","sourceRoot":"","sources":["../../src/site/url-style.ts"],"names":[],"mappings":"AAOA,+EAA+E;AAC/E,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC;AAEnC,MAAM,SAAS,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAYpE,MAAM,UAAU,QAAQ,CAAC,KAAe;IACvC,MAAM,IAAI,GAAG,CAAC,IAAY,EAAU,EAAE;QACrC,IAAI,IAAI,KAAK,GAAG;YAAE,OAAO,IAAI,CAAC;QAC9B,OAAO,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACtE,CAAC,CAAC;IACF,MAAM,YAAY,GAAG,CAAC,QAAgB,EAAU,EAAE;QACjD,IAAI,CAAC,KAAK,CAAC,aAAa;YAAE,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC7D,MAAM,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;QACjC,OAAO,GAAG,aAAa,GAAG,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC;IAC9D,CAAC,CAAC;IACF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import { type Action } from "./parts.js";
|
|
3
|
+
type Plan = {
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly price: string;
|
|
6
|
+
readonly period?: string;
|
|
7
|
+
readonly description?: string;
|
|
8
|
+
readonly features: readonly string[];
|
|
9
|
+
readonly action: Action;
|
|
10
|
+
/** The plan to point a visitor at; it gets the brand's border. */
|
|
11
|
+
readonly highlight?: boolean;
|
|
12
|
+
};
|
|
13
|
+
/** Plans side by side. Prices are text, so the content says the currency and the terms. */
|
|
14
|
+
export declare function Pricing({ title, intro, plans, }: {
|
|
15
|
+
readonly title?: string;
|
|
16
|
+
readonly intro?: string;
|
|
17
|
+
readonly plans: readonly Plan[];
|
|
18
|
+
}): ReactElement;
|
|
19
|
+
/**
|
|
20
|
+
* Questions and answers, each open on click, with the same list as FAQPage structured data, so
|
|
21
|
+
* the markup never says what the page does not.
|
|
22
|
+
*/
|
|
23
|
+
export declare function Faq({ title, items, }: {
|
|
24
|
+
readonly title?: string;
|
|
25
|
+
readonly items: ReadonlyArray<{
|
|
26
|
+
readonly q: string;
|
|
27
|
+
readonly a: string;
|
|
28
|
+
}>;
|
|
29
|
+
}): ReactElement;
|
|
30
|
+
/**
|
|
31
|
+
* How to reach the people behind the site. A static site has no server for a form, so it is a
|
|
32
|
+
* set of links the visitor's own mail and phone apps open.
|
|
33
|
+
*/
|
|
34
|
+
export declare function Contact({ title, email, phone, address, }: {
|
|
35
|
+
readonly title?: string;
|
|
36
|
+
readonly email?: string;
|
|
37
|
+
readonly phone?: string;
|
|
38
|
+
readonly address?: string;
|
|
39
|
+
}): ReactElement;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=commerce.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commerce.d.ts","sourceRoot":"","sources":["../../../src/website/blocks/commerce.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,KAAK,MAAM,EAAuB,MAAM,YAAY,CAAC;AAE9D,KAAK,IAAI,GAAG;IACX,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAqBF,2FAA2F;AAC3F,wBAAgB,OAAO,CAAC,EACvB,KAAK,EACL,KAAK,EACL,KAAK,GACL,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;CAChC,GAAG,YAAY,CAUf;AAED;;;GAGG;AACH,wBAAgB,GAAG,CAAC,EACnB,KAAK,EACL,KAAK,GACL,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC1E,GAAG,YAAY,CAcf;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EACvB,KAAK,EACL,KAAK,EACL,KAAK,EACL,OAAO,GACP,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC1B,GAAG,YAAY,CAsBf"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { faqNode } from "../../seo/article.js";
|
|
3
|
+
import { JsonLd } from "../../seo/json-ld.js";
|
|
4
|
+
import { ActionLink, Section } from "./parts.js";
|
|
5
|
+
function PlanCard({ plan }) {
|
|
6
|
+
return (_jsxs("li", { className: plan.highlight ? "site-card site-card-highlight" : "site-card", children: [_jsx("h3", { className: "site-card-title", children: plan.name }), _jsxs("p", { className: "site-price", children: [plan.price, plan.period ? _jsxs("span", { className: "site-card-text", children: [" ", plan.period] }) : null] }), plan.description ? _jsx("p", { className: "site-card-text", children: plan.description }) : null, _jsx("ul", { className: "site-card-text my-4 flex flex-col gap-1", children: plan.features.map((feature) => (_jsx("li", { children: feature }, feature))) }), _jsx(ActionLink, { action: plan.action, secondary: !plan.highlight })] }));
|
|
7
|
+
}
|
|
8
|
+
/** Plans side by side. Prices are text, so the content says the currency and the terms. */
|
|
9
|
+
export function Pricing({ title, intro, plans, }) {
|
|
10
|
+
return (_jsx(Section, { name: "Pricing", title: title, intro: intro, children: _jsx("ul", { className: "grid gap-6 md:grid-cols-3", children: plans.map((plan) => (_jsx(PlanCard, { plan: plan }, plan.name))) }) }));
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Questions and answers, each open on click, with the same list as FAQPage structured data, so
|
|
14
|
+
* the markup never says what the page does not.
|
|
15
|
+
*/
|
|
16
|
+
export function Faq({ title, items, }) {
|
|
17
|
+
return (_jsxs(Section, { name: "Faq", title: title, children: [_jsx(JsonLd, { json: JSON.stringify(faqNode(items)) }), _jsx("div", { className: "flex flex-col gap-3", children: items.map((item) => (_jsxs("details", { className: "site-card", children: [_jsx("summary", { className: "site-card-title cursor-pointer", children: item.q }), _jsx("p", { className: "site-card-text mt-2", children: item.a })] }, item.q))) })] }));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* How to reach the people behind the site. A static site has no server for a form, so it is a
|
|
21
|
+
* set of links the visitor's own mail and phone apps open.
|
|
22
|
+
*/
|
|
23
|
+
export function Contact({ title, email, phone, address, }) {
|
|
24
|
+
return (_jsx(Section, { name: "Contact", title: title, children: _jsxs("ul", { className: "site-card flex flex-col gap-2", children: [email ? (_jsx("li", { children: _jsx("a", { href: `mailto:${email}`, className: "site-text-link", children: email }) })) : null, phone ? (_jsx("li", { children: _jsx("a", { href: `tel:${phone.replace(/\s+/g, "")}`, className: "site-text-link", children: phone }) })) : null, address ? _jsx("li", { className: "site-card-text", children: address }) : null] }) }));
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=commerce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commerce.js","sourceRoot":"","sources":["../../../src/website/blocks/commerce.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAe,UAAU,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAa9D,SAAS,QAAQ,CAAC,EAAE,IAAI,EAA2B;IAClD,OAAO,CACN,cAAI,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,WAAW,aAC5E,aAAI,SAAS,EAAC,iBAAiB,YAAE,IAAI,CAAC,IAAI,GAAM,EAChD,aAAG,SAAS,EAAC,YAAY,aACvB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,gBAAM,SAAS,EAAC,gBAAgB,kBAAG,IAAI,CAAC,MAAM,IAAQ,CAAC,CAAC,CAAC,IAAI,IACzE,EACH,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,gBAAgB,YAAE,IAAI,CAAC,WAAW,GAAK,CAAC,CAAC,CAAC,IAAI,EAC/E,aAAI,SAAS,EAAC,yCAAyC,YACrD,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC/B,uBAAmB,OAAO,IAAjB,OAAO,CAAgB,CAChC,CAAC,GACE,EACL,KAAC,UAAU,IAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,IAAI,CAAC,SAAS,GAAI,IAC3D,CACL,CAAC;AACH,CAAC;AAED,2FAA2F;A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AAE,SAAS,EAAC,gBAAgB,YACpD,KAAK,GACH,GACA,CACL,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,CACR,uBACC,YAAG,IAAI,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,EAAE,SAAS,EAAC,gBAAgB,YACrE,KAAK,GACH,GACA,CACL,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,CAAC,CAAC,CAAC,aAAI,SAAS,EAAC,gBAAgB,YAAE,OAAO,GAAM,CAAC,CAAC,CAAC,IAAI,IAC3D,GACI,CACV,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from "react";
|
|
2
|
+
import { type BlockImage } from "./parts.js";
|
|
3
|
+
type Item = {
|
|
4
|
+
readonly title: string;
|
|
5
|
+
readonly text: string;
|
|
6
|
+
};
|
|
7
|
+
/** What the product or service offers, as a grid of short cards. */
|
|
8
|
+
export declare function FeatureGrid({ title, intro, items, }: {
|
|
9
|
+
readonly title?: string;
|
|
10
|
+
readonly intro?: string;
|
|
11
|
+
readonly items: readonly Item[];
|
|
12
|
+
}): ReactElement;
|
|
13
|
+
/**
|
|
14
|
+
* Numbered steps. With `items` it is a website block: a band of numbered cards. With children it
|
|
15
|
+
* is the docs form, fumadocs' Steps, so one name serves both kinds of page.
|
|
16
|
+
*/
|
|
17
|
+
export declare function Steps({ title, items, children, }: {
|
|
18
|
+
readonly title?: string;
|
|
19
|
+
readonly items?: readonly Item[];
|
|
20
|
+
readonly children?: ReactNode;
|
|
21
|
+
}): ReactElement;
|
|
22
|
+
/** What customers say, each quote with the person who said it. */
|
|
23
|
+
export declare function Testimonials({ title, items, }: {
|
|
24
|
+
readonly title?: string;
|
|
25
|
+
readonly items: ReadonlyArray<{
|
|
26
|
+
readonly quote: string;
|
|
27
|
+
readonly name: string;
|
|
28
|
+
readonly role?: string;
|
|
29
|
+
}>;
|
|
30
|
+
}): ReactElement;
|
|
31
|
+
/** The people behind the site, each with a role and an optional photo. */
|
|
32
|
+
export declare function Team({ title, members, }: {
|
|
33
|
+
readonly title?: string;
|
|
34
|
+
readonly members: ReadonlyArray<{
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly role: string;
|
|
37
|
+
readonly image?: BlockImage;
|
|
38
|
+
}>;
|
|
39
|
+
}): ReactElement;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/website/blocks/content.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,KAAK,UAAU,EAAW,MAAM,YAAY,CAAC;AAEtD,KAAK,IAAI,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,oEAAoE;AACpE,wBAAgB,WAAW,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,KAAK,GACL,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;CAChC,GAAG,YAAY,CAaf;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,EACrB,KAAK,EACL,KAAK,EACL,QAAQ,GACR,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,IAAI,EAAE,CAAC;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC9B,GAAG,YAAY,CAef;AAED,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,EAC5B,KAAK,EACL,KAAK,GACL,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACzG,GAAG,YAAY,CAkBf;AAED,0EAA0E;AAC1E,wBAAgB,IAAI,CAAC,EACpB,KAAK,EACL,OAAO,GACP,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CAC/G,GAAG,YAAY,CAef"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Steps as StepsColumn } from "fumadocs-ui/components/steps";
|
|
3
|
+
import { Section } from "./parts.js";
|
|
4
|
+
/** What the product or service offers, as a grid of short cards. */
|
|
5
|
+
export function FeatureGrid({ title, intro, items, }) {
|
|
6
|
+
return (_jsx(Section, { name: "FeatureGrid", title: title, intro: intro, children: _jsx("ul", { className: "grid gap-6 md:grid-cols-2 lg:grid-cols-3", children: items.map((item) => (_jsxs("li", { className: "site-card", children: [_jsx("h3", { className: "site-card-title", children: item.title }), _jsx("p", { className: "site-card-text", children: item.text })] }, item.title))) }) }));
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Numbered steps. With `items` it is a website block: a band of numbered cards. With children it
|
|
10
|
+
* is the docs form, fumadocs' Steps, so one name serves both kinds of page.
|
|
11
|
+
*/
|
|
12
|
+
export function Steps({ title, items, children, }) {
|
|
13
|
+
if (!items)
|
|
14
|
+
return _jsx(StepsColumn, { children: children });
|
|
15
|
+
return (_jsx(Section, { name: "Steps", title: title, children: _jsx("ol", { className: "grid gap-6 md:grid-cols-3", children: items.map((item, index) => (_jsxs("li", { className: "site-card", children: [_jsx("span", { className: "site-step-number", children: index + 1 }), _jsx("h3", { className: "site-card-title", children: item.title }), _jsx("p", { className: "site-card-text", children: item.text })] }, item.title))) }) }));
|
|
16
|
+
}
|
|
17
|
+
/** What customers say, each quote with the person who said it. */
|
|
18
|
+
export function Testimonials({ title, items, }) {
|
|
19
|
+
return (_jsx(Section, { name: "Testimonials", title: title, children: _jsx("ul", { className: "grid gap-6 md:grid-cols-2", children: items.map((item) => (_jsx("li", { children: _jsxs("figure", { className: "site-card", children: [_jsx("blockquote", { className: "site-quote", children: item.quote }), _jsxs("figcaption", { className: "site-card-text", children: [item.name, item.role ? `, ${item.role}` : ""] })] }) }, item.name))) }) }));
|
|
20
|
+
}
|
|
21
|
+
/** The people behind the site, each with a role and an optional photo. */
|
|
22
|
+
export function Team({ title, members, }) {
|
|
23
|
+
return (_jsx(Section, { name: "Team", title: title, children: _jsx("ul", { className: "grid grid-cols-2 gap-6 md:grid-cols-4", children: members.map((member) => (_jsxs("li", { className: "site-card", children: [member.image ? _jsx("img", { src: member.image.src, alt: member.image.alt, className: "site-avatar" }) : null, _jsx("h3", { className: "site-card-title", children: member.name }), _jsx("p", { className: "site-card-text", children: member.role })] }, member.name))) }) }));
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../src/website/blocks/content.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,EAAmB,OAAO,EAAE,MAAM,YAAY,CAAC;AAItD,oEAAoE;AACp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|
3
|
+
/** The opening band of a page: the headline, one line under it, up to two actions and an image. */
|
|
4
|
+
export declare function Hero({ title, subtitle, primary, secondary, image, }: {
|
|
5
|
+
readonly title: string;
|
|
6
|
+
readonly subtitle?: string;
|
|
7
|
+
readonly primary?: Action;
|
|
8
|
+
readonly secondary?: Action;
|
|
9
|
+
readonly image?: BlockImage;
|
|
10
|
+
}): ReactElement;
|
|
11
|
+
/** A closing band that asks for one action. */
|
|
12
|
+
export declare function CallToAction({ title, text, action, }: {
|
|
13
|
+
readonly title: string;
|
|
14
|
+
readonly text?: string;
|
|
15
|
+
readonly action: Action;
|
|
16
|
+
}): ReactElement;
|
|
17
|
+
/** The logos of customers or partners, each with its alt text and an optional link. */
|
|
18
|
+
export declare function LogoCloud({ title, logos, }: {
|
|
19
|
+
readonly title?: string;
|
|
20
|
+
readonly logos: ReadonlyArray<BlockImage & {
|
|
21
|
+
readonly href?: string;
|
|
22
|
+
}>;
|
|
23
|
+
}): ReactElement;
|
|
24
|
+
/** A row of figures, each a value and what it counts. */
|
|
25
|
+
export declare function Stats({ title, items, }: {
|
|
26
|
+
readonly title?: string;
|
|
27
|
+
readonly items: ReadonlyArray<{
|
|
28
|
+
readonly value: string;
|
|
29
|
+
readonly label: string;
|
|
30
|
+
}>;
|
|
31
|
+
}): ReactElement;
|
|
32
|
+
//# sourceMappingURL=marketing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketing.d.ts","sourceRoot":"","sources":["../../../src/website/blocks/marketing.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,KAAK,MAAM,EAAc,KAAK,UAAU,EAAW,MAAM,YAAY,CAAC;AAE/E,mGAAmG;AACnG,wBAAgB,IAAI,CAAC,EACpB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,SAAS,EACT,KAAK,GACL,EAAE;IACF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;CAC5B,GAAG,YAAY,CAmBf;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,CAAC,EAC5B,KAAK,EACL,IAAI,EACJ,MAAM,GACN,EAAE;IACF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACxB,GAAG,YAAY,CAYf;AAED,uFAAuF;AACvF,wBAAgB,SAAS,CAAC,EACzB,KAAK,EACL,KAAK,GACL,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,UAAU,GAAG;QAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACvE,GAAG,YAAY,CAYf;AAED,yDAAyD;AACzD,wBAAgB,KAAK,CAAC,EACrB,KAAK,EACL,KAAK,GACL,EAAE;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClF,GAAG,YAAY,CAaf"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ActionLink, Section } from "./parts.js";
|
|
3
|
+
/** The opening band of a page: the headline, one line under it, up to two actions and an image. */
|
|
4
|
+
export function Hero({ title, subtitle, primary, secondary, image, }) {
|
|
5
|
+
return (_jsx("section", { className: "site-block site-hero", "data-block": "Hero", children: _jsxs("div", { className: "site-container grid items-center gap-10 md:grid-cols-2", children: [_jsxs("div", { children: [_jsx("h1", { className: "site-hero-title", children: title }), subtitle ? _jsx("p", { className: "site-hero-subtitle", children: subtitle }) : null, primary || secondary ? (_jsxs("div", { className: "mt-8 flex flex-wrap gap-3", children: [primary ? _jsx(ActionLink, { action: primary }) : null, secondary ? _jsx(ActionLink, { action: secondary, secondary: true }) : null] })) : null] }), image ? _jsx("img", { src: image.src, alt: image.alt, className: "site-card w-full" }) : null] }) }));
|
|
6
|
+
}
|
|
7
|
+
/** A closing band that asks for one action. */
|
|
8
|
+
export function CallToAction({ title, text, action, }) {
|
|
9
|
+
return (_jsx(Section, { name: "CallToAction", children: _jsxs("div", { className: "site-card site-cta flex flex-col items-start gap-4 md:flex-row md:items-center md:justify-between", children: [_jsxs("div", { children: [_jsx("h2", { className: "site-block-title", children: title }), text ? _jsx("p", { className: "site-block-intro", children: text }) : null] }), _jsx(ActionLink, { action: action })] }) }));
|
|
10
|
+
}
|
|
11
|
+
/** The logos of customers or partners, each with its alt text and an optional link. */
|
|
12
|
+
export function LogoCloud({ title, logos, }) {
|
|
13
|
+
return (_jsx(Section, { name: "LogoCloud", title: title, children: _jsx("ul", { className: "flex flex-wrap items-center justify-center gap-10", children: logos.map((logo) => {
|
|
14
|
+
// biome-ignore lint/performance/noImgElement: static export, images ship as they are
|
|
15
|
+
const img = _jsx("img", { src: logo.src, alt: logo.alt, className: "site-logo" });
|
|
16
|
+
return _jsx("li", { children: logo.href ? _jsx("a", { href: logo.href, children: img }) : img }, logo.src);
|
|
17
|
+
}) }) }));
|
|
18
|
+
}
|
|
19
|
+
/** A row of figures, each a value and what it counts. */
|
|
20
|
+
export function Stats({ title, items, }) {
|
|
21
|
+
return (_jsx(Section, { name: "Stats", title: title, children: _jsx("dl", { className: "grid grid-cols-2 gap-6 md:grid-cols-4", children: items.map((item) => (_jsxs("div", { className: "site-card", children: [_jsx("dt", { className: "site-stat-label", children: item.label }), _jsx("dd", { className: "site-stat-value", children: item.value })] }, item.label))) }) }));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=marketing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketing.js","sourceRoot":"","sources":["../../../src/website/blocks/marketing.tsx"],"names":[],"mappings":";AACA,OAAO,EAAe,UAAU,EAAmB,OAAO,EAAE,MAAM,YAAY,CAAC;AAE/E,mGAAmG;AACnG,MAAM,UAAU,IAAI,CAAC,EACpB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,SAAS,EACT,KAAK,GAOL;IACA,OAAO,CACN,kBAAS,SAAS,EAAC,sBAAsB,gBAAY,MAAM,YAC1D,eAAK,SAAS,EAAC,wDAAwD,aACtE,0BACC,aAAI,SAAS,EAAC,iBAAiB,YAAE,KAAK,GAAM,EAC3C,QAAQ,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,oBAAoB,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,EAClE,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,CACvB,eAAK,SAAS,EAAC,2BAA2B,aACxC,OAAO,CAAC,CAAC,CAAC,KAAC,UAAU,IAAC,MAAM,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,EAChD,SAAS,CAAC,CAAC,CAAC,KAAC,UAAU,IAAC,MAAM,EAAE,SAAS,EAAE,SAAS,SAAG,CAAC,CAAC,CAAC,IAAI,IAC1D,CACN,CAAC,CAAC,CAAC,IAAI,IACH,EAEL,KAAK,CAAC,CAAC,CAAC,cAAK,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,IAC/E,GACG,CACV,CAAC;AACH,CAAC;AAED,+CAA+C;AAC/C,MAAM,UAAU,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ACpB,eAAsB,SAAS,EAAC,WAAW,aAC1C,aAAI,SAAS,EAAC,iBAAiB,YAAE,IAAI,CAAC,KAAK,GAAM,EACjD,aAAI,SAAS,EAAC,iBAAiB,YAAE,IAAI,CAAC,KAAK,GAAM,KAFxC,IAAI,CAAC,KAAK,CAGd,CACN,CAAC,GACE,GACI,CACV,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from "react";
|
|
2
|
+
/** A link a block shows as a button. */
|
|
3
|
+
export type Action = {
|
|
4
|
+
readonly label: string;
|
|
5
|
+
readonly href: string;
|
|
6
|
+
};
|
|
7
|
+
/** An image a block shows: a path in the site's `public/` folder or an absolute URL. */
|
|
8
|
+
export type BlockImage = {
|
|
9
|
+
readonly src: string;
|
|
10
|
+
readonly alt: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The frame of every block: a full-width band with the content in the site container, a heading
|
|
14
|
+
* when the block has a title, and a `data-block` name that tests and the site's own CSS can find.
|
|
15
|
+
*/
|
|
16
|
+
export declare function Section({ name, title, intro, children, }: {
|
|
17
|
+
readonly name: string;
|
|
18
|
+
readonly title?: string;
|
|
19
|
+
readonly intro?: string;
|
|
20
|
+
readonly children: ReactNode;
|
|
21
|
+
}): ReactElement;
|
|
22
|
+
export declare function ActionLink({ action, secondary, }: {
|
|
23
|
+
readonly action: Action;
|
|
24
|
+
readonly secondary?: boolean;
|
|
25
|
+
}): ReactElement;
|
|
26
|
+
//# sourceMappingURL=parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../src/website/blocks/parts.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,wCAAwC;AACxC,MAAM,MAAM,MAAM,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE,wFAAwF;AACxF,MAAM,MAAM,UAAU,GAAG;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,KAAK,EACL,QAAQ,GACR,EAAE;IACF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC7B,GAAG,YAAY,CAUf;AAED,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,SAAiB,GACjB,EAAE;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC7B,GAAG,YAAY,CAMf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Link from "next/link";
|
|
3
|
+
/**
|
|
4
|
+
* The frame of every block: a full-width band with the content in the site container, a heading
|
|
5
|
+
* when the block has a title, and a `data-block` name that tests and the site's own CSS can find.
|
|
6
|
+
*/
|
|
7
|
+
export function Section({ name, title, intro, children, }) {
|
|
8
|
+
return (_jsx("section", { className: "site-block", "data-block": name, children: _jsxs("div", { className: "site-container", children: [title ? _jsx("h2", { className: "site-block-title", children: title }) : null, intro ? _jsx("p", { className: "site-block-intro", children: intro }) : null, children] }) }));
|
|
9
|
+
}
|
|
10
|
+
export function ActionLink({ action, secondary = false, }) {
|
|
11
|
+
return (_jsx(Link, { href: action.href, className: secondary ? "site-button site-button-secondary" : "site-button", children: action.label }));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=parts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts.js","sourceRoot":"","sources":["../../../src/website/blocks/parts.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAS7B;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,KAAK,EACL,QAAQ,GAMR;IACA,OAAO,CACN,kBAAS,SAAS,EAAC,YAAY,gBAAa,IAAI,YAC/C,eAAK,SAAS,EAAC,gBAAgB,aAC7B,KAAK,CAAC,CAAC,CAAC,aAAI,SAAS,EAAC,kBAAkB,YAAE,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EAC5D,KAAK,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,kBAAkB,YAAE,KAAK,GAAK,CAAC,CAAC,CAAC,IAAI,EAC1D,QAAQ,IACJ,GACG,CACV,CAAC;AACH,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,EAC1B,MAAM,EACN,SAAS,GAAG,KAAK,GAIjB;IACA,OAAO,CACN,KAAC,IAAI,IAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,aAAa,YACjG,MAAM,CAAC,KAAK,GACP,CACP,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { MDXComponents } from "mdx/types";
|
|
2
|
+
import type { ReactElement } from "react";
|
|
3
|
+
import type { PageEntry } from "../site/sources.js";
|
|
4
|
+
/**
|
|
5
|
+
* A website page: its MDX, which is mostly blocks. A block draws its own full-width band; plain
|
|
6
|
+
* Markdown between blocks sits in the container (`.site-website > :not(.site-block)`).
|
|
7
|
+
*/
|
|
8
|
+
export declare function WebsitePageView({ entry, components, }: {
|
|
9
|
+
readonly entry: PageEntry;
|
|
10
|
+
readonly components: MDXComponents;
|
|
11
|
+
}): ReactElement;
|
|
12
|
+
//# sourceMappingURL=page-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-view.d.ts","sourceRoot":"","sources":["../../src/website/page-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC/B,KAAK,EACL,UAAU,GACV,EAAE;IACF,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;CACnC,GAAG,YAAY,CAOf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* A website page: its MDX, which is mostly blocks. A block draws its own full-width band; plain
|
|
4
|
+
* Markdown between blocks sits in the container (`.site-website > :not(.site-block)`).
|
|
5
|
+
*/
|
|
6
|
+
export function WebsitePageView({ entry, components, }) {
|
|
7
|
+
const Body = entry.body;
|
|
8
|
+
return (_jsx("div", { className: "site-website flex-1", "data-page": entry.slug || "index", children: _jsx(Body, { components: components }) }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=page-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-view.js","sourceRoot":"","sources":["../../src/website/page-view.tsx"],"names":[],"mappings":";AAIA;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,EAC/B,KAAK,EACL,UAAU,GAIV;IACA,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;IACxB,OAAO,CACN,cAAK,SAAS,EAAC,qBAAqB,eAAY,KAAK,CAAC,IAAI,IAAI,OAAO,YACpE,KAAC,IAAI,IAAC,UAAU,EAAE,UAAU,GAAI,GAC3B,CACN,CAAC;AACH,CAAC"}
|
package/dist/zod.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The zod the engine's schemas are built with. A site that adds its own frontmatter fields builds
|
|
3
|
+
* them with this one: a schema spreads the engine's fields into its own object, and two zod
|
|
4
|
+
* copies (or two majors) in one object break at parse time. It also means a site never needs a
|
|
5
|
+
* zod of its own, whose version could disagree with fumadocs' peer range.
|
|
6
|
+
*/
|
|
7
|
+
export { z } from "zod";
|
|
8
|
+
//# sourceMappingURL=zod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../src/zod.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"}
|
package/dist/zod.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The zod the engine's schemas are built with. A site that adds its own frontmatter fields builds
|
|
3
|
+
* them with this one: a schema spreads the engine's fields into its own object, and two zod
|
|
4
|
+
* copies (or two majors) in one object break at parse time. It also means a site never needs a
|
|
5
|
+
* zod of its own, whose version could disagree with fumadocs' peer range.
|
|
6
|
+
*/
|
|
7
|
+
export { z } from "zod";
|
|
8
|
+
//# sourceMappingURL=zod.js.map
|
package/dist/zod.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zod.js","sourceRoot":"","sources":["../src/zod.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"}
|