Skip to content

Commit

Permalink
Merge pull request #34 from Hackathons-Canada/dev-aaron
Browse files Browse the repository at this point in the history
Fixed card flip
  • Loading branch information
ThePathOfLeastResistance authored Jan 6, 2025
2 parents 43e8abf + 9bb4656 commit 8dd7246
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<a href="{% url 'account_login' %}" class="nav-link nav-link-text-child"
aria-current="page">Login</a>
</li>
<li class="">
<li class="ml-4">
<a href="{% url 'account_signup' %}" class="nav-button">Sign Up</a>
</li>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion templates/components/card_back.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hackathon-card w-24 h-24 lg:w-[350px] lg:h-[350px]">
<div class="hackathon-card h-[350px] w-72 xl:w-[350px]">
<div class="card-image-overlay"></div>
<img class="hackathon-img-back" src="{{ hackathon.bg_image|default:hackathon.fg_image }}" alt="{{ hackathon.name }}">
<div class="hackathon-card-div">
Expand Down
4 changes: 2 additions & 2 deletions templates/components/card_front.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="hackathon-card">
<img class="hackathon-img-front border-b-4 border-black" src="{{ hackathon.bg_image|default:hackathon.fg_image }}" alt="{{ hackathon.name }}">
<div class="hackathon-card h-[350px] w-72 xl:w-[350px]">
<img class="hackathon-img-front border-b-4 border-black w-full" src="{{ hackathon.bg_image|default:hackathon.fg_image }}" alt="{{ hackathon.name }}">
<div class="flex flex-col mt-3 align-middle hackathon-content justify-items-center">
<h2 class="h-12 pt-2 overflow-auto text-3xl">{{ hackathon.name }}</h2>
<h6 class="text-base">{{ hackathon.location.name }}</h6>
Expand Down

0 comments on commit 8dd7246

Please sign in to comment.