aboutsummaryrefslogtreecommitdiff
path: root/src/utils/schemas/websiteSchema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/schemas/websiteSchema.ts')
-rw-r--r--src/utils/schemas/websiteSchema.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/utils/schemas/websiteSchema.ts b/src/utils/schemas/websiteSchema.ts
deleted file mode 100644
index b971e5e..0000000
--- a/src/utils/schemas/websiteSchema.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { WithContext, WebSite } from "schema-dts";
-
-export type WebsiteSchemaParams = {
- readonly description: string;
- readonly siteUrl: string;
- readonly title: string;
-};
-
-export default ({ siteUrl, title, description }: WebsiteSchemaParams): WithContext<WebSite> => ({
- "@context": "https://schema.org",
- "@type": "WebSite",
- "url": new URL("/", siteUrl).toString(),
- "name": title,
- "description": description,
-});