diff --git a/src/Layout/MainLayout.razor b/src/Layout/MainLayout.razor index 76eb725..d84abd0 100644 --- a/src/Layout/MainLayout.razor +++ b/src/Layout/MainLayout.razor @@ -5,11 +5,7 @@
-
- About -
- -
+
@Body
diff --git a/src/Layout/MainLayout.razor.css b/src/Layout/MainLayout.razor.css index ecf25e5..4ffbaec 100644 --- a/src/Layout/MainLayout.razor.css +++ b/src/Layout/MainLayout.razor.css @@ -9,7 +9,7 @@ main { } .sidebar { - background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); + background-image: linear-gradient(225deg, #9423fc 0%, #feac70 99%); } .top-row { @@ -27,23 +27,23 @@ main { text-decoration: none; } - .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { - text-decoration: underline; - } + .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; - } + .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; - } + .top-row ::deep a, .top-row ::deep .btn-link { + margin-left: 0; + } } @media (min-width: 641px) { @@ -64,14 +64,14 @@ main { z-index: 1; } - .top-row.auth ::deep a:first-child { - flex: 1; - text-align: right; - width: 0; - } + .top-row.auth ::deep a:first-child { + flex: 1; + text-align: right; + width: 0; + } .top-row, article { padding-left: 2rem !important; padding-right: 1.5rem !important; } -} +} \ No newline at end of file diff --git a/src/Pages/Home.razor b/src/Pages/Home.razor index 9001e0b..17c63d6 100644 --- a/src/Pages/Home.razor +++ b/src/Pages/Home.razor @@ -1,7 +1,16 @@ @page "/" -Home +TPH Blazor Spotlight Example -

Hello, world!

+

Welcome to TPH Blazor Spotlight Example

+ +
For everyone that doesn't know: TPH = The Programmer's Hangout
+ +

Links

+ +

Discord Server

+discord.gg/programming + +

GitHub Repository

+github.com/Stone-Red-Code/TPH-Blazor-Spotlight-Example -Welcome to your new app. diff --git a/src/Program.cs b/src/Program.cs index ec0fe22..fc3c8cd 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -1,11 +1,12 @@ using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; + using TphBlazorSpotlightExample; -var builder = WebAssemblyHostBuilder.CreateDefault(args); +WebAssemblyHostBuilder builder = WebAssemblyHostBuilder.CreateDefault(args); builder.RootComponents.Add("#app"); builder.RootComponents.Add("head::after"); builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); -await builder.Build().RunAsync(); +await builder.Build().RunAsync(); \ No newline at end of file diff --git a/src/_Imports.razor b/src/_Imports.razor index e6a453a..fc720df 100644 --- a/src/_Imports.razor +++ b/src/_Imports.razor @@ -8,3 +8,4 @@ @using Microsoft.JSInterop @using TphBlazorSpotlightExample @using TphBlazorSpotlightExample.Layout +@using TphBlazorSpotlightExample.Models \ No newline at end of file diff --git a/src/wwwroot/css/app.css b/src/wwwroot/css/app.css index 54a8aa3..47ac415 100644 --- a/src/wwwroot/css/app.css +++ b/src/wwwroot/css/app.css @@ -1,5 +1,8 @@ html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + background-color: #121240; + color: aliceblue !important; + overflow: hidden; } h1:focus { @@ -7,7 +10,7 @@ h1:focus { } a, .btn-link { - color: #0071c1; + color: #33AAFF; } .btn-primary { @@ -17,7 +20,7 @@ a, .btn-link { } .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus { - box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; + box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; } .content { @@ -82,7 +85,7 @@ a, .btn-link { } .loading-progress circle:last-child { - stroke: #1b6ec2; + stroke: #9423fc; stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%; transition: stroke-dasharray 0.05s ease-in-out; } diff --git a/src/wwwroot/favicon.png b/src/wwwroot/favicon.png index 8422b59..b16fdb9 100644 Binary files a/src/wwwroot/favicon.png and b/src/wwwroot/favicon.png differ