update prettierrc and navigation

This commit is contained in:
somrat sorkar 2023-07-22 11:20:40 +06:00
parent 8df5a7032e
commit ae2568ca81
5 changed files with 30 additions and 25 deletions

View File

@ -1,4 +1,5 @@
{
"plugins": ["prettier-plugin-go-template"],
"overrides": [
{
"files": ["*.html"],

View File

@ -31,9 +31,9 @@ input#nav-toggle:checked ~ #nav-menu {
@apply text-center lg:text-left;
}
.nav-item {
// @apply mx-3;
}
// .nav-item {
// @apply mx-3;
// }
.nav-link {
@apply text-dark hover:text-primary dark:text-darkmode-dark block p-3 font-semibold transition lg:px-2 lg:py-3;

View File

@ -11,24 +11,28 @@
<!-- navbar toggler -->
<input id="nav-toggle" type="checkbox" class="hidden" />
<label
id="show-button"
for="nav-toggle"
class="order-2 flex cursor-pointer items-center md:order-1 md:hidden">
class="order-3 cursor-pointer text-dark dark:text-white lg:order-1"
>
<span id="show-button" class="flex items-center lg:order-1 lg:hidden">
<svg class="h-6 fill-current" viewBox="0 0 20 20">
<title>Menu Open</title>
<path d="M0 3h20v2H0V3z m0 6h20v2H0V9z m0 6h20v2H0V0z"></path>
</svg>
</label>
<label
</span>
<span
id="hide-button"
for="nav-toggle"
class="order-2 hidden cursor-pointer items-center md:order-1">
class="hidden items-center lg:order-1"
>
<svg class="h-6 fill-current" viewBox="0 0 20 20">
<title>Menu Close</title>
<polygon
points="11 9 22 9 22 11 11 11 11 22 9 22 9 11 -2 11 -2 9 9 9 9 -2 11 -2"
transform="rotate(45 10 10)"></polygon>
transform="rotate(45 10 10)"
></polygon>
</svg>
</span>
</label>
<!-- /navbar toggler -->

View File

@ -1,7 +1,7 @@
{
"name": "hugoplate",
"description": "hugo tailwindcss boilerplate",
"version": "1.5.2",
"version": "1.5.3",
"license": "MIT",
"author": "zeon.studio",
"scripts": {
@ -22,10 +22,10 @@
"@tailwindcss/forms": "^0.5.4",
"@tailwindcss/typography": "^0.5.9",
"autoprefixer": "^10.4.14",
"postcss": "^8.4.26",
"postcss": "^8.4.27",
"postcss-cli": "^10.1.0",
"prettier": "^2.8.8",
"prettier-plugin-go-template": "0.0.13",
"prettier": "^3.0.0",
"prettier-plugin-go-template": "0.0.15",
"prettier-plugin-tailwindcss": "^0.4.1",
"tailwind-bootstrap-grid": "^5.0.1",
"tailwindcss": "^3.3.3"