diff options
author | Rory& <root@rory.gay> | 2024-01-15 02:12:26 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-01-15 02:12:26 +0100 |
commit | a65e35fbc2668c2db77e7c312da1b1fb778e09e4 (patch) | |
tree | 21368a71474935ba7425299b727b735726eff5a2 /MatrixRoomUtils.Web/Pages/About.razor | |
parent | Dev test bot (diff) | |
download | MatrixUtils-a65e35fbc2668c2db77e7c312da1b1fb778e09e4.tar.xz |
LibMatrix update, refactor login page, add web manifest
Diffstat (limited to 'MatrixRoomUtils.Web/Pages/About.razor')
-rw-r--r-- | MatrixRoomUtils.Web/Pages/About.razor | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/MatrixRoomUtils.Web/Pages/About.razor b/MatrixRoomUtils.Web/Pages/About.razor index a5864ab..59368af 100644 --- a/MatrixRoomUtils.Web/Pages/About.razor +++ b/MatrixRoomUtils.Web/Pages/About.razor @@ -7,29 +7,29 @@ <h3>Rory&::MatrixUtils - About</h3> <hr/> -<p>Rory&::MatrixRoomUtils is a "small" collection of tools to do not-so-everyday things.</p> +<p>Rory&::MatrixUtils is a "small" collection of tools to do not-so-everyday things.</p> <p>These range from joining rooms on dead homeservers, to managing your accounts and rooms, and creating rooms based on templates.</p> <br/><br/> -<p>You can find the source code on <a href="https://cgit.rory.gay/MatrixRoomUtils.git/">my git server</a>.<br/></p> +<p>You can find the source code on <a href="https://cgit.rory.gay/matrix/MatrixRoomUtils.git/">cgit.rory.gay</a>.<br/></p> <p>You can also join the <a href="https://matrix.to/#/%23mru%3Arory.gay?via=rory.gay&via=matrix.org&via=feline.support">Matrix room</a> for this project.</p> -@if (ShowBinDownload) { - <p>This deployment also serves a copy of the compiled, hosting-ready binaries at <a href="MRU-BIN.tar.xz">/MRU-BIN.tar.xz</a>!</p> +@if (BinDownloadAvailable) { + <p>This deployment also serves a copy of the compiled, hosting-ready binaries at <a href="/MRU-BIN.tar.xz">/MRU-BIN.tar.xz</a>!</p> } -@if (ShowSrcDownload) { - <p>This deployment also serves a copy of the compiled, hosting-ready binaries at <a href="MRU-SRC.tar.xz">/MRU-SRC.tar.xz</a>!</p> +@if (SrcDownloadAvailable) { + <p>This deployment also serves a copy of the source code at <a href="/MRU-SRC.tar.xz">/MRU-SRC.tar.xz</a>!</p> } @code { - private bool ShowBinDownload { get; set; } - private bool ShowSrcDownload { get; set; } + private bool BinDownloadAvailable { get; set; } + private bool SrcDownloadAvailable { get; set; } protected override async Task OnInitializedAsync() { using var hc = new HttpClient(); var hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-BIN.tar.xz").AbsoluteUri)); - ShowBinDownload = hr.StatusCode == HttpStatusCode.OK; + BinDownloadAvailable = hr.StatusCode == HttpStatusCode.OK; hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-SRC.tar.xz").AbsoluteUri)); - ShowSrcDownload = hr.StatusCode == HttpStatusCode.OK; + SrcDownloadAvailable = hr.StatusCode == HttpStatusCode.OK; await base.OnInitializedAsync(); } |