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: remove button and make challenge heading a link to challenge detail #353

Merged
merged 1 commit into from
Oct 2, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,7 @@
{% for challenge in challenges %}
<li class="overflow-hidden rounded-xl border border-gray-200 flex flex-col">
<div class="flex items-center gap-x-4 border-b border-gray-900/5 bg-gray-50 px-6 py-4">
<div class="text-sm font-medium leading-6 text-gray-900">{{ challenge.title }}</div>
<div class="relative ml-auto">
<button type="button" class="-m-2.5 block p-2.5 text-gray-400 hover:text-gray-500"
id="options-menu-0-button" aria-expanded="false" aria-haspopup="true">
<span class="sr-only">Open options</span>
<a href="{{ url('challenge_detail', args=(product_slug, challenge.id)) }}">
<img src="/static/images/visit.png" alt="">
</a>
</button>
</div>
<div class="text-sm font-medium leading-6 text-gray-900"><a href="{{ url('challenge_detail', args=(product_slug, challenge.id)) }}">{{ challenge.title }}</a></div>
</div>
<div class="divide-y divide-gray-100 px-6 text-sm leading-6 flex flex-col justify-between h-full">
<div class="flex py-3 text-gray-500">
Expand Down
Loading