From 8f754da5c8bb4ebcc06185b41abecd05dec707b9 Mon Sep 17 00:00:00 2001 From: Lam Nguyen Date: Fri, 30 May 2025 12:03:41 -0700 Subject: [PATCH 1/4] feat: Add custom landing page to N1 via index.md --- content/nginx-one/_index.md | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/content/nginx-one/_index.md b/content/nginx-one/_index.md index 21284cbf0..fd37be70f 100644 --- a/content/nginx-one/_index.md +++ b/content/nginx-one/_index.md @@ -5,4 +5,44 @@ url: /nginx-one/ cascade: logo: "NGINX-One-product-icon.svg" --- +{{< card-layout >}} + {{< card-section >}} + {{< card title="Manage your NGINX fleet" >}} + Simplify, scale, secure, and collaborate with your NGINX fleet + {{}} + {{< card title="Get started" >}} + See benefits from the NGINX One Console + {{}} + {{}} + # Other Products + {{< card-section title="Kubernetes Solutions">}} + {{< card title="NGINX Ingress Controller" titleUrl="/nginx-ingress-controller/">}} + Kubernetes traffic management with API gateway, identity, and observability features. + {{}} + {{< card title="NGINX Gateway Fabric" titleUrl="/nginx-gateway-fabric">}} + Next generation Kubernetes connectivity using the Gateway API. + {{}} + {{}} + {{< card-section title="Local Console Option">}} + {{< card title="NGINX Instance Manager" titleUrl="/nginx-instance-manager">}} + Track and control NGINX Open Source and NGINX Plus instances. + {{}} + {{}} + {{< card-section title="Modern App Delivery">}} + {{< card title="NGINX Plus" titleUrl="/nginx">}} + The all-in-one load balancer, reverse proxy, web server, content cache, and API gateway. + {{}} + {{< card title="NGINX Open Source" titleUrl="nginx.org">}} + The open source all-in-one load balancer, content cache, and web server + {{}} + {{}} + {{< card-section title="Security">}} + {{< card title="NGINX App Protect WAF" titleUrl="/nginx-app-protect-waf">}} + Lightweight, high-performance, advanced protection against Layer 7 attacks on your apps and APIs. + {{}} + {{< card title="NGINX App Protect DoS" titleUrl="/nginx-app-protect-dos">}} + Defend, adapt, and mitigate against Layer 7 denial-of-service attacks on your apps and APIs. + {{}} + {{}} +{{}} \ No newline at end of file From 8d501c7e2dc43f37559c96a2a717659f371aa63c Mon Sep 17 00:00:00 2001 From: Lam Nguyen Date: Mon, 2 Jun 2025 08:37:32 -0700 Subject: [PATCH 2/4] Removed list-main --- layouts/partials/list-main.html | 119 -------------------------------- 1 file changed, 119 deletions(-) delete mode 100644 layouts/partials/list-main.html diff --git a/layouts/partials/list-main.html b/layouts/partials/list-main.html deleted file mode 100644 index be455babf..000000000 --- a/layouts/partials/list-main.html +++ /dev/null @@ -1,119 +0,0 @@ -{{/* TODO: Delete this page, and use the one from nginx-hugo-them */}} -
- {{ $PageTitle := .Title }} -
- -
- - {{ if or (lt .WordCount 1) (eq $PageTitle "F5 NGINX One Console") (eq $PageTitle "F5 NGINX App Protect DoS") (eq $PageTitle "F5 NGINX Plus") }} -
-
-
- {{ range .Pages.GroupBy "Section" }} - {{ range .Pages.ByWeight }} -
-
-

- - {{ .Title }} -

- {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Manage your NGINX fleet")}} -

Simplify, scale, secure, and collaborate with your NGINX fleet

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Get started")}} -

See benefits from the NGINX One Console

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Draft new configurations")}} -

Work with Staged Configurations

- {{ end }} - - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Manage your NGINX instances")}} -

Monitor and maintain your deployments

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Organize users with RBAC")}} -

Assign responsibilities with role-based access control

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Automate with the NGINX One API")}} -

Manage your NGINX fleet over REST

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Glossary")}} -

Learn terms unique to NGINX One Console

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Connect your instances") }} -

Work with data plane keys, containers, and proxy servers

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Set up metrics") }} -

Review your deployments in a dashboard

- {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "API")}} -

These are API docs

- - {{ end }} - {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Changelog") }} - {{ partial "changelog-date.html" . }} - {{ end }} -
-
- {{ end }} - {{ end }} -
- {{ if eq $PageTitle "F5 NGINX One Console" }} -

Other Products

- {{ $nginxProducts := slice - (dict "title" "NGINX Instance Manager" "url" "/nginx-instance-manager" "imgSrc" "NGINX-Instance-Manager-product-icon" "type" "local-console-option" "description" "Track and control NGINX Open Source and NGINX Plus instances.") - (dict "title" "NGINX Ingress Controller" "url" "/nginx-ingress-controller" "imgSrc" "NGINX-Ingress-Controller-product-icon" "type" "kubernetes-solutions" "description" "Kubernetes traffic management with API gateway, identity, and observability features.") - (dict "title" "NGINX Gateway Fabric" "url" "/nginx-gateway-fabric" "imgSrc" "NGINX-product-icon" "type" "kubernetes-solutions" "description" "Next generation Kubernetes connectivity using the Gateway API.") - (dict "title" "NGINX App Protect WAF" "url" "/nginx-app-protect-waf" "imgSrc" "NGINX-App-Protect-WAF-product-icon" "type" "security" "description" "Lightweight, high-performance, advanced protection against Layer 7 attacks on your apps and APIs.") - (dict "title" "NGINX App Protect DoS" "url" "/nginx-app-protect-dos" "imgSrc" "NGINX-App-Protect-DoS-product-icon" "type" "security" "description" "Defend, adapt, and mitigate against Layer 7 denial-of-service attacks on your apps and APIs.") - (dict "title" "NGINX Plus" "url" "/nginx" "imgSrc" "NGINX-Plus-product-icon-RGB" "type" "modern-app-delivery" "description" "The all-in-one load balancer, reverse proxy, web server, content cache, and API gateway.") - (dict "title" "NGINX Open Source" "url" "https://nginx.org/en/docs/" "imgSrc" "NGINX-product-icon" "type" "modern-app-delivery" "description" "The open source all-in-one load balancer, content cache, and web server") - }} - {{ $groupedProducts := dict - "local-console-option" (where $nginxProducts "type" "local-console-option") - "kubernetes-solutions" (where $nginxProducts "type" "kubernetes-solutions") - "security" (where $nginxProducts "type" "security") - "modern-app-delivery" (where $nginxProducts "type" "modern-app-delivery") - }} - {{ range $type, $products := $groupedProducts }} -
-

{{ $type | humanize | title }}

- {{ range $products }} -
-
-

- - {{ .title }} -

-

- {{ if .description }}{{ .description | markdownify }}{{ end }} -

-
-
- {{ end }} -
- {{ end }} - {{ end }} -
-
- {{end}} -
From 06fa99745f78b4d802cb2f45174ccff7caa52a1e Mon Sep 17 00:00:00 2001 From: Lam Nguyen Date: Tue, 3 Jun 2025 11:19:05 -0700 Subject: [PATCH 3/4] Finish adding all the custom content for N1 landing page --- content/nginx-one/_index.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/content/nginx-one/_index.md b/content/nginx-one/_index.md index fd37be70f..dbbec7e47 100644 --- a/content/nginx-one/_index.md +++ b/content/nginx-one/_index.md @@ -2,6 +2,7 @@ title: F5 NGINX One Console description: The F5 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. url: /nginx-one/ +hasCustomContent: true cascade: logo: "NGINX-One-product-icon.svg" --- @@ -13,6 +14,27 @@ cascade: {{< card title="Get started" >}} See benefits from the NGINX One Console {{}} + {{< card title="Connect your instances" >}} + Work with data plane keys, containers, and proxy servers + {{}} + {{< card title="Manage your NGINX instances" >}} + Monitor and maintain your deployments + {{}} + {{< card title="Draft new configurations" >}} + Work with Staged Configurations + {{}} + {{< card title="Set up metrics" >}} + Review your deployments in a dashboard + {{}} + {{< card title="Organize users with RBAC" >}} + Assign responsibilities with role-based access control + {{}} + {{< card title="Automate with the NGINX One API" >}} + Manage your NGINX fleet over REST + {{}} + {{< card title="Glossary" >}} + Learn terms unique to NGINX One Console + {{}} {{}} # Other Products From a7f25288e56a2cf4b7701b4ca90d83c06075230a Mon Sep 17 00:00:00 2001 From: Lam Nguyen Date: Wed, 4 Jun 2025 12:44:07 -0700 Subject: [PATCH 4/4] Added changelog shortcode to Changelog card --- content/nginx-one/_index.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/content/nginx-one/_index.md b/content/nginx-one/_index.md index dbbec7e47..27bf8dbfe 100644 --- a/content/nginx-one/_index.md +++ b/content/nginx-one/_index.md @@ -35,35 +35,38 @@ cascade: {{< card title="Glossary" >}} Learn terms unique to NGINX One Console {{}} + {{< card title="Changelog" >}} + {{< changelog-dates >}} + {{}} {{}} # Other Products {{< card-section title="Kubernetes Solutions">}} - {{< card title="NGINX Ingress Controller" titleUrl="/nginx-ingress-controller/">}} + {{< card title="NGINX Ingress Controller" titleUrl="/nginx-ingress-controller/" icon="NGINX-Ingress-Controller-product-icon">}} Kubernetes traffic management with API gateway, identity, and observability features. {{}} - {{< card title="NGINX Gateway Fabric" titleUrl="/nginx-gateway-fabric">}} + {{< card title="NGINX Gateway Fabric" titleUrl="/nginx-gateway-fabric" icon="NGINX-product-icon">}} Next generation Kubernetes connectivity using the Gateway API. {{}} {{}} {{< card-section title="Local Console Option">}} - {{< card title="NGINX Instance Manager" titleUrl="/nginx-instance-manager">}} + {{< card title="NGINX Instance Manager" titleUrl="/nginx-instance-manager" icon="NGINX-Instance-Manager-product-icon">}} Track and control NGINX Open Source and NGINX Plus instances. {{}} {{}} {{< card-section title="Modern App Delivery">}} - {{< card title="NGINX Plus" titleUrl="/nginx">}} + {{< card title="NGINX Plus" titleUrl="/nginx" icon="NGINX-Plus-product-icon-RGB">}} The all-in-one load balancer, reverse proxy, web server, content cache, and API gateway. {{}} - {{< card title="NGINX Open Source" titleUrl="nginx.org">}} + {{< card title="NGINX Open Source" titleUrl="nginx.org" icon="NGINX-product-icon">}} The open source all-in-one load balancer, content cache, and web server {{}} {{}} {{< card-section title="Security">}} - {{< card title="NGINX App Protect WAF" titleUrl="/nginx-app-protect-waf">}} + {{< card title="NGINX App Protect WAF" titleUrl="/nginx-app-protect-waf" icon="NGINX-App-Protect-WAF-product-icon">}} Lightweight, high-performance, advanced protection against Layer 7 attacks on your apps and APIs. {{}} - {{< card title="NGINX App Protect DoS" titleUrl="/nginx-app-protect-dos">}} + {{< card title="NGINX App Protect DoS" titleUrl="/nginx-app-protect-dos" icon="NGINX-App-Protect-DoS-product-icon">}} Defend, adapt, and mitigate against Layer 7 denial-of-service attacks on your apps and APIs. {{}} {{}}