{children}
diff --git a/Frontend/src/mdx-components.tsx b/Frontend/src/mdx-components.tsx
index 107f5c3..eece960 100644
--- a/Frontend/src/mdx-components.tsx
+++ b/Frontend/src/mdx-components.tsx
@@ -1,10 +1,20 @@
-import type { MDXComponents } from "mdx/types";
+import { ReactElement, ReactNode } from "react";
+import { MDXRemote } from "remote-mdx/rsc";
-export const useMDXComponents = (components: MDXComponents): MDXComponents => {
- return {
- h1: ({ children }) => (
-
{children}
- ),
- ...components,
- };
+const components: any = {
+ h1: ({ children }: { children: ReactNode }) => (
+ {children}
+ ),
+};
+
+export const CustomMDX = (props: any): ReactElement => {
+ return (
+
+ );
};
diff --git a/Frontend/tailwind.config.ts b/Frontend/tailwind.config.ts
index b6750b8..a894293 100644
--- a/Frontend/tailwind.config.ts
+++ b/Frontend/tailwind.config.ts
@@ -4,7 +4,7 @@ const { screens } = require("tailwindcss/defaultTheme");
const config = {
darkMode: ["class"],
- content: ["./src/app/**/*.{ts,tsx,mdx}"],
+ content: ["./src/app/**/*.{ts,tsx}"],
theme: {
container: {
center: true,