Skip to content

Commit

Permalink
Merge pull request #196 from privacy-scaling-explorations/fix-project…
Browse files Browse the repository at this point in the history
…-description

project description fix
  • Loading branch information
kalidiagne authored Sep 20, 2024
2 parents c97770d + 13104e6 commit 898f879
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 898f879

Please sign in to comment.