Skip to content

Commit

Permalink
project description fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kalidiagne committed Sep 19, 2024
1 parent c97770d commit 13104e6
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions app/[lang]/projects/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,20 +156,18 @@ export default async function ProjectDetailPage({ params }: PageProps) {

<div className="flex flex-col w-full gap-6 mt-6 md:mt-10">
<div className="flex flex-col w-full gap-4 text-base font-normal leading-relaxed">
{typeof currProject?.description === "string" && (
<Markdown
components={{
p: ({ node, ...props }) =>
createMarkdownElement("p", {
className:
"text-tuatara-700 font-sans text-lg font-normal",
...props,
}),
}}
>
{projectTranslation("description")}
</Markdown>
)}
<Markdown
components={{
p: ({ node, ...props }) =>
createMarkdownElement("p", {
className:
"text-tuatara-700 font-sans text-lg font-normal",
...props,
}),
}}
>
{projectTranslation("description")}
</Markdown>
<ProjectTags project={currProject} lang={lang} />
</div>
<ProjectExtraLinks project={currProject} lang={lang} />
Expand Down

0 comments on commit 13104e6

Please sign in to comment.