Skip to content

Commit

Permalink
Merge pull request #24 from pengmaradi/feature/tailwind
Browse files Browse the repository at this point in the history
chore: changed hamburg effect on mobile
  • Loading branch information
pengmaradi authored Sep 11, 2024
2 parents c208333 + 597c7f9 commit b392960
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pengmaradi.GitHub.io
markdown: kramdown
baseurl: /
exclude: ['README.md','build']
exclude: ['README.md','build']
6 changes: 3 additions & 3 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
<!-- Mobile menu button-->
<button type="button" @click="showMenu = !showMenu;"
class="relative inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white"
class="relative inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-700 hover:text-white focus:outline-none focus:ring-1 focus:ring-inset focus:ring-white"
aria-controls="mobile-menu" aria-expanded="false">
<span class="absolute -inset-0.5"></span>
<span class="sr-only">Open main menu</span>

<svg class="block h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
<svg class="h-6 w-6" :class="[showMenu ? 'hidden' : 'block']" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round"
d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" />
</svg>

<svg class="hidden h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
<svg class="h-6 w-6" :class="[showMenu ? 'block' : 'hidden']" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
</svg>
Expand Down
2 changes: 1 addition & 1 deletion assets/main.css

Large diffs are not rendered by default.

0 comments on commit b392960

Please sign in to comment.