Skip to content

Commit

Permalink
fix: add missing text header for description
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldElysium committed Aug 10, 2023
1 parent 5a9847f commit 0f946c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/locales/en/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"page": {
"description": "Description",
"links": "Links",
"submissions": "Submissions",
"loading": "Loading submissions..."
Expand Down
3 changes: 3 additions & 0 deletions src/app/[lang]/(DynamicLayout)/projects/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ export default async function ProjectPage({ params: { slug, lang } }: IProps) {
<div className="flex-grow">
<div className="mb-16 mt-4 w-full flex flex-col items-center">
<div className="max-w-full w-full sm:!max-w-4xl px-4 break-words md:break-normal">
<TextHeader>
{t('description')}
</TextHeader>
<div className="description-body">
{DescriptionSerializer(project.description)}
</div>
Expand Down

0 comments on commit 0f946c2

Please sign in to comment.