Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Jan 23, 2024
1 parent 77596c7 commit cb792bf
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions src/Client/Components/Layout/SiteFooter.razor
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,22 @@
<div class="col" id="footer-learn-col">
<div class="pb-2 font-weight-bold">Learn</div>
<div><Href href="https://start.steeltoe.io/" NewWindow="true">Steeltoe Initializr</Href></div>
<div><Href href="@(docsSite.GuidesHome)">Guides</Href></div>
<div><Href href="@(docsSite.DocsHome)">Documentation</Href></div>
<div><Href href="@(docsSite.ApiBrowserHome)">API Browser</Href></div>
<div><Href href="@(docsSite.BlogHome)">Blog</Href></div>
<div><Href href="@(_docsSite.GuidesHome)">Guides</Href></div>
<div><Href href="@(_docsSite.DocsHome)">Documentation</Href></div>
<div><Href href="@(_docsSite.ApiBrowserHome)">API Browser</Href></div>
<div><Href href="@(_docsSite.BlogHome)">Blog</Href></div>
</div>
<div class="col" id="footer-projects-col">
<div class="pb-2 font-weight-bold">Projects</div>
<div><Href href="/app-configuration">Application Configuration</Href></div>
<div><Href href="/circuit-breakers">Circuit Breakers</Href></div>
<div><Href href="/cloud-management">Management</Href></div>
<div><Href href="/messaging">Messaging</Href></div>
<div><Href href="/fileshares">Network File Sharing</Href></div>
<div><Href href="@(_docsSite.BaseAddress + "/api/v3/fileshares/")">Network File Sharing</Href></div>
<div><Href href="/security-providers">Security</Href></div>
<div><Href href="/service-connectors">Service Connectors</Href></div>
<div><Href href="/service-discovery">Service Discovery</Href></div>
<div><Href href="@(docsSite.DocsStreamHome)">Stream</Href></div>
<div><Href href="@(_docsSite.DocsStreamHome)">Stream</Href></div>
</div>
<div class="col" id="footer-others-col">
@*<div class="pb-2 font-weight-bold"><Href href="/training">Training</Href></div>*@
Expand Down Expand Up @@ -164,10 +164,10 @@

@code {

private DocsSiteOptions docsSite;
private DocsSiteOptions _docsSite;

protected override void OnInitialized()
{
docsSite = DocsSiteOptions?.Value ?? throw new ArgumentNullException(nameof(docsSite));
_docsSite = DocsSiteOptions?.Value ?? throw new ArgumentNullException(nameof(_docsSite));
}
}
5 changes: 3 additions & 2 deletions src/Client/Components/Layout/SiteHeader.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@using Microsoft.Extensions.Options

@inject IOptions<DocsSiteOptions> DocsSiteOptions
@inject IOptionsSnapshot<DocsSiteOptions> DocsSiteOptions

<nav class="bg-white navbar navbar-expand-xl container py-xl-2 navbar-light">
<Href class="navbar-brand" href="/">
Expand Down Expand Up @@ -42,9 +42,10 @@
<div class="dropdown-menu" aria-labelledby="projects">
<Href class="dropdown-item" href="/app-configuration">Steeltoe Application Configuration</Href>
<Href class="dropdown-item" href="/circuit-breakers">Steeltoe Circuit Breakers</Href>
<Href class="dropdown-item" href="/docs/logging">Steeltoe Dynamic Logging</Href>
<Href class="dropdown-item" href="/cloud-management">Steeltoe Management</Href>
<Href class="dropdown-item" href="/messaging">Steeltoe Messaging</Href>
<Href class="dropdown-item" href="/fileshares">Steeltoe Network File Sharing</Href>
<Href class="dropdown-item" href="@(_docsSite.BaseAddress + "/api/v3/fileshares/")">Steeltoe Network File Sharing</Href>
<Href class="dropdown-item" href="/security-providers">Steeltoe Security</Href>
<Href class="dropdown-item" href="/service-connectors">Steeltoe Service Connectors</Href>
<Href class="dropdown-item" href="/service-discovery">Steeltoe Service Discovery</Href>
Expand Down
6 changes: 3 additions & 3 deletions src/Client/Components/Pages/Event-Driven.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/event-driven"
@page "/event-driven"

<Template Name="Event Driven" Features="@features" NameIsPlural="false">
<Description>Event-driven systems reflect how modern businesses actually work, with thousands of small changes happening all day, every day. Steeltoe’s ability to handle events and enable developers to build applications around them, means your apps will stay in sync with your business. Steeltoe has event-driven options like streaming all the way to cloud functions, and data flows.</Description>
Expand Down Expand Up @@ -61,7 +61,7 @@
Description = (b => {
b.AddMarkupContent(1,"Steeltoe Stream improves your productivity when working with RabbitMQ, providing three key abstractions to simplify your code. “Binders” integrate with external messaging systems. “Bindings” bridge the gap between the messaging systems and your code. “Messages” provide the structure that your code uses to send and receive data.<Br /><br />Steeltoe Stream also provides support for provisioning, content conversion, error handling, configuration management, consumer groups, partitioning, monitoring, and health checks.<Br /><br />");
b.OpenComponent<Href>(2);
b.AddAttribute(3, "href","https://docs.steeltoe.io/api/v3/stream/");
b.AddAttribute(3, "href","/docs/stream");
b.AddAttribute(4, "AsButton",true);
b.AddAttribute(5, "ChildContent", (RenderFragment)((b) => {b.AddContent(6, "Learn more");}));
b.CloseComponent();
Expand All @@ -76,4 +76,4 @@
// Img = "/images/Icon_network.svg"
//}
};
}
}
4 changes: 2 additions & 2 deletions src/Client/Components/Pages/Messaging/Index.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/messaging"
@page "/messaging"

<Template Name="Messaging" Features="@features" DocsURL="/docs/messaging">
<Description>Build highly scalable event-driven microservices connected to shared messaging systems.</Description>
Expand Down Expand Up @@ -47,4 +47,4 @@
Img = "/images/Icon_keys.svg"
}
};
}
}
1 change: 1 addition & 0 deletions src/Client/Components/Pages/NetworkFileSharing/Index.razor
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@page "/fileshares"
@page "/network-file-sharing"
@page "/steeltoe-smb"

Expand Down
6 changes: 3 additions & 3 deletions src/Client/Components/Pages/ServiceConnectors/Index.razor
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page "/service-connectors"
@page "/service-connectors"
@page "/steeltoe-connectors"

<Template Name="Service Connectors" Features="@features" DocsURL="/docs/configuration">
<Template Name="Service Connectors" Features="@features" DocsURL="/docs/connectors">
<Description>One of the many advantages of running applications on the cloud is the easy availability of a variety of backing services. Steeltoe simplifies using those services by automatically configuring and wiring up connections to common services like Redis, RabbitMQ, MySQL, MS SQL, and more.</Description>
<WhatIs>Backing services are must when creating cloud-native .NET applications, but managing the connections can be time consuming and annoying. Steeltoe Service Connectors takes that pain away and let you get back to doing what you love.</WhatIs>
<WhyUse>
Expand Down Expand Up @@ -51,4 +51,4 @@
Img = "/images/Icon_keys.svg"
}
};
}
}
8 changes: 4 additions & 4 deletions src/Client/Components/Pages/Support.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/support"
@page "/support"

<Template Name="Support" Features="@features">
<Description>Contact the team directly to get answers about how to best implement every component and feature within Steeltoe, as well as the best cloud-native .NET practices.</Description>
Expand Down Expand Up @@ -42,7 +42,7 @@
Description = (b => {
b.AddMarkupContent(1,"Search past issues and community questions, request a new feature, or donate your custom features to a project.<br /><br />");
b.OpenComponent<Href>(2);
b.AddAttribute(3, "href","https://github.com/steeltoeoss");
b.AddAttribute(3, "href","https://github.com/SteeltoeOSS");
b.AddAttribute(4, "NewWindow",true);
b.AddAttribute(5, "AsButton",true);
b.AddAttribute(6, "ChildContent", (RenderFragment)((b) => {b.AddContent(7, "GO NOW");}));
Expand All @@ -55,7 +55,7 @@
Description = (b => {
b.AddMarkupContent(1,"Search and learn more about each Steeltoe package, its version history, statistics, and installation options.<br /><br />");
b.OpenComponent<Href>(2);
b.AddAttribute(3, "href","https://www.nuget.org/profiles/steeltoe");
b.AddAttribute(3, "href","https://www.nuget.org/profiles/SteeltoeOSS");
b.AddAttribute(4, "NewWindow",true);
b.AddAttribute(5, "AsButton",true);
b.AddAttribute(6, "ChildContent", (RenderFragment)((b) => {b.AddContent(7, "GO NOW");}));
Expand All @@ -64,4 +64,4 @@
Img = "https://miro.medium.com/max/700/1*OH_L2dLIKDl_n5QknfONqw.png"
}
};
}
}
2 changes: 0 additions & 2 deletions src/Client/Components/Template.razor
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
</div>
}
</div>
@if (WhatIs != null) {
}
</div>
</div>
<div class="width-all">
Expand Down

0 comments on commit cb792bf

Please sign in to comment.