Skip to content

Commit 444b193

Browse files
authored
Merge pull request #1 from AstraBert/fix/linting
fix: linting
2 parents 73abf6b + cd371ad commit 444b193

File tree

12 files changed

+25
-25
lines changed

12 files changed

+25
-25
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-go@v5
1919
with:
2020
go-version: "1.24"
21-
21+
2222
- name: Install Templ CLI
2323
run: go install github.com/a-h/templ/cmd/templ@latest
2424

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# env variables
2-
.env
2+
.env

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ RUN go build -tags netgo -ldflags '-s -w' -o app
88

99
EXPOSE 8000
1010

11-
ENTRYPOINT [ "./app" ]
11+
ENTRYPOINT [ "./app" ]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ Contributions (both for the blog and for the source code) are more than welcome!
5353

5454
## License
5555

56-
This project is distributed under [MIT license](./LICENSE).
56+
This project is distributed under [MIT license](./LICENSE).

contents/1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Welcome to **git-push blog**, a space where developers can share their experienc
1010

1111
This is an open space, everyone is welcome, every idea is valued and every contribution is celebrated!
1212

13-
As the creator of this platform, I have one wish for it - that brilliant minds will come and contribute with their own writings.
13+
As the creator of this platform, I have one wish for it - that brilliant minds will come and contribute with their own writings.
1414

1515
There is no deadline, no need for regular publishing: just fun and enjoyable time in writing and contributing.
1616

@@ -20,4 +20,4 @@ Once the PR is in, a review will come soon to approve your contribution!
2020

2121
---
2222

23-
Hopefully everything is clear and, if you wish to reach out to me, you can do so on [one of my social platforms](https://link.clelia.dev).
23+
Hopefully everything is clear and, if you wish to reach out to me, you can do so on [one of my social platforms](https://link.clelia.dev).

templates/blog.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ templ BlogPage(blogPosts []*models.BlogPost) {
4242
</ul>
4343
</div>
4444
</body>
45-
}
45+
}

templates/home.templ

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,24 @@ templ Home() {
3131
<h2 class="font-poppins text-2xl">A blog about programming tips and tricks to <span class="italic font-semibold">push</span> your productivity</h2>
3232
</header>
3333
<br>
34-
<div class="flex flex-col items-center justify-center min-h-screen space-y-8 p-8 relative z-10">
35-
<div class="h-[500px] w-full bg-white/20 rounded-2xl backdrop-filter backdrop-blur-lg border border-white/30 shadow-xl flex flex-col items-center justify-center text-center">
36-
<h3 class="text-black font-bold text-2xl mb-4">About</h3>
37-
<p class="text-gray-700/90 px-6"><span class="font-semibold font-comic text-pink-400">git-push-blog</span> is an open source blogging platform created by <a href="https://clelia.dev" class="text-pink-400 font-semibold underline">Clelia Astra Bertelli</a> in order to share coding tips and tricks to help everyone grow and learn in the awesome land of programming.</p>
38-
</div>
39-
40-
<div class="h-[500px] w-full bg-white/15 rounded-2xl backdrop-filter backdrop-blur-md border border-white/20 shadow-xl flex flex-col items-center justify-center text-center">
41-
<h3 class="text-black font-bold text-2xl mb-4">Mission</h3>
42-
<p class="text-gray-700/90 px-6 text-lg font-sans">The main mission of <span class="font-semibold font-comic text-pink-400">git-push-blog</span> is to foster an <span class="font-semibold text-pink-400">open</span>, <span class="font-semibold text-pink-400">inclusive</span> and <span class="font-semibold text-pink-400">collaborative</span> environment for everyone to share their learnings and their journey in code. This space is open to contributions by everyone, and seeks to help building an open source community of programmers who love to code and write about it!</p>
43-
</div>
34+
<div class="flex flex-col items-center justify-center min-h-screen space-y-8 p-8 relative z-10">
35+
<div class="h-[500px] w-full bg-white/20 rounded-2xl backdrop-filter backdrop-blur-lg border border-white/30 shadow-xl flex flex-col items-center justify-center text-center">
36+
<h3 class="text-black font-bold text-2xl mb-4">About</h3>
37+
<p class="text-gray-700/90 px-6"><span class="font-semibold font-comic text-pink-400">git-push-blog</span> is an open source blogging platform created by <a href="https://clelia.dev" class="text-pink-400 font-semibold underline">Clelia Astra Bertelli</a> in order to share coding tips and tricks to help everyone grow and learn in the awesome land of programming.</p>
38+
</div>
39+
40+
<div class="h-[500px] w-full bg-white/15 rounded-2xl backdrop-filter backdrop-blur-md border border-white/20 shadow-xl flex flex-col items-center justify-center text-center">
41+
<h3 class="text-black font-bold text-2xl mb-4">Mission</h3>
42+
<p class="text-gray-700/90 px-6 text-lg font-sans">The main mission of <span class="font-semibold font-comic text-pink-400">git-push-blog</span> is to foster an <span class="font-semibold text-pink-400">open</span>, <span class="font-semibold text-pink-400">inclusive</span> and <span class="font-semibold text-pink-400">collaborative</span> environment for everyone to share their learnings and their journey in code. This space is open to contributions by everyone, and seeks to help building an open source community of programmers who love to code and write about it!</p>
43+
</div>
4444
</div>
4545
<br>
46-
<div class="flex items-center justify-center mb-8 mt-8">
46+
<div class="flex items-center justify-center mb-8 mt-8">
4747
<a href="https://github.com/AstraBert/git-push-blog">
4848
<button class="bg-pink-600 text-white font-semibold font-sans w-[300px] py-3 px-6 rounded-lg shadow-xl">
4949
Star on GitHub
5050
</button>
51-
</a>
51+
</a>
5252
</div>
5353
</body>
54-
}
54+
}

templates/post.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ templ Post(blog *models.BlogPost) {
3737
@templ.Raw(blog.Content)
3838
</div>
3939
</body>
40-
}
40+
}

test_files/1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ author: Clelia Astra Bertelli
88

99
**this is bold text**
1010

11-
_this is italics_
11+
_this is italics_

test_files/2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ import "fmt"
1414
func main() {
1515
fmt.Println("Hello world!")
1616
}
17-
```
17+
```

0 commit comments

Comments
 (0)