From 751305dfeece65f24317c0110a12e26b1bc5f1d2 Mon Sep 17 00:00:00 2001 From: Tim Hess Date: Tue, 3 Sep 2024 15:53:29 -0500 Subject: [PATCH 1/6] add deprecation notes, more centralized redirects, lots of cleanup also fix titles and meta descriptions --- README.md | 10 +- src/Client/Components/App.razor | 67 ++--- src/Client/Components/Banner.razor | 24 +- src/Client/Components/Breadcrumbs.razor | 37 --- src/Client/Components/CustomPageTitle.razor | 13 - src/Client/Components/GetStarted.razor | 17 -- src/Client/Components/Href.razor | 24 +- src/Client/Components/Layout/MainLayout.razor | 35 +-- src/Client/Components/Layout/SiteFooter.razor | 267 +++++++----------- src/Client/Components/Layout/SiteHeader.razor | 135 +++++---- src/Client/Components/Note.razor | 29 +- .../Pages/AppConfiguration/Cloudfoundry.razor | 23 -- .../AppConfiguration/GettingStarted.razor | 24 -- .../Pages/AppConfiguration/Index.razor | 88 +++--- .../Pages/AppConfiguration/Placeholder.razor | 23 -- .../Pages/AppConfiguration/Randomvalue.razor | 23 -- .../Pages/AppConfiguration/Redirects.razor | 25 ++ .../Pages/AppConfiguration/Springconfig.razor | 23 -- src/Client/Components/Pages/Blog.razor | 25 +- .../Pages/CircuitBreakers/Breaker.razor | 24 -- .../Pages/CircuitBreakers/Index.razor | 77 ++--- .../Pages/CircuitBreakers/Redirects.razor | 12 + src/Client/Components/Pages/Cloud.razor | 94 +++--- src/Client/Components/Pages/Community.razor | 12 +- src/Client/Components/Pages/Doc.razor | 32 +-- .../Pages/DynamicLogging/Index.razor | 27 -- .../Pages/DynamicLogging/Redirects.razor | 14 + src/Client/Components/Pages/Error.razor | 3 +- .../Components/Pages/Event-Driven.razor | 108 ++++--- .../Pages/GenericGuidesRedirect.razor | 23 ++ .../Components/Pages/GetStarted/Index.razor | 17 -- src/Client/Components/Pages/Home.razor | 123 +++----- .../Components/Pages/Initializr/Index.razor | 49 ++-- .../Pages/Management/Endpoints.razor | 24 -- .../Management/Endpoints_Framework.razor | 25 -- .../Pages/Management/GettingStarted.razor | 24 -- .../Components/Pages/Management/Index.razor | 59 ++-- .../Components/Pages/Management/Logging.razor | 21 -- .../Pages/Management/Redirects.razor | 25 ++ .../Components/Pages/Management/Tracing.razor | 23 -- .../Pages/Messaging/GettingStarted.razor | 24 -- .../Components/Pages/Messaging/Index.razor | 75 +++-- .../Components/Pages/Messaging/Rabbit.razor | 23 -- .../Pages/Messaging/Redirects.razor | 12 + .../Components/Pages/Microservices.razor | 133 ++++----- .../Pages/NetworkFileSharing/Index.razor | 24 -- .../Pages/NetworkFileSharing/Redirects.razor | 13 + .../Pages/Observability/AppManager.razor | 24 -- .../Pages/Observability/Grafana.razor | 24 -- .../Pages/Observability/Index.razor | 22 -- .../Pages/Observability/Redirects.razor | 14 + .../Pages/Observability/WaveFront.razor | 24 -- .../Components/Pages/Security/Credhub.razor | 23 -- .../Pages/Security/GettingStarted.razor | 24 -- .../Components/Pages/Security/Index.razor | 95 ++++--- .../Components/Pages/Security/Jwt.razor | 24 -- .../Components/Pages/Security/Redirects.razor | 27 ++ .../Pages/Security/Redisstore.razor | 23 -- .../Components/Pages/Security/Sso_OAuth.razor | 23 -- .../Pages/Security/Sso_OpenID.razor | 25 -- .../Pages/Security/Sso_OpenID_Framework.razor | 23 -- .../Pages/ServiceConnectors/Gemfire.razor | 23 -- .../ServiceConnectors/GettingStarted.razor | 24 -- .../Pages/ServiceConnectors/Index.razor | 80 +++--- .../Pages/ServiceConnectors/Mongo.razor | 24 -- .../Pages/ServiceConnectors/Mssql.razor | 24 -- .../Pages/ServiceConnectors/Mysql.razor | 23 -- .../Pages/ServiceConnectors/Oauth.razor | 24 -- .../Pages/ServiceConnectors/Postgresql.razor | 23 -- .../Pages/ServiceConnectors/Rabbit.razor | 23 -- .../Pages/ServiceConnectors/Redirects.razor | 23 ++ .../Pages/ServiceConnectors/Redis.razor | 23 -- .../Pages/ServiceDiscovery/Consul.razor | 23 -- .../Pages/ServiceDiscovery/Eureka.razor | 23 -- .../ServiceDiscovery/GettingStarted.razor | 24 -- .../Pages/ServiceDiscovery/Index.razor | 81 +++--- .../Pages/ServiceDiscovery/Redirects.razor | 14 + src/Client/Components/Pages/Support.razor | 103 ++++--- src/Client/Components/Pages/Training.razor | 97 ++++--- .../Components/Pages/Web-Applications.razor | 131 ++++----- .../Components/Pages/Why-Steeltoe.razor | 129 ++++----- src/Client/Components/Routes.razor | 8 - src/Client/Components/Template.razor | 109 +++---- src/Client/Components/Tip.razor | 18 -- src/Client/Components/Tutorial.razor | 24 -- src/Client/Models/CalendarEvent.cs | 15 +- src/Client/Models/CalendarEventOptions.cs | 9 +- src/Client/Models/DocsSiteOptions.cs | 49 ++-- src/Client/Models/Feature.cs | 15 +- src/Client/Program.cs | 13 +- src/Client/appsettings.Docker.json | 11 - src/Client/appsettings.json | 27 +- src/Client/wwwroot/js/functions.js | 3 - src/Steeltoe-MainSite.sln | 2 - 94 files changed, 1265 insertions(+), 2404 deletions(-) delete mode 100644 src/Client/Components/Breadcrumbs.razor delete mode 100644 src/Client/Components/CustomPageTitle.razor delete mode 100644 src/Client/Components/GetStarted.razor delete mode 100644 src/Client/Components/Pages/AppConfiguration/Cloudfoundry.razor delete mode 100644 src/Client/Components/Pages/AppConfiguration/GettingStarted.razor delete mode 100644 src/Client/Components/Pages/AppConfiguration/Placeholder.razor delete mode 100644 src/Client/Components/Pages/AppConfiguration/Randomvalue.razor create mode 100644 src/Client/Components/Pages/AppConfiguration/Redirects.razor delete mode 100644 src/Client/Components/Pages/AppConfiguration/Springconfig.razor delete mode 100644 src/Client/Components/Pages/CircuitBreakers/Breaker.razor create mode 100644 src/Client/Components/Pages/CircuitBreakers/Redirects.razor delete mode 100644 src/Client/Components/Pages/DynamicLogging/Index.razor create mode 100644 src/Client/Components/Pages/DynamicLogging/Redirects.razor create mode 100644 src/Client/Components/Pages/GenericGuidesRedirect.razor delete mode 100644 src/Client/Components/Pages/GetStarted/Index.razor delete mode 100644 src/Client/Components/Pages/Management/Endpoints.razor delete mode 100644 src/Client/Components/Pages/Management/Endpoints_Framework.razor delete mode 100644 src/Client/Components/Pages/Management/GettingStarted.razor delete mode 100644 src/Client/Components/Pages/Management/Logging.razor create mode 100644 src/Client/Components/Pages/Management/Redirects.razor delete mode 100644 src/Client/Components/Pages/Management/Tracing.razor delete mode 100644 src/Client/Components/Pages/Messaging/GettingStarted.razor delete mode 100644 src/Client/Components/Pages/Messaging/Rabbit.razor create mode 100644 src/Client/Components/Pages/Messaging/Redirects.razor delete mode 100644 src/Client/Components/Pages/NetworkFileSharing/Index.razor create mode 100644 src/Client/Components/Pages/NetworkFileSharing/Redirects.razor delete mode 100644 src/Client/Components/Pages/Observability/AppManager.razor delete mode 100644 src/Client/Components/Pages/Observability/Grafana.razor delete mode 100644 src/Client/Components/Pages/Observability/Index.razor create mode 100644 src/Client/Components/Pages/Observability/Redirects.razor delete mode 100644 src/Client/Components/Pages/Observability/WaveFront.razor delete mode 100644 src/Client/Components/Pages/Security/Credhub.razor delete mode 100644 src/Client/Components/Pages/Security/GettingStarted.razor delete mode 100644 src/Client/Components/Pages/Security/Jwt.razor create mode 100644 src/Client/Components/Pages/Security/Redirects.razor delete mode 100644 src/Client/Components/Pages/Security/Redisstore.razor delete mode 100644 src/Client/Components/Pages/Security/Sso_OAuth.razor delete mode 100644 src/Client/Components/Pages/Security/Sso_OpenID.razor delete mode 100644 src/Client/Components/Pages/Security/Sso_OpenID_Framework.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Gemfire.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/GettingStarted.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Mongo.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Mssql.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Mysql.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Oauth.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Postgresql.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Rabbit.razor create mode 100644 src/Client/Components/Pages/ServiceConnectors/Redirects.razor delete mode 100644 src/Client/Components/Pages/ServiceConnectors/Redis.razor delete mode 100644 src/Client/Components/Pages/ServiceDiscovery/Consul.razor delete mode 100644 src/Client/Components/Pages/ServiceDiscovery/Eureka.razor delete mode 100644 src/Client/Components/Pages/ServiceDiscovery/GettingStarted.razor create mode 100644 src/Client/Components/Pages/ServiceDiscovery/Redirects.razor delete mode 100644 src/Client/Components/Routes.razor delete mode 100644 src/Client/Components/Tip.razor delete mode 100644 src/Client/Components/Tutorial.razor delete mode 100644 src/Client/appsettings.Docker.json delete mode 100644 src/Client/wwwroot/js/functions.js diff --git a/README.md b/README.md index 2065705..978e2da 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,10 @@ # Steeltoe Main Site - The site was built using [Blazor](https://docs.microsoft.com/en-us/aspnet/core/blazor/) in Visual Studio. + The site was built using [Blazor](https://docs.microsoft.com/aspnet/core/blazor/) in Visual Studio. ## Install Dependencies -Requires .NET Core SDK 8.0 -```powershell -PS> dotnet new -i Microsoft.AspNetCore.Blazor.Templates -``` +Requires .NET 8.0+ SDK ## Local testing of Steeltoe site @@ -16,7 +13,8 @@ PS> dotnet new -i Microsoft.AspNetCore.Blazor.Templates PS> cd src/Client ``` -2. Run the application with the `watch` command. So as changes are made in Visual Studio, the site will refresh. +1. Run the application with the `watch` command. So as changes are made, the site will refresh. + ```powershell PS> dotnet watch run diff --git a/src/Client/Components/App.razor b/src/Client/Components/App.razor index 9be5a11..bdd0c08 100644 --- a/src/Client/Components/App.razor +++ b/src/Client/Components/App.razor @@ -1,3 +1,4 @@ +@using Steeltoe.Client.Components.Layout @inject IHostEnvironment HostEnvironment @@ -5,27 +6,20 @@ - + - - - - - - - - + + - @@ -35,36 +29,35 @@ - - - - - Steeltoe OSS + + - + - - - - + + + + - -
- @if (HostEnvironment.IsProduction()) - { - An error has occurred. - } - else - { - An unhandled exception occurred. See browser dev tools for details. - } - Reload - 🗙 -
- - - - + +
+ @if (HostEnvironment.IsProduction()) + { + An error has occurred. + } + else + { + An unhandled exception occurred. See browser dev tools for details. + } + Reload + 🗙 +
+ + + + + + diff --git a/src/Client/Components/Banner.razor b/src/Client/Components/Banner.razor index 83956ad..be76bdb 100644 --- a/src/Client/Components/Banner.razor +++ b/src/Client/Components/Banner.razor @@ -1,10 +1,10 @@ -