Add countdown to random movie button!

This commit is contained in:
Cooper Ransom 2024-04-04 23:04:20 -04:00
parent 68ccddd171
commit 1c05050faa
2 changed files with 7 additions and 2 deletions

View File

@ -143,7 +143,8 @@
"What's on your watchlist today?", "What's on your watchlist today?",
"How was your day?", "How was your day?",
"My bad the site never works...", "My bad the site never works...",
"Isn't sudo-flix just the best?" "Isn't sudo-flix just the best?",
">ᴗ<"
] ]
}, },
"sectionTitle": "Search results" "sectionTitle": "Search results"

View File

@ -485,7 +485,11 @@ export function Discover() {
</div> </div>
{randomMovie && ( {randomMovie && (
<div className="mt-4 mb-4 text-center"> <div className="mt-4 mb-4 text-center">
<p>Now Playing {randomMovie.title}</p> <p>
Now Playing{" "}
<span className="font-bold">{randomMovie.title}</span> in{" "}
{countdown}
</p>
</div> </div>
)} )}
<div className="flex flex-col"> <div className="flex flex-col">