fix: Fix en ui bug

Signed-off-by: lannyfu <lannyfu@kubesphere.io>
This commit is contained in:
lannyfu 2025-09-22 09:33:48 +08:00
parent 4d4503900a
commit ff6d7b53cd
4 changed files with 11 additions and 3 deletions

View File

@ -260,6 +260,10 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-image: url("/images/home/4.png"); background-image: url("/images/home/4.png");
z-index: 2; z-index: 2;
&.en {
height: 3619px;
background-image: url("/images/home/4-en.png");
}
.title-black-h2 { .title-black-h2 {
margin-top: 107px; margin-top: 107px;
@ -316,6 +320,10 @@
height: 1778px; height: 1778px;
background-image: url("/images/home/8.png"); background-image: url("/images/home/8.png");
margin-top: -308px; margin-top: -308px;
&.en {
height: 1706px;
background-image: url("/images/home/8.png");
}
} }
.tabs { .tabs {
position: relative; position: relative;

View File

@ -13,7 +13,7 @@
{{range .children}} {{range .children}}
<li> <li>
<img src="{{ .icon }}" alt="{{ .name }}"> <img src="{{ .icon }}" alt="{{ .name }}">
<h3 class="title-black-h3 ">{{ .name | safeHTML }}</h3> <h3 class="title">{{ .name | safeHTML }}</h3>
<p class="conetnt">{{ .content | safeHTML }}</p> <p class="conetnt">{{ .content | safeHTML }}</p>
{{if eq .label "extension"}} {{if eq .label "extension"}}
<p class="label label-green">{{ i18n "Extension" }}</p> <p class="label label-green">{{ i18n "Extension" }}</p>

View File

@ -52,7 +52,7 @@
{{ end }} {{ end }}
</div> </div>
<div class="content-section active "> <div class="content-section active ">
<section class="section-2"> <section class="section-2 {{ $language }}">
{{ with .Params.section2 }} {{ with .Params.section2 }}
<div class="common-layout"> <div class="common-layout">
<h2 class="title-black-h2">{{ .title | safeHTML }}</h2> <h2 class="title-black-h2">{{ .title | safeHTML }}</h2>
@ -119,7 +119,7 @@
</section> </section>
</div> </div>
<div class="content-section "> <div class="content-section ">
<section class="section-2 section-8"> <section class="section-2 section-8 {{ $language }}">
{{ with .Params.section8 }} {{ with .Params.section8 }}
<div class="common-layout"> <div class="common-layout">
<h2 class="title-black-h2">{{ .title | safeHTML }}</h2> <h2 class="title-black-h2">{{ .title | safeHTML }}</h2>

BIN
static/images/home/4-en.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB