Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: small ui fixes #23

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/interface/src/components/VotingInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export const VotingInfo = (): JSX.Element => {

{isLoading && <p>Loading...</p>}

{!isLoading && (
{!isLoading && timeLeft[3] < 0 && <p>Voting has ended</p>}

{!isLoading && timeLeft[3] > 0 && (
<div className="flex gap-2">
<TimeSlot num={timeLeft[0]} unit="Days" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const BallotConfirmation = (): JSX.Element => {
{appState === EAppState.VOTING && (
<Card>
<div className="flex-3 flex flex-col gap-4">
<b className="font-mono text-2xl uppercase">Wanna change your mind?</b>
<b className="font-mono text-2xl uppercase">Have you changed your mind?</b>

<p className="text-gray-400">Your can edit your ballot and resubmit it anytime during the voting period.</p>
</div>
Expand All @@ -96,7 +96,7 @@ export const BallotConfirmation = (): JSX.Element => {
<b className="font-mono text-2xl uppercase">{`Help us improve our next round of ${config.eventName}`}</b>

<p className="text-gray-400">
{`Your anonymized feedback will be influential to help us iterate on
{`Your feedback will be influential to help us iterate on
${config.eventName} process.`}
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const SubmitBallotButton = (): JSX.Element => {
button="primary"
buttonAction={handleSubmitBallot}
buttonName="submit"
description="This is not a final submission. Once you submit your ballot, you can change it during the voting period."
description="This is not the final submission. Once you submit your ballot, you can change it during the voting period."
isLoading={isLoading}
isOpen={ableToSubmit && isOpen}
size="sm"
Expand Down