Skip to content

Commit

Permalink
style: Remove bullets on content page's mobile nav (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorexsalvo authored Feb 6, 2024
1 parent e8d6c76 commit 18242b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
38 changes: 3 additions & 35 deletions pyconph/content/templates/content/_navbar-mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{% with parent=page.get_parent %}
{% for page in parent.get_children %}
{% if page.show_in_menus and page.live %}
<li class="text-center mb-10">
<li class="text-center mb-10 no-bullet">
<a href="{{ page.url }}" class="no-underline text-24 md:text-48 text-white font-medium hover:opacity-80">{{ page.title }}</a>
</li>
{% endif %}
Expand All @@ -51,39 +51,7 @@
Message us at [email protected] for questions and
inquiries
</p>
<ul class="flex justify-center">
<li>
<a href="https://discord.gg/nuWfkhR4vM" class="no-underline" target="_blank">
<img class="h-22 mr-18 hover:opacity-70" src="{% static 'img/icon/icon-discord.svg' %}"
alt="discord" />
</a>
</li>

<li>
<a href="https://www.facebook.com/pyconph" target="_blank">
<img class="h-22 mr-18 hover:opacity-70" src="{% static 'img/icon/icon-facebook.svg' %}"
alt="facebook" />
</a>
</li>
<li>
<a href="https://github.com/pythonph" target="_blank">
<img class="h-22 mr-18 hover:opacity-70" src="{% static 'img/icon/icon-github.svg' %}"
alt="github" />
</a>
</li>
<li>
<a href="https://twitter.com/pyconph" target="_blank">
<img class="h-22 mr-18 hover:opacity-70" src="{% static 'img/icon/icon-twitter.svg' %}"
alt="twiter" />
</a>
</li>
<li>
<a href="https://www.instagram.com/pythonph/" target="_blank">
<img class="h-24 hover:opacity-70" src="{% static 'img/icon/icon-instagram.svg' %}"
alt="instagram" />
</a>
</li>
</ul>
{% include "socials.html" %}
</div>
</nav>
</header>
</header>
4 changes: 2 additions & 2 deletions pyconph/content/templates/content/_navbar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="bg-[#12204A] flex gap-8 py-5 justify-center">
<div class="bg-[#12204A] flex gap-8 py-5 justify-center text-14">
{% with parent=page.get_parent %}
<div class="py-2"><a href="{{ parent.url }}" class="text-[#FFCA50] no-underline font-bold">{{ parent.title }}</a></div>
<div class="py-2"><a href="{{ parent.url }}" class="text-[#FFCA50] no-underline font-bold">Home</a></div>
{% for page in parent.get_children %}
{% if page.show_in_menus and page.live %}
<div class="py-2"><a href="{{ page.url }}" class="text-[#FFCA50] no-underline font-bold">{{ page.title }}</a></div>
Expand Down

0 comments on commit 18242b6

Please sign in to comment.