Skip to content

Commit

Permalink
feat: clean home
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain-Brement committed Oct 19, 2023
1 parent bee558f commit 5a6b745
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Home() {
}}
/>

<p>{text}</p>
{text && <p dangerouslySetInnerHTML={{ __html: text }} />}
</div>
</main>
</>
Expand Down
8 changes: 4 additions & 4 deletions utils/dates.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"date": "01/01/1801",
"text": "Un nouveau siècle commence."
"text": "<a href='https://fr.wikipedia.org/wiki/Le_Tour_du_monde_en_quatre-vingts_jours'>Un nouveau siècle commence.</a>"
},
{
"date": "02/02/1802",
Expand All @@ -17,7 +17,7 @@
},
{
"date": "05/05/1805",
"text": "L'histoire continue de s'écrire."
"text": "L'histoire <a href='https://beq.ebooksgratuits.com/vents/Verne-tour-monde.pdf'>continue de s'écrire.</a>"
},
{
"date": "06/06/1806",
Expand All @@ -29,14 +29,14 @@
},
{
"date": "08/08/1808",
"text": "Une époque bien différente de la nôtre."
"text": "<a href='https://www.youtube.com/watch?v=ouxJM4Zd5a4&pp=ygUTYmJjIHRyYWlsZXIgODAgZGF5cw%3D%3D'>Une époque bien différente de la nôtre.</a>"
},
{
"date": "09/09/1809",
"text": "Le passé est toujours présent dans les dates."
},
{
"date": "10/10/2021",
"text": "Une date en 2021, une année marquante."
"text": "Une date en <a href='/commeParHasard'>2021</a>, une année marquante."
}
]

0 comments on commit 5a6b745

Please sign in to comment.