update prettierrc and navigation
This commit is contained in:
parent
8df5a7032e
commit
ae2568ca81
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"plugins": ["prettier-plugin-go-template"],
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": ["*.html"],
|
"files": ["*.html"],
|
||||||
|
@ -31,9 +31,9 @@ input#nav-toggle:checked ~ #nav-menu {
|
|||||||
@apply text-center lg:text-left;
|
@apply text-center lg:text-left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-item {
|
// .nav-item {
|
||||||
// @apply mx-3;
|
// @apply mx-3;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
@apply text-dark hover:text-primary dark:text-darkmode-dark block p-3 font-semibold transition lg:px-2 lg:py-3;
|
@apply text-dark hover:text-primary dark:text-darkmode-dark block p-3 font-semibold transition lg:px-2 lg:py-3;
|
||||||
|
@ -11,24 +11,28 @@
|
|||||||
<!-- navbar toggler -->
|
<!-- navbar toggler -->
|
||||||
<input id="nav-toggle" type="checkbox" class="hidden" />
|
<input id="nav-toggle" type="checkbox" class="hidden" />
|
||||||
<label
|
<label
|
||||||
id="show-button"
|
|
||||||
for="nav-toggle"
|
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">
|
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
||||||
<title>Menu Open</title>
|
<title>Menu Open</title>
|
||||||
<path d="M0 3h20v2H0V3z m0 6h20v2H0V9z m0 6h20v2H0V0z"></path>
|
<path d="M0 3h20v2H0V3z m0 6h20v2H0V9z m0 6h20v2H0V0z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</label>
|
</span>
|
||||||
<label
|
<span
|
||||||
id="hide-button"
|
id="hide-button"
|
||||||
for="nav-toggle"
|
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">
|
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
||||||
<title>Menu Close</title>
|
<title>Menu Close</title>
|
||||||
<polygon
|
<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"
|
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>
|
</svg>
|
||||||
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<!-- /navbar toggler -->
|
<!-- /navbar toggler -->
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "hugoplate",
|
"name": "hugoplate",
|
||||||
"description": "hugo tailwindcss boilerplate",
|
"description": "hugo tailwindcss boilerplate",
|
||||||
"version": "1.5.2",
|
"version": "1.5.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -22,10 +22,10 @@
|
|||||||
"@tailwindcss/forms": "^0.5.4",
|
"@tailwindcss/forms": "^0.5.4",
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"autoprefixer": "^10.4.14",
|
"autoprefixer": "^10.4.14",
|
||||||
"postcss": "^8.4.26",
|
"postcss": "^8.4.27",
|
||||||
"postcss-cli": "^10.1.0",
|
"postcss-cli": "^10.1.0",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^3.0.0",
|
||||||
"prettier-plugin-go-template": "0.0.13",
|
"prettier-plugin-go-template": "0.0.15",
|
||||||
"prettier-plugin-tailwindcss": "^0.4.1",
|
"prettier-plugin-tailwindcss": "^0.4.1",
|
||||||
"tailwind-bootstrap-grid": "^5.0.1",
|
"tailwind-bootstrap-grid": "^5.0.1",
|
||||||
"tailwindcss": "^3.3.3"
|
"tailwindcss": "^3.3.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user