Skip to content

Commit

Permalink
/start
Browse files Browse the repository at this point in the history
  • Loading branch information
lopezi committed May 5, 2024
1 parent ac5c17e commit c4cd51e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
14 changes: 8 additions & 6 deletions src/aoWebWallet/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,22 @@
<MudMainContent>
@Body
</MudMainContent>
<div Class="mt-auto">
<div Class="mt-auto mb-4">
<!-- Footer content -->
<MudDivider DividerType="DividerType.FullWidth" Class="mt-6 mb-2"/>
<MudLink Href="https://twitter.com/aoWebWallet" target="_blank" Class="d-flex justify-center mb-2">
<svg fill="#949498" width="25px" viewBox="0 0 24 24" aria-hidden="true"><g><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path></g></svg>
</MudLink>
<div style="display:flex; flex-direction: column; justify-content:center; padding:3px 0 10px 0; margin-top:20px; align-items: center; width:100%">
<MudDivider DividerType="DividerType.FullWidth" Class="mb-8" />
<MudImage style="opacity: 0.55" Src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMzExLjU4IDI0MC45MiI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgICBmaWxsLXJ1bGU6IGV2ZW5vZGQ7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxnIGlkPSJMYXllcl8xLTIiIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiAgICA8Zz4KICAgICA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+CiAgICAgIDxwb2x5Z29uIGNsYXNzPSJjbHMtMSIgcG9pbnRzPSIxMTQzLjM0IDEuNTkgMTE0My41OCAxLjEyIDEwNjMuMzggMS4xMiAxMDQ3LjAxIDQ1LjM4IDEwODMuODQgMTIwLjc5IDExMTIuNjQgNjMuMSAxMjAxIDI0MC45MiAxMjI4LjAxIDE3OS40NSAxMTQzLjcyIDEuNTkgMTE0My4zNCAxLjU5Ii8+CiAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0ibTM2MS44LDBjLTY2LjQsMC0xMjAuMjMsNTMuODMtMTIwLjIzLDEyMC4yM3M1My44MywxMjAuMjMsMTIwLjIzLDEyMC4yMywxMjAuMjMtNTMuODMsMTIwLjIzLTEyMC4yM1M0MjguMiwwLDM2MS44LDBabTAsMTkzLjI2Yy00MC4zNCwwLTczLjAzLTMyLjctNzMuMDMtNzMuMDNzMzIuNy03My4wMyw3My4wMy03My4wMyw3My4wMywzMi43LDczLjAzLDczLjAzLTMyLjcsNzMuMDMtNzMuMDMsNzMuMDNaIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4="
Width="66" Class="pt-0" Alt="AOWW Logotype" />
</div>
<MudText Typo="Typo.caption" Class="d-flex justify-center KodeMono">
Version: @Program.GetVersionWithoutHash()
@if (!string.IsNullOrEmpty(versionHash))
{
<text>-</text><a href="https://github.com/michielpost/aoWebWallet/tree/@versionHash" target="_blank">@versionHash</a>
}
</MudText>
<MudText Typo="Typo.caption" Class="d-flex justify-center mb-2 KodeMono">zsXSvJtHVSK4QyPch4Uf0JMiZi9uEhgVvyz6qeEJcfY</MudText>


</div>
</MudLayout>

Expand Down
7 changes: 3 additions & 4 deletions src/aoWebWallet/Pages/About.razor
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@
</MudPaper>
</MudItem>
<MudItem xs="12" md="6">
<MudPaper Elevation="2" Class="pa-4 d-flex justify-center">
<a href="https://twitter.com/aoWebWallet" target="_blank">
<svg fill="#949498" width="40px" viewBox="0 0 24 24" aria-hidden="true"><g><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path></g></svg>
</a>
<MudPaper Elevation="2" Class="pa-4 d-flex flex-column">
<MudText Typo="Typo.caption" Class="mb-2 ">Contribute to developers address<br/> </MudText>
<MudText Typo="Typo.caption" Class="d-flex mb-2 KodeMono">zsXSvJtHVSK4QyPch4Uf0JMiZi9uEhgVvyz6qeEJcfY</MudText>
</MudPaper>
</MudItem>
</MudStack>
Expand Down
11 changes: 3 additions & 8 deletions src/aoWebWallet/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@

<MudNavLink Href="token-explorer" Match="NavLinkMatch.Prefix" Class="aoww-main-nav-text" Icon="@Icons.Material.Filled.Explore">Token Explorer</MudNavLink>

<div style="margin-top: auto; display:flex; flex-direction: row;">
<div style="margin-top: auto; display:flex; flex-direction: row; margin-bottom:20px">
<div style="border-right: 1px solid gray;">
<MudNavLink Href="settings" Match="NavLinkMatch.Prefix" Icon="@Icons.Material.Filled.Settings">Settings</MudNavLink>
<MudNavLink style="margin-bottom:5px;" Href="about" Match="NavLinkMatch.Prefix" Icon="@Icons.Material.Filled.Info">About</MudNavLink>
</div>
<div style="display: flex; flex-direction: column; justify-content: center; align-items: center; margin-left:10px; padding:5px;">
<div style="display: flex; flex-direction: column; justify-content: center; align-items: center; margin-left:4px; padding:5px;">
@* @if (BindingContext.UserSettings?.IsDarkMode ?? true)
{
<MudIcon Icon="@icons[1]" Color="Color.Primary" />
Expand Down Expand Up @@ -70,12 +70,7 @@
</div>

</div>
<div style="display:flex; flex-direction: column; justify-content:center; padding:3px 0 11px 0; margin-top:8px; align-items: center; width:100%">
<MudDivider DividerType="DividerType.FullWidth" Class="mb-8" />
<MudImage style="opacity: 0.55" Src="data:image/svg+xml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Copyright @DateTimeOffset.UtcNow.Year</MudText>
</div>

</MudNavMenu>

@code {
Expand Down

0 comments on commit c4cd51e

Please sign in to comment.