Progress on tea-cli page, new partial

This commit is contained in:
Thomas Smith 2022-10-07 13:31:47 -04:00
parent 25bd62f9cc
commit e8e288b42e
3 changed files with 61 additions and 1 deletions

View file

@ -24,7 +24,7 @@
<div class="col-lg-6 col-md-6 col-sm-12 col-12">
<h3>tea cli</h3>
<p>Our command-line interface is beautiful in its simplicity. Like that cup of lemon-ginger, weve designed our CLI or be snappy and to-the-point. Theres no honey or superfluous add-ins here; as with any good tool, our interface does what it <em>has to</em>, and then gets out of the way so that you can do what you <em>want</em> to.</p>
<button href="/tea-cli/" class="detail-btn-large"><i class="icon-enter-arrow"></i>VIEW ALL DETAILS</button>
<button onclick="window.location.href='/tea-cli/'" class="detail-btn-large"><i class="icon-enter-arrow"></i>VIEW ALL DETAILS</button>
</div>
<div class="col">

View file

@ -11,4 +11,26 @@
</div>
</section>
<section class="teal-bg">
<div class="container">
<div class="row">
<div class="col">
<p class="black text-center">TOTAL DOWNLOADS</p>
<p class="black text-center"><span id="tea-cli-downloads">612,085</span></p>
</div>
<div class="col">
<p class="black text-center">TOTAL DOWNLOADS</p>
<p class="black text-center"><span id="tea-cli-ver-downloads">612,085</span></p>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<h2>Versions</h2>
</div>
{{- partial "tea-cli-accordion.html" . -}}
</section>
{{ end }}

View file

@ -0,0 +1,38 @@
<div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Accordion Item #1
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Accordion Item #2
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Accordion Item #3
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
</div>