Fix & chore
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Ondřej 2023-08-30 21:30:27 +02:00
parent 85b91d524c
commit 937b5a4893
4 changed files with 23 additions and 48 deletions

View file

@ -7,28 +7,19 @@
1. [hugo](https://gohugo.io/getting-started/installing/)
2. Node.js (for [Tailwind](https://tailwindcss.com/))
## Setup
## Development setup
1. Clone repository
2. Install node dependencies
Install dependencies:
```
yarn
# or
npm install
```
```
npm i
```
3. Build styles
Start development server (Starts Hugo and Tailwindcss):
```
yarn styles:watch
```
3. Start hugo server
```
hugo server -D
```
```
npm run dev
```
## Contributors

View file

@ -53,4 +53,6 @@ async function initCopyButtons() {
});
}
initCopyButtons();
window.addEventListener("turbo:load", () => {
initCopyButtons();
});

View file

@ -665,6 +665,14 @@ video {
margin-top: 1.5rem;
}
.mb-10 {
margin-bottom: 2.5rem;
}
.mb-12 {
margin-bottom: 3rem;
}
.mr-auto {
margin-right: auto;
}
@ -713,22 +721,10 @@ video {
margin-bottom: 0.25rem;
}
.mb-12 {
margin-bottom: 3rem;
}
.mb-8 {
margin-bottom: 2rem;
}
.mb-9 {
margin-bottom: 2.25rem;
}
.mb-10 {
margin-bottom: 2.5rem;
}
.block {
display: block;
}
@ -995,16 +991,6 @@ video {
line-height: 1rem;
}
.text-4xl {
font-size: 2.25rem;
line-height: 2.5rem;
}
.text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
.font-bold {
font-weight: 700;
}

View file

@ -6,14 +6,10 @@
"author": "ondrej <ondrej@nyv.lt>",
"license": "MIT",
"scripts": {
"styles:watch": "tailwindcss -i ./assets/main.css -o ./assets/style.css --watch"
"dev": "hugo server -D & tailwindcss -i ./assets/main.css -o ./assets/style.css --watch"
},
"dependencies": {
"@alpinejs/persist": "^3.10.4",
"@hotwired/turbo": "^7.3.0",
"alpinejs": "^3.10.4",
"tailwindcss": "^3.2.1",
"tippy.js": "^6.3.7"
"devDependencies": {
"tailwindcss": "^3.2.1"
},
"volta": {
"node": "18.12.1",