Skip to content

Commit

Permalink
Small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
PleatherStarfish committed Dec 11, 2024
1 parent 3a16a2f commit fe09670
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/templates/_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h3 class="text-lg font-medium leading-6 text-white">Cookie Consent</h3>
<div
class="{% if path == '/user' %}w-screen grow{% else %}mb-12 mt-36 py-8 px-4 md:px-24 lg:px-48 grow{% endif %}"
>
{% if path != '/user' and path != '/abou' and path != '/acco' and path != '/faq' and path != '/tos' and path != '/tool' %}
{% if path != '/' and path != '/user' and path != '/abou' and path != '/acco' and path != '/faq' and path != '/tos' and path != '/tool' %}
<div id="banner" class="hidden {% if path != '/proj' and path != '/comp' %}mb-8{% endif %}">
<div id="banner" class="flex flex-col w-full gap-4 p-8 rounded-lg bg-[#d4e4ea]" role="alert">
<div class="flex flex-col w-full">
Expand Down
9 changes: 8 additions & 1 deletion backend/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,15 @@ <h1 class="mb-1 font-semibold text-gray-900">Support</h1>
</ul>
</div>

<!-- Black Lives Matter Section -->
<div class="text-center lg:text-left">
<h1 class="mb-1 font-semibold text-gray-900">Tools</h1>
<ul class="space-y-2 text-sm text-gray-600 list-none">
<li><a href="https://bom-squad.com/tools/resistor-calculator/" class="text-gray-400 hover:text-gray-700">Resistor for LED Calculator</a></li>
</ul>
</div>

<!-- Black Lives Matter Section -->
<div class="flex flex-col justify-end text-center lg:text-left">
<a href="https://www.itsnicethat.com/news/resources-supporting-black-lives-matter-movement-creative-industry-010620" target="_blank" class="text-gray-400 hover:text-gray-700">Black lives matter.</a>
</div>
</div>

0 comments on commit fe09670

Please sign in to comment.