Skip to content

Commit da0f3a6

Browse files
committed
home
1 parent d2cfef8 commit da0f3a6

4 files changed

Lines changed: 55 additions & 21 deletions

File tree

assets/scss/common/_custom.scss

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,37 @@
183183
}
184184
}
185185

186+
.home-hero-box {
187+
position: relative;
188+
border-radius: 1.25rem;
189+
padding: 2rem 2.5rem;
190+
width: 100%;
191+
max-width: 100%;
192+
margin: 0 auto;
193+
}
194+
195+
.home-hero-box::before {
196+
content: "";
197+
position: absolute;
198+
inset: 0;
199+
border: 2px solid #4aae20;
200+
border-radius: inherit;
201+
background: #f4fbf1;
202+
box-shadow: 0 0 1.5rem rgba(74, 174, 32, 0.12);
203+
z-index: 1;
204+
}
205+
206+
.home-hero-box > * {
207+
position: relative;
208+
z-index: 3;
209+
}
210+
211+
@media (max-width: 576px) {
212+
.home-hero-box {
213+
padding: 1.5rem;
214+
}
215+
}
216+
186217
.how-to-use-images-home {
187218
.how-to-use-images {
188219
overflow: visible;

hugo_stats.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@
198198
"header",
199199
"highlight",
200200
"home",
201+
"home-hero-box",
201202
"how-to-use-card",
202203
"how-to-use-cards",
203204
"how-to-use-image",

layouts/include/bubbles.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
width: 100%;
77
height: 100%;
88
overflow: hidden;
9+
z-index: 2;
10+
pointer-events: none;
911
}
1012

1113
.bubble {

layouts/index.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@
88

99
<section class='section container-fluid mt-n3 pb-3'>
1010
<div class='row justify-content-center'>
11-
<div class='col-lg-12 text-center' data-aos="fade-up">
12-
<h1 class='mt-0'>WAHA</h1>
13-
</div>
14-
<div class='col-lg-9 col-xl-9 text-center' data-aos="fade-up">
15-
<div class='mb-4'>
16-
<img src='/images/logo.svg' title='WhatsApp API' alt='logo' style='border-radius: 50%; width: 10rem'/>
11+
<div class='col-12 text-center' data-aos="fade-up">
12+
<div class='home-hero-box'>
13+
<h1 class='mt-0'>WAHA</h1>
14+
<div class='mb-4'>
15+
<img src='/images/logo.svg' title='WhatsApp API' alt='logo' style='border-radius: 50%; width: 10rem'/>
16+
</div>
17+
<p class='lead'>{{ .Params.lead | safeHTML }}</p>
18+
19+
<a class='btn btn-primary btn-lg px-4 mb-2'
20+
href='/docs/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}overview/introduction/'
21+
role='button'>Get Started</a>
22+
<p class='meta'>
23+
<a href='https://github.com/devlikeapro/waha'>Source code in GitHub.</a>
24+
<br/>
25+
<a href='https://hub.docker.com/r/devlikeapro/waha'>
26+
<img alt='Docker Pulls' src='https://img.shields.io/docker/pulls/devlikeapro/waha'>
27+
</a>
28+
<a href='{{ relref . "/docs/overview/changelog" }}'>
29+
<img alt='GitHub Release' src='https://img.shields.io/github/v/release/devlikeapro/waha'>
30+
</a>
31+
</p>
1732
</div>
18-
<p class='lead'>{{ .Params.lead | safeHTML }}</p>
19-
20-
<a class='btn btn-primary btn-lg px-4 mb-2'
21-
href='/docs/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}overview/introduction/'
22-
role='button'>Get Started</a>
23-
<p class='meta'>
24-
<a href='https://github.com/devlikeapro/waha'>Source code in GitHub.</a>
25-
<br/>
26-
<a href='https://hub.docker.com/r/devlikeapro/waha'>
27-
<img alt='Docker Pulls' src='https://img.shields.io/docker/pulls/devlikeapro/waha'>
28-
</a>
29-
<a href='{{ relref . "/docs/overview/changelog" }}'>
30-
<img alt='GitHub Release' src='https://img.shields.io/github/v/release/devlikeapro/waha'>
31-
</a>
32-
</p>
3333
</div>
3434
</div>
3535
</section>

0 commit comments

Comments
 (0)