Skip to content

Commit

Permalink
coucou
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain-Brement committed Oct 19, 2023
1 parent 9deca22 commit a891bc6
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useState } from "react";
import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
import dates from "../utils/dates.json";
import Image from "next/image";

const dataJson = dates;

Expand Down Expand Up @@ -34,6 +35,9 @@ export default function Home() {
/>

{text && <p dangerouslySetInnerHTML={{ __html: text }} />}
<Image src="/title.svg" alt="title" width={654} height={69} priority />
<Image src="/text.svg" alt="text" width={650} height={2412} priority />
<Image src="/footer.svg" alt="footer" width={638} height={24} priority />
</div>
</main>
</>
Expand Down
3 changes: 3 additions & 0 deletions public/footer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions public/text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/title.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion utils/dates.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
},
{
"date": "10/10/2021",
"text": "Une date en <a target='_blank' href='/commeParHasard'>2021</a>, une année marquante."
"text": "Une date en <a target='_blank' href='/emile-magique/commeParHasard'>2021</a>, une année marquante."
}
]

0 comments on commit a891bc6

Please sign in to comment.