generated from nginx/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 3
Mainframe Homepage #227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
danielledeleo
wants to merge
3
commits into
main
Choose a base branch
from
homepage
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+239
−52
Open
Mainframe Homepage #227
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,83 @@ | ||
{{ define "main" }} | ||
{{ $nginxProducts := slice | ||
(dict "title" "NGINX One Console" "url" "/nginx-one" "type" "nginx-one") | ||
(dict "title" "NGINX Plus" "url" "/nginx" "type" "nginx-one") | ||
(dict "title" "NGINX Instance Manager" "url" "/nginx-instance-manager" "type" "nginx-one") | ||
(dict "title" "NGINX Ingress Controller" "url" "/nginx-ingress-controller" "type" "nginx-one") | ||
(dict "title" "NGINX Gateway Fabric" "url" "/nginx-gateway-fabric" "type" "nginx-one") | ||
(dict "title" "NGINX Open Source" "url" "https://nginx.org/en/docs/" "type" "nginx-one") | ||
(dict "title" "NGINX Agent" "url" "/nginx-agent" "type" "nginx-one") | ||
(dict "title" "NGINX App Protect WAF" "url" "/nginx-app-protect-waf" "type" "nginx-app-protect") | ||
(dict "title" "NGINX App Protect DoS" "url" "/nginx-app-protect-dos" "type" "nginx-app-protect") | ||
(dict "title" "NGINX as a Service for Azure" "url" "/nginxaas/azure/" "type" "nginx-as-a-service") | ||
(dict "title" "NGINX Unit" "url" "https://unit.nginx.org/" "type" "nginx-other") | ||
}} | ||
|
||
<h1>Homepage Example</h1> | ||
<p> | ||
<ul> | ||
<li> | ||
<a href="{{ relref . "nginx" }}">NGINX and NGINX Plus</a> | ||
</li> | ||
<li> | ||
<a href="{{ relref . "test-product" }}">Test Product</a> | ||
</li> | ||
</ul> | ||
</p> | ||
{{ $nginxCategories := | ||
(dict | ||
"nginx-one" "NGINX One" | ||
"nginx-app-protect" "NGINX App Protect" | ||
"nginx-as-a-service" "NGINX as a Service" | ||
"nginx-other" "Other NGINX Projects" | ||
) | ||
}} | ||
|
||
<div class="main"> | ||
<div class="home-layout"> | ||
<h1>Documentation</h1> | ||
<p>This is a short call to action to explore our examples and guides.</p> | ||
|
||
<div class="cta"> | ||
<a href="/test-product/" class="get-started-button">Get started with Test Product →</a> or <a href="#products">explore all products</a>. | ||
</div> | ||
|
||
<div class="jump-links"> | ||
<ul> | ||
<h3>Instance management</h3> | ||
<li><a href="https://docs.nginx.com/nginx-one/how-to/certificates/manage-certificates/">Manage certificates<span class="tiny-pill">One</span></a></li> | ||
<li><a href="#">Role-based access control</a></li> | ||
<li><a href="#">Create a new data plane key</a></li> | ||
</ul> | ||
<ul> | ||
<h3>Kubernetes</h3> | ||
<li><a href="https://docs.nginx.com/nginx-one/how-to/certificates/manage-certificates/">Manage certificates</a></li> | ||
<li><a href="#">Role-based access control</a></li> | ||
<li><a href="#">Create a new data plane key</a></li> | ||
</ul> | ||
<ul> | ||
<h3>Load balancing</h3> | ||
<li><a href="#">NGINX HTTP Load Balancing</a></li> | ||
<li><a href="#">NGINX TCP and UDP Load Balancing</a></li> | ||
<li><a href="#">GSLB with NS1 and NGINX Plus<span class="tiny-pill">N+</span></a></li> | ||
</ul> | ||
</div> | ||
|
||
<p>The NGINX One Console makes it easy to manage NGINX instances across locations and environments. The console lets you monitor and control your NGINX fleet from one place—you can check configurations, track performance metrics, identify security vulnerabilities, manage SSL certificates, and more.</p> | ||
|
||
<div id="products"> | ||
<h2>All products</h2> | ||
{{ $groupedProducts := dict | ||
"nginx-one" (where $nginxProducts "type" "nginx-one") | ||
"nginx-app-protect" (where $nginxProducts "type" "nginx-app-protect") | ||
"nginx-as-a-service" (where $nginxProducts "type" "nginx-as-a-service") | ||
"nginx-other" (where $nginxProducts "type" "nginx-other") | ||
}} | ||
{{ $orderedKeys := slice "nginx-one" "nginx-app-protect" "nginx-as-a-service" "nginx-other" }} | ||
{{ range $orderedKeys }} | ||
{{ $type := . }} | ||
{{ $products := index $groupedProducts $type }} | ||
<div class="product-grid"> | ||
<p class="product-title">{{ index $nginxCategories $type }}</p> | ||
<ul> | ||
{{ range $products }} | ||
<li> | ||
<a class="product-tile" href="{{ .url }}">{{ .title }}</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</div> | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
{{end}} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.