mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update page.tsx
This commit is contained in:
parent
b9c4ff3f6f
commit
1311c366ce
@ -7,6 +7,7 @@ import matter from "gray-matter"
|
|||||||
import dynamic from "next/dynamic"
|
import dynamic from "next/dynamic"
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import parse from "html-react-parser"
|
import parse from "html-react-parser"
|
||||||
|
import Footer2 from "@/components/footer2"
|
||||||
|
|
||||||
const CopyableCode = dynamic(() => import("@/components/CopyableCode"), { ssr: false })
|
const CopyableCode = dynamic(() => import("@/components/CopyableCode"), { ssr: false })
|
||||||
|
|
||||||
@ -96,6 +97,7 @@ export default async function GuidePage({ params }: { params: { slug: string } }
|
|||||||
{metadata?.description && <p className="text-lg text-gray-700 mb-8">{metadata.description}</p>}
|
{metadata?.description && <p className="text-lg text-gray-700 mb-8">{metadata.description}</p>}
|
||||||
<div className="prose max-w-none text-[16px]">{parsedContent}</div>
|
<div className="prose max-w-none text-[16px]">{parsedContent}</div>
|
||||||
</div>
|
</div>
|
||||||
|
<Footer2 />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user