Skip to content

Commit

Permalink
[docs] Fix index
Browse files Browse the repository at this point in the history
  • Loading branch information
allburov committed Mar 29, 2024
1 parent 628508f commit bd770a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/site/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ <h1 class='mt-0'>{{ .Title }}</h1>
<img src='/images/logo.png' title='WhatsApp HTTP API' alt='logo' width='100' />
</div>
<p class='lead'>{{ .Params.lead | safeHTML }}</p>
<div class="code-block highlight d-none d-md-block">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash" style='padding: 0'>docker run -it -p 3000:3000/tcp devlikeapro/whatsapp-http-api</code></pre>
<div class='code-block highlight'>
<pre tabindex='0' class='chroma'><code class='language-bash' data-lang='bash' style='padding: 0'>docker run -it -p 3000:3000/tcp devlikeapro/whatsapp-http-api</code></pre>
</div>
<a class='btn btn-primary btn-lg px-4 mb-2'
href='/docs/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}overview/introduction/'
Expand All @@ -23,9 +23,14 @@ <h1 class='mt-0'>{{ .Title }}</h1>

{{ define "sidebar-prefooter" }}
<section class='section section-sm'>
<div class='container'>
<div class='container hr'>
<div class='row justify-content-center text-center'>
<div class='col-12 col-lg-4 pros-card'>
<div class='col-12'>
<h2>
Why WAHA?
</h2>
</div>
<div class='col-12 col-lg-4 pros-card'>
<img src='/images/icons/free.png' alt='Free' style='width: 5rem'>
<h2 class='h4'>It's free!</h2>
<p>
Expand Down
3 changes: 3 additions & 0 deletions docs/site/layouts/partials/head/custom-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
.pros-card:focus {
box-shadow: 0 0 1rem 0 #4aae2050;
}
.hr {
border-top: 1px solid #e9ecef;
}
</style>
<!-- /Main page cards -->

0 comments on commit bd770a6

Please sign in to comment.