You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.5KB

  1. import CloudCard3 from "./cloud-card3";
  2. import CloudCard2 from "./cloud-card2";
  3. export default function NextEpisode() {
  4. const nextEpisode = {
  5. date: new Date(),
  6. genre: 'film fights',
  7. judge: 'Christian Ziermann',
  8. player: [
  9. 'Johannes',
  10. 'Lui',
  11. 'Daniel'
  12. ]
  13. };
  14. return (
  15. <CloudCard3>
  16. <article className="flex flex-col items-center content-evenly">
  17. <h1 className="text-2xl font-bold underline flex-none mb-2.5 ">Nächste Episode</h1>
  18. <h2 className="text-xl text-gray ml-3">{nextEpisode.date.toDateString}</h2>
  19. <div className="text-sm text-center text-gray ml-3 ">
  20. <label className="text-lg font-bold">Genre:</label>
  21. <div className="capitalize p-3">
  22. {nextEpisode.genre}
  23. </div>
  24. </div>
  25. <div className="text-sm text-center ml-3" >
  26. <label className="text-lg font-bold">Judge:</label>
  27. <div className="capitalize p-3">
  28. {nextEpisode.judge}
  29. </div>
  30. </div>
  31. <div className="text-sm text-center ml-3">
  32. <label className="text-lg font-bold">Spieler:</label>
  33. <div className="capitalize p-3">
  34. {nextEpisode.player.join(' & ')}
  35. </div>
  36. </div>
  37. </article>
  38. </CloudCard3>
  39. )
  40. }