Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b55e26d

Browse files
committedMay 16, 2025·
docs: add pricing
1 parent 1565eee commit b55e26d

File tree

6 files changed

+869
-5
lines changed

6 files changed

+869
-5
lines changed
 

‎docs/assets/scss/_pricing.scss

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.pricing-table {
2+
th {
3+
padding: 0 .75rem !important; // stylelint-disable-line declaration-no-important
4+
vertical-align: top;
5+
border: 0;
6+
}
7+
8+
td:nth-child(n+2):nth-child(-n+4),
9+
th:nth-child(n+2):nth-child(-n+4) {
10+
text-align: center;
11+
}
12+
13+
tbody {
14+
font-size: .875rem;
15+
}
16+
17+
td:first-child:not([colspan]) {
18+
color: var(--cui-secondary-color);
19+
white-space: nowrap;
20+
}
21+
22+
// stylelint-disable-next-line selector-max-universal
23+
> :not(caption) > * > * {
24+
padding: .75rem;
25+
}
26+
}
27+
28+
.pricing-customers-grid {
29+
svg {
30+
max-width: 100%;
31+
max-height: 32px;
32+
fill: var(--cui-tertiary-color);
33+
}
34+
35+
svg [class*="-"],
36+
svg g,
37+
svg path {
38+
fill: var(--cui-tertiary-color);
39+
}
40+
}

‎docs/assets/scss/docs.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@
4747
// Load docs dependencies
4848
@forward "syntax";
4949
@forward "anchor";
50+
51+
// Pricing
52+
@forward "pricing";

‎docs/content/pricing/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: pricing
3+
title: Start using CoreUI's products for free!
4+
description: Compare CoreUI plans for developers — choose from Free, Pro, or Enterprise licenses. Start for free and upgrade anytime for advanced features and premium support.
5+
group: components
6+
---

‎docs/layouts/_default/pricing.html

Lines changed: 802 additions & 0 deletions
Large diffs are not rendered by default.

‎docs/layouts/partials/banner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<img src="https://coreui.io/images/frameworks/core_blue_960px.png" class="img-fluid" width="160px" height="160px" alt="CoreUI PRO hexagon">
66
</div>
77
<div class="col-md col-12 px-lg-4">This component is part of CoreUI PRO – a powerful UI library with over 250 components and 25+ templates, designed to help you build modern, responsive apps faster. Fully compatible with Angular, Bootstrap, React.js, and Vue.js.</div>
8-
<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/pricing/?src=coreui-docs&cta=pro-banner">Get CoreUI PRO</a></div>
8+
<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/bootstrap/docs/pricing/?src=coreui-docs&cta=pro-banner">Get CoreUI PRO</a></div>
99
</div>
1010
</div>
1111
{{ end }}

‎docs/layouts/partials/header.html

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,22 @@
33
<button class="header-toggler d-lg-none" type="button" aria-controls="bdNavbar" aria-expanded="false" aria-label="Toggle navigation" onclick="coreui.Sidebar.getInstance(document.querySelector('#sidebar')).toggle()">
44
{{ partial "icons/hamburger.svg" (dict "class" "bi" "width" "32" "height" "32") }}
55
</button>
6-
<div class="docs-search" id="docsearch"></div>
6+
77

8-
<ul class="header-nav ms-auto">
8+
<ul class="header-nav me-auto">
9+
<li class="nav-item">
10+
<a class="nav-link" href="/getting-started/introduction/">
11+
Get Started
12+
</a>
13+
</li>
14+
<li class="nav-item">
15+
<a class="nav-link" href="/pricing/">
16+
Pricing
17+
</a>
18+
</li>
19+
</ul>
20+
<div class="docs-search" id="docsearch"></div>
21+
<ul class="header-nav ms-3">
922
<li class="nav-item">
1023
<a class="nav-link" href="{{ .Site.Params.github_org }}" target="_blank" rel="noopener">
1124
{{ partial "icons/github.svg" (dict "class" "icon icon-xl") }}
@@ -52,10 +65,10 @@
5265
<hr class="d-lg-none my-2 text-white-50">
5366
</li>
5467
</ul>
55-
<a class="btn btn-outline-primary d-lg-inline-block my-2 my-md-0 ms-md-3" href="/getting-started/download/">
68+
<!-- <a class="btn btn-outline-primary d-lg-inline-block my-2 my-md-0 ms-md-3" href="/getting-started/download/">
5669
{{ partial "icons/cloud-download.svg" (dict "class" "icon me-lg-2") }}
5770
<span class="d-none d-lg-inline-block">Download</span>
58-
</a>
71+
</a> -->
5972
<a class="btn btn-outline-primary d-lg-inline-block my-2 my-md-0 ms-md-3" href="https://coreui.io/about/services/?docs=coreui-header-button">
6073
{{ partial "icons/handshake.svg" (dict "class" "icon me-2") }}
6174
Hire Us

0 commit comments

Comments
 (0)
Please sign in to comment.