Skip to content

Commit

Permalink
updated content config
Browse files Browse the repository at this point in the history
  • Loading branch information
marinitx committed Nov 19, 2024
1 parent b83c55b commit 0951810
Showing 1 changed file with 36 additions and 11 deletions.
47 changes: 36 additions & 11 deletions src/pages/advent-calendar-2024/utils/content-config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,47 @@ import { IllustrationWoolClothes, IllustrationWishesLetter } from "../assets/ill

const contentByDate = {
"2024-11-01": "Welcome to the Advent Calendar!",
"2024-11-02": <GamesView game="Memory" />,
"2024-11-03": <GamesView game="Wordle" />,
"2024-11-04": <GamesView game="Candy" />,

"2024-11-02": {
illustration: <IllustrationWishesLetter />,
content: <GamesView game="Memory" />,
title: "Memory Cards",
description: "Play Memory Cards!",
},

"2024-11-06": <QuizView
"2024-11-03": {
illustration: <IllustrationWishesLetter />,
content: <GamesView game="Wordle" />,
title: "Wordle",
description: "Play Wordle!",
},

"2024-11-04": {
illustration: <IllustrationWishesLetter />,
content: <GamesView game="Candy" />,
title: "Candy Crush",
description: "Play Candy Crush!",
},

"2024-11-06": {
illustration: <IllustrationWoolClothes />,
content: <QuizView
questionTitle={quizQuestions[0].questionTitle}
options={quizQuestions[0].options}
correctAnswer={quizQuestions[0].correctAnswer}
/>,
correctAnswer={quizQuestions[0].correctAnswer}/>,
title: "Quiz",
description: "Test your knowledge of Mística!",
},

"2024-11-07": <QuizView
"2024-11-07": {
illustration: <IllustrationWishesLetter />,
content: <QuizView
questionTitle={quizQuestions[1].questionTitle}
options={quizQuestions[1].options}
correctAnswer={quizQuestions[1].correctAnswer}
/>,
correctAnswer={quizQuestions[1].correctAnswer}/>,
title: "Quiz",
description: "Test your knowledge of Mística!",
},

"2024-11-11": {
illustration: <IllustrationWishesLetter />,
Expand All @@ -35,8 +61,7 @@ const contentByDate = {
content: <QuizView
questionTitle={quizQuestions[2].questionTitle}
options={quizQuestions[2].options}
correctAnswer={quizQuestions[2].correctAnswer}
/>,
correctAnswer={quizQuestions[2].correctAnswer}/>,
title: "Movie Night",
description: "Watch a movie with your family or friends.",
},
Expand Down

0 comments on commit 0951810

Please sign in to comment.