Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
feat: 🎸 投票期間終了の旨を明記した
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer committed Jun 26, 2022
1 parent 11e6374 commit e251e32
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions components/common/EventSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ export const EventSummary: NextPage = () => {
<div>
<div className="pb-8">
<h2 className="text-xl font-bold pb-4">{t('投票期間')}</h2>

<p className="text-2xl text-red-500 mb-4">
投票期間は終了しました。
</p>

<div className="text-base">
<p>{t('2022年6月24日(金)21:00 から')}</p>
{lang === 'en' && <p>to</p>}
Expand Down
8 changes: 6 additions & 2 deletions components/common/VoteDeadLineCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ export const VoteDeadLineCard: NextPage = () => {

<div className="my-1" />

<p className="text-2xl text-red-500 mb-4">
投票期間は終了しました。
</p>

<div className="text-base">
<p className="text-red-500">2022年6月24日(金)21:00 から</p>
<p className="text-red-500">2022年6月26日(日)23:59 まで</p>
<p className="text-black">2022年6月24日(金)21:00 から</p>
<p className="text-black">2022年6月26日(日)23:59 まで</p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/votes/Divisions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const Divisions: NextPage = () => {
②協力攻撃部門
</h2>

{isDuringVoteTerm && (
{false && isDuringVoteTerm && (
<>
<div className="alert shadow-lg bg-white text-black text-xl">
<div className="w-full ml-2">
Expand Down
4 changes: 2 additions & 2 deletions pages/unite-attacks-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const UniteAttacksList: NextPage = () => {
/>
) : (
<>
<div className="bg-white text-black text-xl text-center">
{/* <div className="bg-white text-black text-xl text-center">
<div>
<span>
<Link href="/vote-to-unite-attacks" passHref>
Expand All @@ -98,7 +98,7 @@ const UniteAttacksList: NextPage = () => {
<div className="my-8" />
<div className="divider" />
<div className="my-8" />
<div className="my-8" /> */}

<AttacksList apiResponse={apiResponse} />
</>
Expand Down

0 comments on commit e251e32

Please sign in to comment.