Skip to content

Commit 8adc2b2

Browse files
committed
chore: add banner
1 parent aa250d9 commit 8adc2b2

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/assets/css/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,13 @@
4040
.hextra-footer .social-media :hover{
4141
transform: translateY(-2px);
4242
}
43+
44+
.hextra-banner {
45+
background: #6BB43A;
46+
background: linear-gradient(135deg, rgba(107, 180, 58, 1) 0%, rgba(29, 253, 253, 1) 50%, rgba(69, 145, 252, 1) 100%);
47+
color: var(--hx-color-slate-900);
48+
}
49+
50+
.extra-banner-close-button {
51+
color: var(--hx-color-slate-50);
52+
}

docs/hugo.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ menu:
8282
params:
8383
description: Golangci-lint is a fast linters runner for Go.
8484

85+
banner:
86+
key: 'announcement-v2_4'
87+
message: |
88+
New golangci-lint release ([v2.4](/docs/product/changelog/)) with support of Go 1.25 🎉🎉🎉 It's time to [support us](/docs/donate/) to keep golangci-lint always up to date!
89+
8590
navbar:
8691
displayTitle: true
8792
displayLogo: true

0 commit comments

Comments
 (0)