Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 2983465

Browse files
authored
Fixed url parsing on frontpage (#31)
1 parent 8bdde7b commit 2983465

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/pages/Home.jsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ function Home() {
2222
<div className="container mx-auto px-6 md:flex">
2323
<div className="md:pr-12 md:border-r border-blue-dark flex-1">
2424
<h2>{translation.home_article11_title}</h2>
25-
<p>{translation.home_article11_text}</p>
25+
<p>
26+
{translation.home_article11_text &&
27+
parse(translation.home_article11_text)}
28+
</p>
2629
{/* <p>
2730
<a className="text-blue-dark" href="#">
2831
mehr...
@@ -31,7 +34,10 @@ function Home() {
3134
</div>
3235
<div className="md:pl-12 flex-1 pb-6">
3336
<h2>{translation.home_article13_title}</h2>
34-
<p>{translation.home_article13_text}</p>
37+
<p>
38+
{translation.home_article13_text &&
39+
parse(translation.home_article13_text)}
40+
</p>
3541
{/* <p>
3642
<a className="text-blue-dark" href="#">
3743
mehr...

0 commit comments

Comments
 (0)