Skip to content

Commit 36f484a

Browse files
committed
docs: update layout
1 parent 2a3499f commit 36f484a

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

docs/layouts/partials/banner.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{{ if .Page.Params.pro_component }}
2-
<div class="bg-danger bg-opacity-10 border-start border-start-5 border-start-danger p-4 pb-3 mb-5">
3-
<h3 class="mb-4">CoreUI PRO Component</h3>
4-
<p>
5-
To use this component you must have a CoreUI PRO license. Buy the <a href="https://coreui.io/pricing/?framework=bootstrap&docs=coreui-banner-pro">CoreUI PRO</a> and get access to all PRO components, features, templates, and dedicated support.
6-
</p>
2+
<div class="bg-info bg-opacity-10 border border-2 border-info rounded d-flex align-items-center p-3 px-xl-4 mb-5 row flex-xl-nowrap">
3+
<div class="col-xl-auto col-12 d-none d-xl-block p-0">
4+
<img src="https://coreui.io/images/frameworks/core_blue_960px.png" class="img-fluid" width="160px" height="160px" alt="CoreUI PRO hexagon">
75
</div>
6+
<div class="col-md col-12 px-lg-4">This Component is a part of CoreUI PRO, an advanced UI library offering over 100 components designed for creating responsive, sleek, and powerful applications. Experience it yourself by signing up for a complimentary 7-day trial.</div>
7+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-danger text-nowrap text-white" href="https://coreui.io/trial/?src=coreui-docs&cta=pro-banner">Start Free Trial</a></div>
8+
</div>
89
{{ end }}
910
{{ if .Page.Params.preview_component }}
1011
<div class="bg-warning bg-opacity-10 border-start border-start-5 border-start-warning p-4 pb-3 mb-5">
11-
<h3 className="mb-4">Alpha release</h3>
12+
<h3 class="mb-4">Alpha release</h3>
1213
<p>
1314
This component is in the Alpha phase and has an experimental API, which can be changed in the final release. If you want to use this component, please install <strong>@coreui/coreui-pro {{ .Page.Params.preview_component }}</strong>
1415
</p>

docs/layouts/partials/header.html

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@
1111
{{ partial "icons/github.svg" (dict "class" "icon icon-xl") }}
1212
</a>
1313
</li>
14-
<li class="nav-item">
15-
<a class="nav-link" href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank" rel="noopener">
16-
{{ partial "icons/twitter.svg" (dict "class" "icon icon-xl") }}
17-
</a>
18-
</li>
19-
<li class="nav-item">
20-
<a class="nav-link" href="https://opencollective.com/{{ .Site.Params.opencollective }}" target="_blank" rel="noopener">
21-
{{ partial "icons/opencollective.svg" (dict "class" "icon icon-xl") }}
22-
</a>
23-
</li>
2414
<li class="nav-item py-2 py-lg-1">
2515
<div class="vr d-none d-lg-flex h-100 mx-lg-2 text-body text-opacity-75"></div>
2616
<hr class="d-lg-none my-2 text-white-50">
@@ -70,8 +60,8 @@
7060
{{ partial "icons/handshake.svg" (dict "class" "icon me-2") }}
7161
Hire Us
7262
</a>
73-
<a class="btn btn-primary d-lg-inline-block my-2 my-md-0 ms-md-3" href="https://coreui.io/pricing/?framework=bootstrap&docs=coreui-header-button">
74-
Buy CoreUI PRO
63+
<a class="btn btn-primary d-lg-inline-block my-2 my-md-0 ms-md-3" href="https://coreui.io/pricing/?framework=bootstrap&src=coreui-docs&cta=coreui-header-button">
64+
Get CoreUI PRO all-access →
7565
</a>
7666
</nav>
7767
</header>

0 commit comments

Comments
 (0)