-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
26 additions
and
906 deletions.
There are no files selected for viewing
24 changes: 0 additions & 24 deletions
24
src/Client/Components/Pages/DynamicLogging/GettingStarted.razor
This file was deleted.
Oops, something went wrong.
This file contains 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,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); | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.