Skip to content

Commit

Permalink
remove some unused components
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Jan 5, 2024
1 parent a81aab4 commit 3c00fa8
Show file tree
Hide file tree
Showing 19 changed files with 26 additions and 906 deletions.
24 changes: 0 additions & 24 deletions src/Client/Components/Pages/DynamicLogging/GettingStarted.razor

This file was deleted.

59 changes: 24 additions & 35 deletions src/Client/Components/Pages/DynamicLogging/Index.razor
Original file line number Diff line number Diff line change
@@ -1,38 +1,27 @@
@page "/dynamic-logging"
@page "/logging/get-started"
@page "/dynamic-logging"
@page "/steeltoe-logging"

<Template Name="Dynamic Logging" Features="@features" DocsURL="/docs/logging">
<Description>XXXXXXX</Description>
<WhatIs>XXXXXXX</WhatIs>
<WhyUse>XXXXXXX</WhyUse>
<FeatureTemplate Context="Feature">
<div class="row component-feature no-gutters">
<div class="col-6 text-center"><div class="component-feature-img"><img class="img-fluid" src="@Feature.Img" /></div></div>
<div class="col">
<div class="component-feature-title">@Feature.Title</div>
<div class="component-feature-desc">@Feature.Description</div>
</div>
</div>
</FeatureTemplate>
<AltFeatureTemplate Context="Feature">
<div class="row component-feature no-gutters">
<div class="col-6">
<div class="component-feature-title">@Feature.Title</div>
<div class="component-feature-desc">@Feature.Description</div>
</div>
<div class="col-6 text-center"><div class="component-feature-img"><img class="img-fluid" src="@Feature.Img" /></div></div>
</div>
</AltFeatureTemplate>
</Template>
@inject IHttpContextAccessor HttpContextAccessor
@inject IOptionsSnapshot<DocsSiteOptions> DocsSiteOptions
<Breadcrumbs NavName="Getting Started"
ParentLinkName="Logging"
ParentLinkUrl="/logging" />
<GetStarted>
<ComponentName>Logging</ComponentName>
<Tutorials>
<h1>This page has moved, find the new location <NavLink href="@(DocsSiteOptions.Value.BaseAddress + "/guides/")">here</NavLink></h1>
</Tutorials>
</GetStarted>

@code{
private Feature[] features = new[] {
new Feature() {
Title = (MarkupString)"",
Description = (b => {
b.AddMarkupContent(1,"");
}),
Img = ""
}
};
}
@code
{
protected override void OnInitialized()
{
if (HttpContextAccessor.HttpContext != null)
{
var uri = new Uri(DocsSiteOptions.Value.BaseAddress + "/guides/").ToString();
HttpContextAccessor.HttpContext.Response.Redirect(uri, true);
}
}
}
152 changes: 0 additions & 152 deletions src/Client/Components/Pages/GetStarted/Basics.razor

This file was deleted.

45 changes: 0 additions & 45 deletions src/Client/Components/Pages/Local/GettingStarted.razor

This file was deleted.

55 changes: 0 additions & 55 deletions src/Client/Components/Pages/Local/Index.razor

This file was deleted.

11 changes: 2 additions & 9 deletions src/Client/Components/Pages/Management/Index.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/cloud-management"
@page "/cloud-management"
@page "/steeltoe-management"
@page "/management"

Expand Down Expand Up @@ -36,13 +36,6 @@
}),
Img = "/images/Icon_connector.svg"
},
new Feature() {
Title = (MarkupString)"Distributed Tracing",
Description = (b => {
b.AddMarkupContent(1,"Use the OpenCensus project capture request tracing data and display it visually in the dashboard or send it to a remote collector.");
}),
Img = "/images/Icon_device-exchange.svg"
},
new Feature() {
Title = (MarkupString)"Management Tasks",
Description = (b => {
Expand All @@ -51,4 +44,4 @@
Img = "/images/Icon_box.svg"
}
};
}
}
14 changes: 0 additions & 14 deletions src/Client/Components/RunAppTab/AzureAppService.razor

This file was deleted.

Loading

0 comments on commit 3c00fa8

Please sign in to comment.