Skip to content

Commit 7e5e29d

Browse files
committed
Fix catalog and home page
1 parent 854ea90 commit 7e5e29d

File tree

4 files changed

+11
-212
lines changed

4 files changed

+11
-212
lines changed

layouts/index.html

Lines changed: 0 additions & 195 deletions
Original file line numberDiff line numberDiff line change
@@ -1,199 +1,4 @@
11
{{ define "main" }}
2-
<div data-mf="false">
3-
<div class="page col-md-12 col-xl-12 pl-md-5" id="site-home">
4-
5-
<div class="justify-content-left" style="margin-left: 1.5em;">
6-
{{ if eq .Title "NGINX Product Documentation" }}
7-
<h2 style="font-weight: 300; font-size: 2em; margin-top: 25px">NGINX Product Documentation</h2>
8-
{{ end}} {{ if .Description }}
9-
<h2 class="bd-lead" style="font-weight: 300; font-size: 1.3em;">{{ .Description | markdownify }}</h2>
10-
{{ end}} {{ if .Content }}
11-
<p class="bd-lead">{{ .Content }}</p>
12-
{{ end }}
13-
</div>
14-
15-
</div>
16-
17-
<div class="col-md-12 col-xl-12 py-md-3 pl-md-5">
18-
<div class="justify-content-left" style="margin-left: 1.5em;">
19-
<h2 style="font-weight: 400; font-size: 1.5em; margin-top: 0px; margin-bottom: 0px;">NGINX One</h2>
20-
</div>
21-
</div>
22-
23-
<div class="container-fluid" style="margin-left: 1%;">
24-
<section class="col-md-12 col-xl-12 py-md-3 pl-md-5" id="nginx-products">
25-
<div class="row justify-content-center">
26-
<div class="card-deck">
27-
28-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
29-
<a href="{{ .Site.BaseURL }}nginx-one" class="products-card" alt="NGINX One Console">
30-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-One-product-icon.png"> NGINX One Console</h3>
31-
<div class="card-description">
32-
<p>Monitor your infrastructure, address security vulnerabilities, and assess the health of your NGINX fleet, all from a single console.</p>
33-
</div>
34-
</a>
35-
</div>
36-
37-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
38-
<a href="{{ .Site.BaseURL }}nginx" class="products-card" alt="NGINX Plus">
39-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-Plus-product-icon-RGB.png"> NGINX Plus</h3>
40-
<div class="card-description">
41-
<p>The all-in-one load balancer, reverse proxy, web server, content cache, and API gateway.</p>
42-
</div>
43-
</a>
44-
</div>
45-
46-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
47-
<a href="{{ .Site.BaseURL }}nginx-instance-manager" class="products-card" alt="NGINX Instance Manager">
48-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-Instance-Manager-product-icon.png"> NGINX Instance Manager</h3>
49-
<div class="card-description">
50-
<p>Track and control NGINX Open Source and NGINX Plus instances.</p>
51-
</div>
52-
</a>
53-
</div>
54-
55-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
56-
<a href="{{ .Site.BaseURL }}nginx-ingress-controller" class="products-card" alt="NGINX Ingress Controller">
57-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-Ingress-Controller-product-icon.png"> NGINX Ingress Controller</h3>
58-
<div class="card-description">
59-
<p>Kubernetes traffic management with API gateway, identity, and observability features</p>
60-
</div>
61-
</a>
62-
</div>
63-
64-
65-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
66-
<a href="{{ .Site.BaseURL }}nginx-gateway-fabric" class="products-card" alt="NGINX Gateway Fabric">
67-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-Gateway-Fabric-product-icon.png"> NGINX Gateway Fabric</h3>
68-
<div class="card-description">
69-
<p>Next generation Kubernetes connectivity using the Gateway API.</p>
70-
</div>
71-
</a>
72-
</div>
73-
74-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
75-
<a href="https://nginx.org/en/docs/" class="products-card" alt="NGINX Open Source">
76-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-product-icon.png"> NGINX Open Source</h3>
77-
<div class="card-description">
78-
<p>The open source all-in-one load balancer, content cache, and web server</p>
79-
</div>
80-
</a>
81-
</div>
82-
83-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
84-
<a href="{{ .Site.BaseURL }}nginx-agent" class="products-card" alt="NGINX Agent">
85-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-product-icon.png"> NGINX Agent</h3>
86-
<div class="card-description">
87-
<p>A daemon providing observability data and remote configuration for NGINX Open Source and NGINX Plus instances</p>
88-
</div>
89-
</a>
90-
</div>
91-
92-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
93-
<a href="{{ .Site.BaseURL }}solutions" class="products-card" alt="NGINX Solutions">
94-
<div class="saas-card">
95-
<div class="saas-icon"><img style="width: auto; height: auto;" src="{{ .Site.BaseURL }}/images/icons/NGINX-product-icon.png"></div>
96-
<div class="saas-description">
97-
<h3 class="saas-title">Subscription Licensing & Solutions</h3>
98-
<p>Stay compliant with your NGINX subscription licenses and see how you can use NGINX One to build secure, scalable, and high-performing applications and APIs.</p>
99-
</div>
100-
</div>
101-
</a>
102-
</div>
103-
104-
</div>
105-
</div>
106-
</section>
107-
</div>
108-
109-
<div class="col-md-12 col-xl-12 py-md-3 pl-md-5">
110-
<div class="justify-content-left" style="margin-left: 1.5em;">
111-
<h2 style="font-weight: 400; font-size: 1.5em; margin-top: 0px; margin-bottom: 0px;">NGINX App Protect</h2>
112-
</div>
113-
</div>
114-
115-
116-
<div class="container-fluid" style="margin-left: 1%;">
117-
<section class="col-md-12 col-xl-12 py-md-3 pl-md-5" id="nginx-products">
118-
<div class="row justify-content-center">
119-
<div class="card-deck">
120-
121-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
122-
<a href="{{ .Site.BaseURL }}nginx-app-protect-waf" class="products-card" alt="NGINX App Protect WAF">
123-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-App-Protect-WAF-product-icon.png"> NGINX App Protect WAF</h3>
124-
<div class="card-description">
125-
<p>Lightweight, high-performance, advanced protection against Layer 7 attacks on your apps and APIs</p>
126-
</div>
127-
</a>
128-
</div>
129-
130-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
131-
<a href="{{ .Site.BaseURL }}nginx-app-protect-dos" class="products-card" alt="NGINX App Protect DoS">
132-
<h3 class="card-title"><img class="card-img-top" src="{{ .Site.BaseURL }}/images/icons/NGINX-App-Protect-DoS-product-icon.png"> NGINX App Protect DoS</h3>
133-
<div class="card-description">
134-
<p>Defend, adapt, and mitigate against Layer 7 denial-of-service attacks on your apps and APIs</p>
135-
</div>
136-
</a>
137-
</div>
138-
139-
</div>
140-
</div>
141-
</section>
142-
</div>
143-
144-
<div class="col-md-12 col-xl-12 py-md-3 pl-md-5">
145-
<div class="justify-content-left" style="margin-left: 1.5em;">
146-
<h2 style="font-weight: 400; font-size: 1.5em; margin-top: 0px; margin-bottom: 0px;">NGINX as a Service</h2>
147-
</div>
148-
</div>
149-
150-
<div class="container-fluid" style="margin-left: 1%;">
151-
<section class="col-md-12 col-xl-12 py-md-3 pl-md-5" id="nginx-products">
152-
<div class="row justify-content-center">
153-
<div class="card-deck">
154-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
155-
<a href="{{ .Site.BaseURL }}nginxaas/azure" class="products-card" alt="NGINX as a Service for Azure">
156-
<div class="saas-card">
157-
<div class="saas-icon"><img style="width: auto; height: auto;" src="{{ .Site.BaseURL }}/images/icons/NGINX-for-Azure-product-icon.png"></div>
158-
<div class="saas-description">
159-
<h3 class="saas-title">NGINX as a Service for Azure</h3>
160-
<p>Infrastructure-as-a-Service (IaaS) version of NGINX Plus for your Microsoft Azure application stack</p>
161-
</div>
162-
</div>
163-
</a>
164-
</div>
165-
</div>
166-
</div>
167-
</section>
168-
</div>
169-
170-
<div class="col-md-12 col-xl-12 py-md-3 pl-md-5">
171-
<div class="justify-content-left" style="margin-left: 1.5em;">
172-
<h2 style="font-weight: 400; font-size: 1.5em; margin-top: 0px; margin-bottom: 0px;">More NGINX Products</h2>
173-
</div>
174-
</div>
175-
176-
<div class="container-fluid" style="margin-left: 1%;">
177-
<section class="col-md-12 col-xl-12 py-md-3 pl-md-5" id="nginx-products">
178-
<div class="row justify-content-center">
179-
<div class="card-deck">
180-
<div class="col-xs-12 col-sm-6 col-lg-4 card-holder">
181-
<a href="{{ .Site.BaseURL }}nginx-unit" class="products-card" alt="NGINX Unit">
182-
<div class="saas-card">
183-
<div class="saas-icon"><img style="width: auto; height: auto;" src="{{ .Site.BaseURL }}/images/icons/NGINX-Unit-product-icon-RGB.png"></div>
184-
<div class="saas-description">
185-
<h3 class="saas-title">NGINX Unit</h3>
186-
<p>Dynamic app server that can run beside NGINX, NGINX Plus, or on its own</p>
187-
</div>
188-
</div>
189-
</a>
190-
</div>
191-
</div>
192-
</div>
193-
</section>
194-
</div>
195-
</div>
196-
1972
{{/* mf homepage */}}
1983

1994
<div class="homepage" data-mf="true">
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{{/* This shortcode **requires** that the document uses the _default/catalogs.html layout */}}
2-
<main class="content col-xl-6 d-block align-top" role="main">
2+
<main class="content col-xl-6 d-block align-top catalog" role="main">
33
<h1>NGINX Management Suite Dimensions Catalog</h1>
44
<p>Information about all of the Dimensions collected by NGINX Agent</p>
55
&nbsp;
66
{{ range .Site.Data.nms.catalogs.dimensions }}
77
<a name="{{.name}}"></a>
8-
<h2>{{.name}}<a class="headerlink float-right" href="#{{.name}}" title="{{.name}}"><i class="fas fa-link fa-xs"
9-
aria-hidden="true"></i></a></h2>
10-
<table>
8+
<h2>{{.name}}<a class="headerlink float-right" href="#{{.name}}" title="{{.name}}"></a></h2>
9+
<table class="catalog__table">
1110
<tbody>
1211
<tr>
1312
<td style="width: 200px; padding-bottom:5px">description</td>
@@ -19,6 +18,5 @@ <h2>{{.name}}<a class="headerlink float-right" href="#{{.name}}" title="{{.name}
1918
</tr>
2019
</tbody>
2120
</table>
22-
<hr>
2321
{{ end }}
2422
</main>

layouts/shortcodes/catalogs-events.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{{/* This shortcode **requires** that the document uses the _default/catalogs.html layout */}}
2-
<main class="content col-xl-6 d-block align-top" role="main">
2+
<main class="content col-xl-6 d-block align-top catalog" role="main">
33
<h1>NGINX Management Suite Events Catalog</h1>
44
<p>Information about all of the Events collected by NGINX Agent</p>
55
&nbsp;
66
{{ range .Site.Data.nms.catalogs.events }}
77
<a name="{{.name}}"></a>
88
<h2 id={{.name}}>{{.name}}
9-
<a class="headerlink float-right" href="#{{.name}}" title="{{.name}}"><i class="fas fa-link fa-xs"
10-
aria-hidden="true"></i></a>
9+
<a class="headerlink float-right" href="#{{.name}}" title="{{.name}}"></a>
1110
</h2>
12-
<table>
11+
<table class="catalog__table">
1312
<tbody>
1413
<tr>
1514
<td style="width: 200px; padding-bottom:5px">description</td>
@@ -55,6 +54,5 @@ <h2 id={{.name}}>{{.name}}
5554
</tr>
5655
</tbody>
5756
</table>
58-
<hr>
5957
{{ end }}
60-
</main>
58+
</main>

layouts/shortcodes/catalogs-metrics.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{{/* This shortcode **requires** that the document uses the _default/catalogs.html layout */}}
2-
<main class="content col-xl-6 d-block align-top" role="main">
2+
<main class="content col-xl-6 d-block align-top catalog" role="main">
33
<h1>NGINX Management Suite Metrics Catalog</h1>
44
<p>Information about all of the Metrics collected by NGINX Agent</p>
55
&nbsp;
66
{{ range .Site.Data.nms.catalogs.metrics }}
77
<a name="{{.name}}"></a>
88
<h2 id={{.name}}>{{.name}}
9-
<a class="headerlink float-right" href="#{{.name}}" title="{{.name}}"><i class="fas fa-link fa-xs"
10-
aria-hidden="true"></i></a>
9+
<a class="headerlink float-right" href="#{{.name}}" title="{{.name}}"></a>
1110
</h2>
12-
<table>
11+
<table class="catalog__table">
1312
<tbody>
1413
<tr>
1514
<td style="width: 200px; padding-bottom:5px">description</td>
@@ -55,6 +54,5 @@ <h2 id={{.name}}>{{.name}}
5554
</tr>
5655
</tbody>
5756
</table>
58-
<hr>
5957
{{ end }}
60-
</main>
58+
</main>

0 commit comments

Comments
 (0)