From d83828e64b402d333d16450ff7fb53669b849faf Mon Sep 17 00:00:00 2001 From: Richard Poelderl Date: Fri, 1 Nov 2024 18:19:00 +0100 Subject: [PATCH] remove `intro` from glossary pages --- apps/www/app/glossary/[slug]/page.tsx | 3 --- apps/www/content-collections.ts | 1 - apps/www/content/glossary/mime-types.mdx | 1 - 3 files changed, 5 deletions(-) diff --git a/apps/www/app/glossary/[slug]/page.tsx b/apps/www/app/glossary/[slug]/page.tsx index 6590715495..9de4b1e86f 100644 --- a/apps/www/app/glossary/[slug]/page.tsx +++ b/apps/www/app/glossary/[slug]/page.tsx @@ -175,9 +175,6 @@ const GlossaryTermWrapper = async ({ params }: { params: { slug: string } }) =>

{term.h1}

-

- {term.intro} -

diff --git a/apps/www/content-collections.ts b/apps/www/content-collections.ts index 5d075fb1de..13f8f483ae 100644 --- a/apps/www/content-collections.ts +++ b/apps/www/content-collections.ts @@ -112,7 +112,6 @@ const glossary = defineCollection({ schema: (z) => ({ title: z.string(), description: z.string(), - intro: z.string(), h1: z.string(), term: z.string(), categories: z.array(categoryEnum), diff --git a/apps/www/content/glossary/mime-types.mdx b/apps/www/content/glossary/mime-types.mdx index a42590ec45..ec7f1c70c9 100644 --- a/apps/www/content/glossary/mime-types.mdx +++ b/apps/www/content/glossary/mime-types.mdx @@ -3,7 +3,6 @@ title: "MIME Types Explained" description: "Learn about MIME types in API development. Understand their role in defining file formats like images and PDFs. Explore our glossary for more insights." term: "MIME Types" h1: "What are MIME Types? Format IDs Explained" -intro: "MIME types are essential identifiers in digital communication, specifying the nature and format of data. They play a crucial role in web development and API interactions, ensuring that information is correctly interpreted and displayed across various platforms and applications." categories: ["api-specification"] takeaways: tldr: "Crucial identifiers in digital communication, especially APIs. They specify data format, ensuring correct interpretation and interoperability."