fix: update sign-in prompt to include poll name var

This commit is contained in:
ethanf 2025-08-17 21:52:48 -05:00
parent a432fb9b04
commit 1571f2e256

View File

@ -27,7 +27,8 @@ function App() {
Poll Has Ended Poll Has Ended
</h2> </h2>
<p className="text-sm text-red-700"> <p className="text-sm text-red-700">
Voting closed on {formatPollEndDate()}. No new votes are being accepted. Voting closed on {formatPollEndDate()}. No new votes are being
accepted.
</p> </p>
</div> </div>
)} )}
@ -71,8 +72,8 @@ function App() {
<div className="text-center max-w-md"> <div className="text-center max-w-md">
<h2 className="text-2xl font-bold mb-4">Sign in Required</h2> <h2 className="text-2xl font-bold mb-4">Sign in Required</h2>
<p className="text-gray-500 mb-6"> <p className="text-gray-500 mb-6">
Please sign in with your Steam account to participate in the RGL Please sign in with your Steam account to participate in the{" "}
HL Season 22 map poll. {POLL_NAME}
</p> </p>
<button <button
onClick={handleLogin} onClick={handleLogin}