Skip to content

Commit 10c6cf5

Browse files
authored
Merge pull request #365 from axivo/docs/website-update
fix: website update
2 parents 8a84039 + e88b06f commit 10c6cf5

File tree

3 files changed

+41
-19
lines changed

3 files changed

+41
-19
lines changed

k3s-cluster/content/_index.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,31 @@ title: K3s Cluster
33
layout: hextra-home
44
---
55

6+
<!-- prettier-ignore-start -->
67
{{< hextra/hero-container
78
image="/images/logo-services.svg"
89
imageLink="https://github.com/axivo/k3s-cluster"
910
imageTitle="Kubernetes Services"
1011
>}}
11-
<div class="hx-mt-6 hx-mb-6">
12+
<div class="hx:mt-6 hx:mb-6">
1213
{{< hextra/hero-headline >}}
1314
High Availability Cluster Deployed with Ansible
1415
{{< /hextra/hero-headline >}}
1516
</div>
1617

17-
<div class="hx-mt-6 hx-mb-6">
18+
<div class="hx:mt-6 hx:mb-6">
1819
{{< hextra/hero-subtitle >}}
1920
Documentation and tutorials to deploy, manage and monitor your
2021
Kubernetes cluster and related components, in style.
2122
{{< /hextra/hero-subtitle >}}
2223
</div>
2324

24-
<div class="hx-mt-6 hx-mb-6">
25+
<div class="hx:mt-6 hx:mb-6">
2526
{{< hextra/hero-button text="Get Started" link="wiki" >}}
2627
</div>
2728
{{< /hextra/hero-container >}}
2829

29-
<div class="hx-mt-6 hx-mb-6">
30+
<div class="hx:mt-6 hx:mb-6">
3031
{{< hextra/hero-section >}}
3132
Used Technologies
3233
{{< /hextra/hero-section >}}
@@ -36,29 +37,29 @@ layout: hextra-home
3637
{{< hextra/feature-card
3738
title="K3s"
3839
subtitle="Certified Kubernetes distribution built for IoT and Edge computing, running on Ubuntu Server LTS."
39-
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]"
40+
class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-md:min-h-[340px]"
4041
image="/images/card-k3s.webp"
41-
imageClass="hx-top-[20%] hx-left-[24px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80"
42+
imageClass="hx:top-[20%] hx:left-[24px] hx:w-[110%]"
4243
link="https://k3s.io"
43-
style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));"
44+
style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.25),hsla(0,0%,100%,0));"
4445
>}}
4546
{{< hextra/feature-card
4647
title="Cilium"
4748
subtitle="eBPF-based project, providing networking, security, and observability for Kubernetes clusters."
48-
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]"
49+
class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-md:min-h-[340px]"
4950
image="/images/card-cilium.webp"
50-
imageClass="hx-top-[20%] hx-left-[24px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80"
51+
imageClass="hx:top-[20%] hx:left-[24px] hx:w-[110%]"
5152
link="https://cilium.io"
52-
style="background: radial-gradient(ellipse at 50% 80%,rgba(194,97,254,0.15),hsla(0,0%,100%,0));"
53+
style="background: radial-gradient(ellipse at 50% 80%,rgba(194,97,254,0.25),hsla(0,0%,100%,0));"
5354
>}}
5455
{{< hextra/feature-card
5556
title="Victoria Logs and Metrics"
5657
subtitle="Kubernetes cluster high-performance logging and monitoring, using Prometheus ingestion models."
57-
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]"
58+
class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-md:min-h-[340px]"
5859
image="/images/card-victoriametrics.webp"
59-
imageClass="hx-top-[20%] hx-left-[24px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80"
60+
imageClass="hx:top-[20%] hx:left-[24px] hx:w-[110%]"
6061
link="https://victoriametrics.com/products/open-source/"
61-
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));"
62+
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.25),hsla(0,0%,100%,0));"
6263
>}}
6364
{{< hextra/feature-card
6465
title="ArgoCD"
@@ -91,3 +92,4 @@ layout: hextra-home
9192
link="https://longhorn.io"
9293
>}}
9394
{{< /hextra/feature-grid >}}
95+
<!-- prettier-ignore-end -->

k3s-cluster/hugo.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
baseURL: https://axivo.com/k3s-cluster/
22
languages:
33
en:
4-
title: AXIVO | K3s Cluster
4+
params:
5+
parentTitle: AXIVO
6+
title: K3s Cluster
57
markup:
68
_merge: shallow
79
menu:
@@ -23,11 +25,6 @@ menu:
2325
icon: github
2426
url: https://github.com/axivo/k3s-cluster
2527
weight: 4
26-
- name: Parent
27-
params:
28-
icon: folder
29-
url: ../
30-
weight: 5
3128
sidebar:
3229
- identifier: more
3330
name: More
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{{- $logoPath := .Site.Params.navbar.logo.path | default "images/logo.svg" -}}
2+
{{- $logoLink := .Site.Params.navbar.logo.link | default .Site.Home.RelPermalink -}}
3+
{{- $logoWidth := .Site.Params.navbar.logo.width | default "20" -}}
4+
{{- $logoHeight := .Site.Params.navbar.logo.height | default "20" -}}
5+
{{- $logoDarkPath := .Site.Params.navbar.logo.dark | default $logoPath -}}
6+
{{- $displayTitle := (.Site.Params.navbar.displayTitle | default true) }}
7+
8+
{{- if (.Site.Params.navbar.displayLogo | default true) }}
9+
<img class="hx:block hx:dark:hidden" src="{{ $logoPath | relURL }}" alt="{{ cond $displayTitle `Logo` .Site.Title }}" height="{{ $logoHeight }}" width="{{ $logoWidth }}" />
10+
<img class="hx:hidden hx:dark:block" src="{{ $logoDarkPath | relURL }}" alt="{{ cond $displayTitle `Dark Logo` .Site.Title }}" height="{{ $logoHeight }}" width="{{ $logoWidth }}" />
11+
{{- end }}
12+
<a class="hx:flex hx:items-center hx:hover:opacity-75" href="/">
13+
{{- if $displayTitle }}
14+
{{- $parentTitle := .Site.Params.parentTitle | default "AXIVO" -}}
15+
<span class="hx:font-extrabold hx:inline hx:select-none" title="{{ $parentTitle }}">{{ $parentTitle }}</span>
16+
{{- end }}
17+
</a>
18+
{{- if $displayTitle }}<span></span>{{- end }}
19+
<a class="hx:flex hx:items-center hx:hover:opacity-75 hx:ltr:mr-auto hx:rtl:ml-auto" href="{{ $logoLink }}">
20+
{{- if $displayTitle }}
21+
<span class="hx:font-bold hx:inline hx:select-none" title="{{ .Site.Title }}">{{- .Site.Title -}}</span>
22+
{{- end }}
23+
</a>

0 commit comments

Comments
 (0)