diff --git a/components/playground.tsx b/components/playground.tsx index 5a417969..f292f73a 100644 --- a/components/playground.tsx +++ b/components/playground.tsx @@ -13,22 +13,22 @@ import AltTab, { import Name, { metadata as nameOrganizedContentMetadata, -} from "../content/playground/constitution/name.organized-content.mdx"; +} from "../content/playground/constitution/name.section.mdx"; import Purpose, { metadata as purposeOrganizedContentMetadata, -} from "../content/playground/constitution/purpose.organized-content.mdx"; +} from "../content/playground/constitution/purpose.section.mdx"; import Membership, { metadata as membershipOrganizedContentMetadata, -} from "../content/playground/constitution/membership.organized-content.mdx"; +} from "../content/playground/constitution/membership.section.mdx"; import Officers, { metadata as officersOrganizedContentMetadata, -} from "../content/playground/constitution/officers.organized-content.mdx"; +} from "../content/playground/constitution/officers.section.mdx"; import Duties, { metadata as dutiesOrganizedContentMetadata, -} from "../content/playground/constitution/duties-of-officers.organized-content.mdx"; +} from "../content/playground/constitution/duties-of-officers.section.mdx"; import ExecutiveCouncil, { metadata as executiveCouncilOrganizedContentMetadata, -} from "../content/playground/constitution/executive-council.organized-content.mdx"; +} from "../content/playground/constitution/executive-council.section.mdx"; import UnavailableContent, { metadata as unavailableMetadata, diff --git a/content/playground/constitution/duties-of-officers.organized-content.mdx b/content/playground/constitution/duties-of-officers.section.mdx similarity index 100% rename from content/playground/constitution/duties-of-officers.organized-content.mdx rename to content/playground/constitution/duties-of-officers.section.mdx diff --git a/content/playground/constitution/executive-council.organized-content.mdx b/content/playground/constitution/executive-council.section.mdx similarity index 100% rename from content/playground/constitution/executive-council.organized-content.mdx rename to content/playground/constitution/executive-council.section.mdx diff --git a/content/playground/constitution/membership.organized-content.mdx b/content/playground/constitution/membership.section.mdx similarity index 100% rename from content/playground/constitution/membership.organized-content.mdx rename to content/playground/constitution/membership.section.mdx diff --git a/content/playground/constitution/name.organized-content.mdx b/content/playground/constitution/name.section.mdx similarity index 100% rename from content/playground/constitution/name.organized-content.mdx rename to content/playground/constitution/name.section.mdx diff --git a/content/playground/constitution/officers.organized-content.mdx b/content/playground/constitution/officers.section.mdx similarity index 100% rename from content/playground/constitution/officers.organized-content.mdx rename to content/playground/constitution/officers.section.mdx diff --git a/content/playground/constitution/purpose.organized-content.mdx b/content/playground/constitution/purpose.section.mdx similarity index 100% rename from content/playground/constitution/purpose.organized-content.mdx rename to content/playground/constitution/purpose.section.mdx diff --git a/next-env.d.ts b/next-env.d.ts index e5f0d934..cdebab18 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -49,16 +49,16 @@ declare module "*.team-member.mdx" { export default ReactComponent; } -declare module "*.organized-content.mdx" { +declare module "*.section.mdx" { import { ComponentType } from "react"; - interface OrganizedContentMetadata { + interface SectionMetadata { title: string; id: string; } const ReactComponent: ComponentType; - export const metadata: OrganizedContentMetadata; + export const metadata: SectionMetadata; export default ReactComponent; }