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

Commit 2f36b22

Browse files
authored
Well yes but actually no (#33)
1 parent 2983465 commit 2f36b22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/Home.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function Home() {
6161
<div className="my-10 lg:flex lg:text-center">
6262
<div className="lg:pr-12 flex-1">
6363
<h2>{translation.home_signthepetition_title}</h2>
64-
<p>{translation.home_signthepetition_text}</p>
64+
<p>{translation.home_signthepetition_text && parse(translation.home_signthepetition_text)}</p>
6565
<div className="text-center my-10">
6666
<Button
6767
text={translation["sign_petition"]}
@@ -71,7 +71,7 @@ function Home() {
7171
</div>
7272
<div className="lg:px-12 lg:border-r lg:border-l border-blue flex-1">
7373
<h2>{translation.home_gotodemo_title}</h2>
74-
<p>{translation.home_gotodemo_text}</p>
74+
<p>{translation.home_gotodemo_text && parse(translation.home_gotodemo_text)}</p>
7575
<div className="text-center my-10">
7676
<Button
7777
className="mt-4"
@@ -82,7 +82,7 @@ function Home() {
8282
</div>
8383
<div className="lg:pl-12 flex-1">
8484
<h2>{translation.home_informeveryone_title}</h2>
85-
<p>{translation.home_informeveryone_text}</p>
85+
<p>{translation.home_informeveryone_text && parse(translation.home_informeveryone_text)}</p>
8686
<div className="flex flex-row my-10 justify-center">
8787
<SocialButton
8888
icon="Facebook"

0 commit comments

Comments
 (0)