diff --git a/BeauFindlay/src/BeauFindlay.Client/BeauFindlay.Client.csproj b/BeauFindlay/src/BeauFindlay.Client/BeauFindlay.Client.csproj index db50164..4d4cdc2 100644 --- a/BeauFindlay/src/BeauFindlay.Client/BeauFindlay.Client.csproj +++ b/BeauFindlay/src/BeauFindlay.Client/BeauFindlay.Client.csproj @@ -15,12 +15,4 @@ - - <_ContentIncludedByDefault Remove="Components\AnchorNavigation\AnchorNavigation.razor" /> - - - - - - diff --git a/BeauFindlay/src/BeauFindlay.Client/Layout/NavBar.razor b/BeauFindlay/src/BeauFindlay.Client/Layout/NavBar.razor index 74d932b..07b9285 100644 --- a/BeauFindlay/src/BeauFindlay.Client/Layout/NavBar.razor +++ b/BeauFindlay/src/BeauFindlay.Client/Layout/NavBar.razor @@ -1,4 +1,4 @@ - + Home diff --git a/BeauFindlay/src/BeauFindlay.Client/Pages/About.razor b/BeauFindlay/src/BeauFindlay.Client/Pages/About.razor index 279c2d1..81ae089 100644 --- a/BeauFindlay/src/BeauFindlay.Client/Pages/About.razor +++ b/BeauFindlay/src/BeauFindlay.Client/Pages/About.razor @@ -5,16 +5,7 @@ About - Beau Findlay - @if (!hasPreviouslyRendered) - { - - - - } - else - { This app - } @@ -73,35 +64,11 @@ @code { - private const string ComponentKey = "ComponentRendered_About"; private const string FrontEndSection = "front-end"; private const string BackEndSection = "back-end"; private const string HostingSection = "hosting"; private const string TopSection = "top"; - private bool hasPreviouslyRendered; - - protected override async Task OnAfterRenderAsync(bool firstRender) - { - if (firstRender) - { - var renderedBeforeAsString = await JSRuntime.InvokeAsync("localStorage.getItem", ComponentKey); - - var previousValue = hasPreviouslyRendered; - hasPreviouslyRendered = !string.IsNullOrEmpty(renderedBeforeAsString) && bool.Parse(renderedBeforeAsString); - - if (!hasPreviouslyRendered) - { - await JSRuntime.InvokeVoidAsync("localStorage.setItem", ComponentKey, "true"); - } - - if (previousValue != hasPreviouslyRendered) - { - StateHasChanged(); - } - } - } - private async Task ScrollToElementAsync(string elementId) { await JSRuntime.InvokeVoidAsync("scrollToElement", elementId); diff --git a/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css b/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css index 3e3e2ee..4d38d3b 100644 --- a/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css +++ b/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css @@ -1130,6 +1130,15 @@ body::-webkit-scrollbar-thumb { padding-left: 3rem; padding-right: 3rem; } + + .md\:py-12 { + padding-top: 3rem; + padding-bottom: 3rem; + } + + .md\:text-left { + text-align: left; + } } @media (min-width: 1024px) {