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;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
######################## default configuration ####################
|
######################## default configuration ####################
|
||||||
baseURL = "https://hugoplate.netlify.app/"
|
baseURL = "https://hugoplate.netlify.app/"
|
||||||
title = "Hugoplate"
|
title = "Hugoplate"
|
||||||
# theme = "hugoplate"
|
# theme = "hugoplate"
|
||||||
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||||
timeZone = "America/New_York"
|
timeZone = "America/New_York"
|
||||||
# post pagination
|
# post pagination
|
||||||
|
@ -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"
|
||||||
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
>
|
||||||
<title>Menu Open</title>
|
<span id="show-button" class="flex items-center lg:order-1 lg:hidden">
|
||||||
<path d="M0 3h20v2H0V3z m0 6h20v2H0V9z m0 6h20v2H0V0z"></path>
|
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
||||||
</svg>
|
<title>Menu Open</title>
|
||||||
</label>
|
<path d="M0 3h20v2H0V3z m0 6h20v2H0V9z m0 6h20v2H0V0z"></path>
|
||||||
<label
|
</svg>
|
||||||
id="hide-button"
|
</span>
|
||||||
for="nav-toggle"
|
<span
|
||||||
class="order-2 hidden cursor-pointer items-center md:order-1">
|
id="hide-button"
|
||||||
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
for="nav-toggle"
|
||||||
<title>Menu Close</title>
|
class="hidden items-center lg:order-1"
|
||||||
<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"
|
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
||||||
transform="rotate(45 10 10)"></polygon>
|
<title>Menu Close</title>
|
||||||
</svg>
|
<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>
|
||||||
|
</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