Skip to content

Commit 87829b4

Browse files
committed
docs: add a banner for the New Year sale.
1 parent d47f0f3 commit 87829b4

File tree

3 files changed

+43
-1
lines changed

3 files changed

+43
-1
lines changed

docs/layouts/_default/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<main class="docs-main order-1">
44
<div class="docs-intro ps-lg-4">
55
{{ partial "breadcrumb" . }}
6-
{{ partial "banner-xmas" . }}
6+
{{ partial "banner-new-year" . }}
77
{{ partial "banner" . }}
88
{{ if .Page.Params.bootstrap }}
99
<div class="d-flex flex-column">
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<section
2+
class="bg-primary-gradient position-relative text-white rounded p-3 p-xl-4 ps-xl-0 mb-5 snowfall"
3+
>
4+
<div class="container">
5+
<div class="row flex-column flex-md-row align-items-md-center">
6+
<div class="col-auto d-none d-lg-flex mx-lg-3">
7+
<img
8+
src="/assets/img/rocket.svg"
9+
alt="Christmas Tree"
10+
height="100"
11+
width="100"
12+
/>
13+
</div>
14+
<div class="col">
15+
<div class="fw-semibold fs-4">
16+
New Year sale. Skyrocket your business in 2025!
17+
</div>
18+
<div>
19+
Extra 25% off for all sale items + Free CoreUI Icons PRO with every
20+
order!<br />Limited-time offer for the first 100 customers in 2025.
21+
Use code <strong>2025SKY25</strong> at checkout.
22+
</div>
23+
</div>
24+
<div class="col-auto">
25+
<a
26+
href="https://coreui.io/pricing/#pricing-table"
27+
class="btn border-2 btn-outline-light btn-lg mt-3 mt-lg-0"
28+
>Get offer!</a
29+
>
30+
</div>
31+
</div>
32+
</div>
33+
<canvas
34+
width="974"
35+
height="188"
36+
style="position: absolute; left: 0px; top: 0px; pointer-events: none"
37+
></canvas>
38+
</section>

docs/static/assets/img/rocket.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)