Skip to content

Commit

Permalink
Fix docs site warning msg
Browse files Browse the repository at this point in the history
Signed-off-by: mohin7 <[email protected]>
  • Loading branch information
mohin7 committed May 28, 2024
1 parent a8ecd5b commit b1912c3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 2 additions & 0 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
"has-text-right",
"has-text-right-desktop",
"has-text-right-tablet",
"has-text-warning",
"has-text-weight-bold",
"has-text-weight-light",
"has-text-weight-normal",
Expand Down Expand Up @@ -328,6 +329,7 @@
"is-single-features",
"is-size-6",
"is-success",
"is-text-warning",
"is-three-full-mobile",
"is-tinny",
"is-tooltip-multiline",
Expand Down
4 changes: 2 additions & 2 deletions layouts/docs/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ <h6>{{ .Name }}</h6>
<div class="documentation-body">
{{ if not (eq $p.latestVersion $currentBranch) }}
<article class="message is-warning">
<div class="icon width-40 height-40">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
<div class="icon" style="width: 52px; margin-right: 8px; height: auto;">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffdd57" class="size-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z" />
</svg>
</div>
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ <h1> {{ $p.tagline | safeHTML }}</h1>
<p data-aos="fade-up" data-aos-duration="500">KubeDB simplifies Provision, Upgrade, Scaling, Volume Expansion, Monitor, Backup, Restore for various Databases in Kubernetes on any Public & Private Cloud</p>
<div class="buttons" data-aos="fade-up" data-aos-duration="700">
<a href="/docs/{{ $p.latestVersion }}/setup/" class="button ac-button is-white">TRY NOW FREE</a>
<a href="{{ $.Site.Params.domain_appscode }}/contact/" class="button ac-button is-secondary"><span>
<a href="{{ $.Site.Params.domain_appscode }}/contact/" class="button ac-button is-secondary">
<span class="icon">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.068.157 2.148.279 3.238.364.466.037.893.281 1.153.671L12 21l2.652-3.978c.26-.39.687-.634 1.153-.67 1.09-.086 2.17-.208 3.238-.365 1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z" />
</svg>
</span>
</span>GET IN TOUCH</a>
<span>GET IN TOUCH</span></a>
</div>
</div>
<div class="column is-6 is-full-touch">
Expand Down
18 changes: 14 additions & 4 deletions layouts/reference/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,13 @@

<!-- table of contents area start -->
<div class="tbl-of-contents">
<button class="button ac-button inline-button back-button pl-15 is-hidden-desktop"><span
class="material-icons-outlined">arrow_back</span>Back</button>
<button class="button ac-button inline-button back-button pl-15 is-hidden-desktop">
<span class="icon arrow-back">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" />
</svg>
</span>
<back>Back</back></button>
<h4>What's on this Page</h4>
{{.TableOfContents}}
</div>
Expand All @@ -245,8 +250,13 @@ <h4>What's on this Page</h4>
<!-- overlay end -->

<div class="sidebar-search-area">
<button class="button ac-button inline-button back-button"><span
class="material-icons-outlined">arrow_back</span>Back</button>
<button class="button ac-button inline-button back-button">
<span class="icon arrow-back">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" />
</svg>
</span>
<span>Back</span></button>
<div class="search-area-top">
<h5>Search</h5>

Expand Down

0 comments on commit b1912c3

Please sign in to comment.