Skip to content

Commit

Permalink
fof main page update
Browse files Browse the repository at this point in the history
  • Loading branch information
vercah committed Nov 22, 2023
1 parent 268b6dc commit a628605
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions app/Components/UpperHomePrague/upperHomePrague.latte
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,12 @@
</g>
</svg>
</div>
<div class="upper-home-countdown">
{control countdown}
</div>
{if $gamePhaseCalculator->isRegistration(App\Models\GamePhaseCalculator::BEFORE)}
<div class="upper-home-countdown">
{control countdown}
</div>
{/if}

<div class="upper-home-registration-deadline">
{if $gamePhaseCalculator->isGame(App\Models\GamePhaseCalculator::AFTER)}
<div style="margin-top: 1rem; text-align: center;">
Expand Down
4 changes: 2 additions & 2 deletions app/Modules/Fof/DefaultModule/templates/Default/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
{/switch}
</div>
<div class="buttons">
{* <a n:href="AboutTheCompetition:" class="btn btn-light">{switch $lang}{case 'cs'}O soutěži{default}About{/switch}</a>*}
<a target="_blank" href="https://static.fykos.cz/fyziklani2023/{switch $lang}{case 'cs'}pruvodce{default}guidebook{/switch}.pdf" class="btn btn-outline">{switch $lang}{case 'cs'}Průvodce soutěží{default}Competition guidebook{/switch}</a>
<a n:href="AboutTheCompetition:" class="btn btn-light">{switch $lang}{case 'cs'}O soutěži{default}About{/switch}</a>
{* <a target="_blank" href="https://static.fykos.cz/fyziklani2023/{switch $lang}{case 'cs'}pruvodce{default}guidebook{/switch}.pdf" class="btn btn-outline">{switch $lang}{case 'cs'}Průvodce soutěží{default}Competition guidebook{/switch}</a>*}
<a n:href="Merch:" class="btn btn-outline">Merch</a>
<a n:if="$gamePhaseCalculator->isRegistration(App\Models\GamePhaseCalculator::NOW)" n:href="Registration:" class="btn btn-light">{switch $lang}{case 'cs'}Registrace{default}Register{/switch}</a>
</div>
Expand Down

0 comments on commit a628605

Please sign in to comment.