|
3 | 3 | <main class="docs-main order-1">
|
4 | 4 | <div class="docs-intro ps-lg-4">
|
5 | 5 | {{ partial "breadcrumb" . }}
|
6 |
| - {{ if .Page.Params.pro_component }} |
7 |
| - <div class="bg-danger bg-opacity-10 border-start border-start-5 border-start-danger p-4 pb-3 mb-5"> |
8 |
| - <h3 class="mb-4">CoreUI PRO Component</h3> |
9 |
| - <p> |
10 |
| - 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. |
11 |
| - </p> |
| 6 | + {{ partial "banner" . }} |
| 7 | + {{ if .Page.Params.bootstrap }} |
| 8 | + <div class="d-flex flex-column"> |
| 9 | + <h1 class="order-2 h5 mb-4 text-body-secondary" id="content">Bootstrap 5 {{ .Title | markdownify | title }}</h1> |
| 10 | + <h2 class="docs-title order-1 h1">{{ .Title | markdownify }}</h2> |
12 | 11 | </div>
|
13 | 12 | {{ else }}
|
14 |
| - <div class="bg-info bg-opacity-10 border-start border-start-5 border-start-info p-4 pb-3 mb-5"> |
15 |
| - <h3 class="mb-4">Support CoreUI Development</h3> |
16 |
| - <p> |
17 |
| - CoreUI is an MIT-licensed open source project and is completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. |
18 |
| - </p> |
19 |
| - <p> |
20 |
| - You can support our Open Source software development in the following ways: |
21 |
| - </p> |
22 |
| - <ul> |
23 |
| - <li>Buy the <a href="https://coreui.io/pricing/?framework=bootstrap&docs=coreui-banner-free">CoreUI PRO</a> and get access to all PRO components, features, templates, and dedicated support.</li> |
24 |
| - <li><a href="https://opencollective.com/coreui" target="_blank">Became a sponsor</a>, and get your logo on BACKERS.md/README.md files or each site of this documentation</li> |
25 |
| - <li>Give us a star ⭐️ on <a href="https://github.com/coreui/coreui" target="_blank">Github</a>.</li> |
26 |
| - </ul> |
27 |
| - </div> |
28 |
| - {{ end }} |
29 | 13 | <h1 class="docs-title" id="content">{{ .Title | markdownify }}</h1>
|
| 14 | + {{ end }} |
30 | 15 | <p class="docs-lead">{{ .Page.Params.Description | markdownify }}</p>
|
31 | 16 | {{ partial "ads" . }}
|
32 | 17 | {{ if .Page.Params.other_frameworks }}
|
|
0 commit comments