diff --git a/MissNationSharedUI/Shared/Components/Layout/CorporateNavbarComponent.razor b/MissNationSharedUI/Shared/Components/Layout/CorporateNavbarComponent.razor new file mode 100644 index 0000000..56ec8d1 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Layout/CorporateNavbarComponent.razor @@ -0,0 +1,75 @@ + + +@code { + +} diff --git a/MissNationSharedUI/Shared/Components/Layout/FooterComponent.razor b/MissNationSharedUI/Shared/Components/Layout/FooterComponent.razor index f47e56f..2599510 100644 --- a/MissNationSharedUI/Shared/Components/Layout/FooterComponent.razor +++ b/MissNationSharedUI/Shared/Components/Layout/FooterComponent.razor @@ -35,6 +35,11 @@ Contact +
  • + + Corporation + +
  • diff --git a/MissNationSharedUI/Shared/Components/Layout/MainLayout.razor b/MissNationSharedUI/Shared/Components/Layout/MainLayout.razor index b094d18..5e9c877 100644 --- a/MissNationSharedUI/Shared/Components/Layout/MainLayout.razor +++ b/MissNationSharedUI/Shared/Components/Layout/MainLayout.razor @@ -21,6 +21,7 @@
    @Body
    + diff --git a/MissNationSharedUI/Shared/Components/Layout/PartnerComponent.razor b/MissNationSharedUI/Shared/Components/Layout/PartnerComponent.razor new file mode 100644 index 0000000..7a73299 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Layout/PartnerComponent.razor @@ -0,0 +1,74 @@ + +
    +
    +
    +
    + +
    +

    Our Partners

    + At Miss Nation, we believe in the power of collaboration and teamwork. We are proud to work closely with a diverse range of partners who share our values and goals. Together, we strive to achieve excellence and make a positive impact in our respective industries and communities. Our valued partners include: +
    + + + +
    + +
    +
    +
    + + +@code { + +} diff --git a/MissNationSharedUI/Shared/Components/Layout/SecondaryLayout.razor b/MissNationSharedUI/Shared/Components/Layout/SecondaryLayout.razor new file mode 100644 index 0000000..133ec05 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Layout/SecondaryLayout.razor @@ -0,0 +1,44 @@ +@inherits LayoutComponentBase +@using System.Runtime.InteropServices.JavaScript +@using MissNationSharedUI.Shared.Components.Layout + + + + +
    + + + +
    + + +
    + @Body +
    + + + +
    +
    + +@code { + + + + /*protected override async Task OnInitializedAsync() + { + + _jsModule = await JSRuntime.InvokeAsync("import", "./_content/MissNationSharedUI/assets/exampleJsInterop.js"); + await _jsModule.InvokeVoidAsync("getMessage"); + }*/ + +} + + + diff --git a/MissNationSharedUI/Shared/Components/Layout/SecondaryLayout.razor.css b/MissNationSharedUI/Shared/Components/Layout/SecondaryLayout.razor.css new file mode 100644 index 0000000..49f5160 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Layout/SecondaryLayout.razor.css @@ -0,0 +1,77 @@ +.page { + position: relative; + display: flex; + flex-direction: column; +} + +main { + flex: 1; +} + +.sidebar { + background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); +} + +.top-row { + background-color: #f7f7f7; + border-bottom: 1px solid #d6d5d5; + justify-content: flex-end; + height: 3.5rem; + display: flex; + align-items: center; +} + + .top-row ::deep a, .top-row ::deep .btn-link { + white-space: nowrap; + margin-left: 1.5rem; + text-decoration: none; + } + + .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { + text-decoration: underline; + } + + .top-row ::deep a:first-child { + overflow: hidden; + text-overflow: ellipsis; + } + +@media (max-width: 640.98px) { + .top-row { + justify-content: space-between; + } + + .top-row ::deep a, .top-row ::deep .btn-link { + margin-left: 0; + } +} + +@media (min-width: 641px) { + .page { + flex-direction: row; + } + + .sidebar { + width: 250px; + height: 100vh; + position: sticky; + top: 0; + } + + .top-row { + position: sticky; + top: 0; + z-index: 1; + } + + .top-row.auth ::deep a:first-child { + flex: 1; + text-align: right; + width: 0; + } + + .top-row, article { + /*adding-left: 2rem !important; + padding-right: 1.5rem !important;*/ + } +} diff --git a/MissNationSharedUI/Shared/Components/Pages/CorporateAbout.razor b/MissNationSharedUI/Shared/Components/Pages/CorporateAbout.razor new file mode 100644 index 0000000..02deef0 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Pages/CorporateAbout.razor @@ -0,0 +1,32 @@ +@page "/corporateabout" +@layout SecondaryLayout +@using MissNationSharedUI.Shared.Components.Layout + +

    About

    + + +
    + + +
    + + + + +@code { + [Inject] + public IJSRuntime JSRuntime { get; set; } + + private IJSObjectReference _jsModule; + + protected override async Task OnAfterRenderAsync(bool firstRender) + { + base.OnAfterRender(firstRender); + + if (firstRender) + { + _jsModule = await JSRuntime.InvokeAsync("import", "./_content/MissNationSharedUI/assets/exampleJsInterop.js"); + await _jsModule.InvokeVoidAsync("getMessage"); + } + } +} diff --git a/MissNationSharedUI/Shared/Components/Pages/CorporateContact.razor b/MissNationSharedUI/Shared/Components/Pages/CorporateContact.razor new file mode 100644 index 0000000..d343fc3 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Pages/CorporateContact.razor @@ -0,0 +1,55 @@ +@page "/corporatecontact" +@layout SecondaryLayout +@using MissNationSharedUI.Shared.Components.Layout + + + + +
    +
    +
    +
    + + +
    + + +
    +

    Contact

    + +
    +

    Have a question, comment, or suggestion? We'd love to hear from you! Please feel free to reach out to us using the contact information below or by filling out the contact form.

    + +
    +

    Email:

    +

    info@missnation.com

    +
    + +
    + +
    +
    +
    + +
    + + + + +@code { + [Inject] + public IJSRuntime JSRuntime { get; set; } + + private IJSObjectReference _jsModule; + + protected override async Task OnAfterRenderAsync(bool firstRender) + { + base.OnAfterRender(firstRender); + + if (firstRender) + { + _jsModule = await JSRuntime.InvokeAsync("import", "./_content/MissNationSharedUI/assets/exampleJsInterop.js"); + await _jsModule.InvokeVoidAsync("getMessage"); + } + } +} diff --git a/MissNationSharedUI/Shared/Components/Pages/CorporateIndex.razor b/MissNationSharedUI/Shared/Components/Pages/CorporateIndex.razor new file mode 100644 index 0000000..eaf31c8 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Pages/CorporateIndex.razor @@ -0,0 +1,32 @@ +@page "/corporate" +@layout SecondaryLayout +@using MissNationSharedUI.Shared.Components.Layout + + + + +
    + + +
    + + + + +@code { + [Inject] + public IJSRuntime JSRuntime { get; set; } + + private IJSObjectReference _jsModule; + + protected override async Task OnAfterRenderAsync(bool firstRender) + { + base.OnAfterRender(firstRender); + + if (firstRender) + { + _jsModule = await JSRuntime.InvokeAsync("import", "./_content/MissNationSharedUI/assets/exampleJsInterop.js"); + await _jsModule.InvokeVoidAsync("getMessage"); + } + } +} diff --git a/MissNationSharedUI/Shared/Components/Pages/CorporateServices.razor b/MissNationSharedUI/Shared/Components/Pages/CorporateServices.razor new file mode 100644 index 0000000..c768f78 --- /dev/null +++ b/MissNationSharedUI/Shared/Components/Pages/CorporateServices.razor @@ -0,0 +1,32 @@ +@page "/corporateservices" +@layout SecondaryLayout +@using MissNationSharedUI.Shared.Components.Layout + +

    Services

    + + +
    + + +
    + + + + +@code { + [Inject] + public IJSRuntime JSRuntime { get; set; } + + private IJSObjectReference _jsModule; + + protected override async Task OnAfterRenderAsync(bool firstRender) + { + base.OnAfterRender(firstRender); + + if (firstRender) + { + _jsModule = await JSRuntime.InvokeAsync("import", "./_content/MissNationSharedUI/assets/exampleJsInterop.js"); + await _jsModule.InvokeVoidAsync("getMessage"); + } + } +} diff --git a/MissNationSharedUI/Shared/Components/Pages/Gallery.razor b/MissNationSharedUI/Shared/Components/Pages/Gallery.razor index e46b6b1..a2bcead 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Gallery.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Gallery.razor @@ -19,12 +19,7 @@ - + @@ -40,12 +35,7 @@ - + @@ -56,16 +46,11 @@ @@ -75,16 +60,11 @@ @@ -98,12 +78,7 @@ - + @@ -113,16 +88,11 @@ @@ -137,12 +107,7 @@ - + @@ -156,12 +121,7 @@ - + @@ -176,12 +136,7 @@ - + @@ -195,12 +150,7 @@ - + @@ -214,12 +164,7 @@ - + @@ -233,12 +178,7 @@ - + @@ -252,12 +192,7 @@ - + @@ -271,12 +206,7 @@ - + diff --git a/MissNationSharedUI/Shared/Components/Pages/Help.razor b/MissNationSharedUI/Shared/Components/Pages/Help.razor index 303a6b8..b383a5d 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Help.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Help.razor @@ -27,17 +27,17 @@
  • in the period from the middle of October till the first part of December the international boot camp, online voting and crowning event takes place.
  • -

    +

    During this period the main source of information for our audience will be the Miss Nation Tv, giving you up to date content 0/24. As a novelty the applicants can upload visual materials on the www.missnation.com/apply page from themselves. So they will be promoted like this since this will be aired on Miss Nation TV also.

    - + +
    @@ -53,7 +53,7 @@ I have a small tattoo on my finger, if I have it removed, can I participate?
    -

    +

    Yes, you can apply, as you will not have any tattoos after that.

    @@ -151,13 +151,14 @@
    - - + + + - + diff --git a/MissNationSharedUI/Shared/Components/Pages/Index.razor b/MissNationSharedUI/Shared/Components/Pages/Index.razor index 4115382..2d715a2 100644 --- a/MissNationSharedUI/Shared/Components/Pages/Index.razor +++ b/MissNationSharedUI/Shared/Components/Pages/Index.razor @@ -33,80 +33,11 @@ - + - + diff --git a/MissNationSharedUI/wwwroot/assets/css/style.css b/MissNationSharedUI/wwwroot/assets/css/style.css index 04108b0..a93b853 100644 --- a/MissNationSharedUI/wwwroot/assets/css/style.css +++ b/MissNationSharedUI/wwwroot/assets/css/style.css @@ -187,11 +187,15 @@ h4 { letter-spacing: 2px; } + h5, h6 { letter-spacing: 1px; } +dd { + color: #333; +} a { color: #4a4949; text-decoration: none !important;