wabbajack/Wabbajack.App.Blazor/Components/SideBar.razor
2022-01-28 12:58:28 +01:00

19 lines
910 B
Plaintext

@using Wabbajack.App.Blazor.Utility
@code {
private void OpenPatreonPage() => UIUtils.OpenWebsite(new Uri("https://www.patreon.com/user?u=11907933"));
private void OpenGithubPage() => UIUtils.OpenWebsite(new Uri("https://github.com/wabbajack-tools/wabbajack"));
private void OpenDiscord() => UIUtils.OpenWebsite(new Uri("https://discord.gg/wabbajack"));
}
@namespace Wabbajack.App.Blazor.Components
<div id="side-bar">
@* TODO: [Low] Replace logo with SVG? *@
<img class="logo" src="images/Logo_Dark_Transparent.png" alt="Wabbajack Logo">
<div class="socials">
@* TODO: wrap social icons in a button and make it clickable *@
<img src="images/icons/patreon.svg" alt="" onclick="@OpenPatreonPage">
<img src="images/icons/github.svg" alt="" onclick="@OpenGithubPage">
<img src="images/icons/discord.svg" alt="" onclick="@OpenDiscord">
</div>
</div>