diff --git a/MissNationBlazorHybrid/wwwroot/index.html b/MissNationBlazorHybrid/wwwroot/index.html index 1f9e24d..68fbedb 100644 --- a/MissNationBlazorHybrid/wwwroot/index.html +++ b/MissNationBlazorHybrid/wwwroot/index.html @@ -5,7 +5,7 @@ - MissNationBlazorWASM + MissNation diff --git a/MissNationBlazorWASM/Client/wwwroot/index.html b/MissNationBlazorWASM/Client/wwwroot/index.html index 75e4ad5..1cf4866 100644 --- a/MissNationBlazorWASM/Client/wwwroot/index.html +++ b/MissNationBlazorWASM/Client/wwwroot/index.html @@ -5,7 +5,7 @@ - MissNationBlazorWASM + MissNation diff --git a/MissNationSharedUI/Shared/Components/Layout/MyTitleComponent.razor b/MissNationSharedUI/Shared/Components/Layout/MyTitleComponent.razor new file mode 100644 index 0000000..7493456 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Layout/MyTitleComponent.razor @@ -0,0 +1,15 @@ +
+
+ +

@PageTitle

+ +
+
+ + +@code { + + [Parameter] + public string PageTitle { get; set; } + +} diff --git a/MissNationSharedUI/Shared/Components/Layout/QuoteRightComponent.razor b/MissNationSharedUI/Shared/Components/Layout/QuoteRightComponent.razor index eb0de35..6092ed9 100644 --- a/MissNationSharedUI/Shared/Components/Layout/QuoteRightComponent.razor +++ b/MissNationSharedUI/Shared/Components/Layout/QuoteRightComponent.razor @@ -27,9 +27,9 @@ Image -
+
diff --git a/MissNationSharedUI/Shared/Components/Pages/Apply.razor b/MissNationSharedUI/Shared/Components/Pages/Apply.razor index 3c709b0..4dab169 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Apply.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Apply.razor @@ -1,4 +1,8 @@ @page "/apply" +@using MissNationSharedUI.Shared.Components.Layout +Apply + +
diff --git a/MissNationSharedUI/Shared/Components/Pages/Contact.razor b/MissNationSharedUI/Shared/Components/Pages/Contact.razor index f8a4bb4..fa372c1 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Contact.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Contact.razor @@ -1,4 +1,8 @@ @page "/contact" +@using MissNationSharedUI.Shared.Components.Layout +Contact + +
@@ -7,8 +11,7 @@
-
-

Contacts

+
diff --git a/MissNationSharedUI/Shared/Components/Pages/CorporateAbout.razor b/MissNationSharedUI/Shared/Components/Pages/CorporateAbout.razor index 68d4b17..25596d5 100644 --- a/MissNationSharedUI/Shared/Components/Pages/CorporateAbout.razor +++ b/MissNationSharedUI/Shared/Components/Pages/CorporateAbout.razor @@ -1,5 +1,6 @@ @page "/corporateabout" @layout SecondaryLayout +@inject NavigationManager NavigationManager @using MissNationSharedUI.Shared.Components.Layout @@ -41,6 +42,17 @@ private IJSObjectReference _jsModule; + protected override void OnInitialized() + { + base.OnInitialized(); + + var currentUri = new Uri(NavigationManager.Uri); + if (currentUri.Host == "missnationllc.com") + { + NavigationManager.NavigateTo("/corporateabout"); + } + } + protected override async Task OnAfterRenderAsync(bool firstRender) { base.OnAfterRender(firstRender); diff --git a/MissNationSharedUI/Shared/Components/Pages/Gallery.razor b/MissNationSharedUI/Shared/Components/Pages/Gallery.razor index f744d4e..98662d0 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Gallery.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Gallery.razor @@ -1,7 +1,11 @@ - @page "/gallery" +@page "/gallery" +@using MissNationSharedUI.Shared.Components.Layout +Gallery + + + -
diff --git a/MissNationSharedUI/Shared/Components/Pages/Help.razor b/MissNationSharedUI/Shared/Components/Pages/Help.razor index 78f768c..40db6d0 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Help.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Help.razor @@ -1,5 +1,8 @@ @page "/help" +@using MissNationSharedUI.Shared.Components.Layout +Help + diff --git a/MissNationSharedUI/Shared/Components/Pages/Index.razor b/MissNationSharedUI/Shared/Components/Pages/Index.razor index ad136ec..94478ae 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Index.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Index.razor @@ -1,11 +1,15 @@ @page "/" @using MissNationSharedUI.Shared.Components.Layout +Home + +
+ diff --git a/MissNationSharedUI/wwwroot/assets/css/style.css b/MissNationSharedUI/wwwroot/assets/css/style.css index f91708e..e429bd5 100644 --- a/MissNationSharedUI/wwwroot/assets/css/style.css +++ b/MissNationSharedUI/wwwroot/assets/css/style.css @@ -290,18 +290,19 @@ pre { } + .image-zoom { position: absolute; width: 100%; height: auto; - transition: transform .2s; + transition: transform .1s; } .zoom-wrapper { overflow: hidden; position: relative; width: 100%; - height: 100vh; + height: 300px; }