From 6f9c9245582a063800374f4229cfe35fe5d3be65 Mon Sep 17 00:00:00 2001 From: everoddandeven Date: Sat, 19 Oct 2024 01:40:10 +0200 Subject: [PATCH] Add about page --- src/app/app.module.ts | 2 + src/app/pages/about/about-routing.module.ts | 17 ++++ src/app/pages/about/about.component.html | 82 ++++++++++++++++++ src/app/pages/about/about.component.scss | 0 src/app/pages/about/about.component.spec.ts | 23 +++++ src/app/pages/about/about.component.ts | 19 ++++ src/app/pages/about/about.module.ts | 17 ++++ .../components/sidebar/sidebar.component.ts | 3 +- src/assets/donations/btc.png | Bin 0 -> 1451 bytes src/assets/donations/xmr.png | Bin 0 -> 3811 bytes 10 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 src/app/pages/about/about-routing.module.ts create mode 100644 src/app/pages/about/about.component.html create mode 100644 src/app/pages/about/about.component.scss create mode 100644 src/app/pages/about/about.component.spec.ts create mode 100644 src/app/pages/about/about.component.ts create mode 100644 src/app/pages/about/about.module.ts create mode 100644 src/assets/donations/btc.png create mode 100644 src/assets/donations/xmr.png diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 6b463b7..386b867 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -27,6 +27,7 @@ import { VersionModule } from './pages/version/version.module'; import { HardForkInfoModule } from './pages/hard-fork-info/hard-fork-info.module'; import { NetworkModule } from './pages/network/network.module'; import { PeersModule } from './pages/peers/peers.module'; +import { AboutModule } from './pages/about/about.module'; // AoT requires an exported function for factories const httpLoaderFactory = (http: HttpClient): TranslateHttpLoader => new TranslateHttpLoader(http, './assets/i18n/', '.json'); @@ -52,6 +53,7 @@ const httpLoaderFactory = (http: HttpClient): TranslateHttpLoader => new Transl PeersModule, VersionModule, NetworkModule, + AboutModule, TranslateModule, AppRoutingModule, TranslateModule.forRoot({ diff --git a/src/app/pages/about/about-routing.module.ts b/src/app/pages/about/about-routing.module.ts new file mode 100644 index 0000000..415b491 --- /dev/null +++ b/src/app/pages/about/about-routing.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; +import { AboutComponent } from './about.component'; +import { CommonModule } from '@angular/common'; + +const routes: Routes = [ + { + path: 'about', + component: AboutComponent + } +]; + +@NgModule({ + imports: [CommonModule, RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class AboutRoutingModule { } diff --git a/src/app/pages/about/about.component.html b/src/app/pages/about/about.component.html new file mode 100644 index 0000000..859ac13 --- /dev/null +++ b/src/app/pages/about/about.component.html @@ -0,0 +1,82 @@ +
+

About

+
+ +
+
+ +
+
+
+
+
+

Monerod GUI

+
+
+
Version: 0.1.0-beta
+

+ Copyright © 2024, everoddandeven +
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +
+
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ +
+
+
Donations
+
+
+
    +
  • +

    XMR

    +
    +

    +
    +
    + 84Q1SdQgFWaEWRn5KcvSPCQUa3NF39EJ3HPCTaiM86RHLLftqgTZpkP24jXrK5YpeedWbQAjHcFcDLpFJfr9TypfAU7pPjA +

    +
  • +
  • +

    BTC

    +
    +

    +
    +
    + bc1qndc2lesy0sse9vj33a35pnfrqz4znlhhs58vfp +

    + +
  • +
+
+
+
+
+ +
    +
  • GitHub: https://github.com/everoddandeven/monerod-gui
  • +
  • Matrix: @everoddandeven:monero.social
  • +
  • Email: everoddandeven@protonmail.com
  • +
  • Signal: @everoddandeven.01
  • +
+
+ +
+
+ +
+
diff --git a/src/app/pages/about/about.component.scss b/src/app/pages/about/about.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/about/about.component.spec.ts b/src/app/pages/about/about.component.spec.ts new file mode 100644 index 0000000..da6615d --- /dev/null +++ b/src/app/pages/about/about.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AboutComponent } from './about.component'; + +describe('AboutComponent', () => { + let component: AboutComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [AboutComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(AboutComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/about/about.component.ts b/src/app/pages/about/about.component.ts new file mode 100644 index 0000000..19d46c1 --- /dev/null +++ b/src/app/pages/about/about.component.ts @@ -0,0 +1,19 @@ +import { Component } from '@angular/core'; +import { NavbarLink } from '../../shared/components/navbar/navbar.model'; + +@Component({ + selector: 'app-about', + templateUrl: './about.component.html', + styleUrl: './about.component.scss' +}) +export class AboutComponent { + public readonly links: NavbarLink[] = [ + new NavbarLink('pills-overview-tab', '#pills-overview', 'pills-overview', true, 'Overview') + ]; + + constructor() { + + } + +} + diff --git a/src/app/pages/about/about.module.ts b/src/app/pages/about/about.module.ts new file mode 100644 index 0000000..6b0df78 --- /dev/null +++ b/src/app/pages/about/about.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { AboutRoutingModule } from './about-routing.module'; +import { SharedModule } from '../../shared/shared.module'; +import { AboutComponent } from './about.component'; + + +@NgModule({ + declarations: [AboutComponent], + imports: [ + CommonModule, + SharedModule, + AboutRoutingModule + ] +}) +export class AboutModule { } diff --git a/src/app/shared/components/sidebar/sidebar.component.ts b/src/app/shared/components/sidebar/sidebar.component.ts index 173ccaa..8fb98ae 100644 --- a/src/app/shared/components/sidebar/sidebar.component.ts +++ b/src/app/shared/components/sidebar/sidebar.component.ts @@ -42,7 +42,8 @@ export class SidebarComponent { new NavLink('Bans', '/bans', 'bi bi-ban', 'bottom'), new NavLink('Logs', '/logs', 'bi bi-terminal', 'bottom'), new NavLink('Version', '/version', 'bi bi-git', 'bottom'), - new NavLink('Settings', '/settings', 'bi bi-gear', 'bottom') + new NavLink('Settings', '/settings', 'bi bi-gear', 'bottom'), + new NavLink('About', '/about', 'bi bi-info-circle', 'bottom') ]; } diff --git a/src/assets/donations/btc.png b/src/assets/donations/btc.png new file mode 100644 index 0000000000000000000000000000000000000000..6d091cf3dcf2ef25ff24485c1f1a1f5b283d6cf5 GIT binary patch literal 1451 zcmZ`(Z%i9y9KJc+kc4iFkQjFc|1C>wvP}HoZd-efKPg0Qoqu4{kdjQYeNh?@Xm_+% zG+R0}>2#(UgxUt1&<`Sw>4+<}cO-&yb?I$h&{fmj92wWfa#zdIqjwx<8*~nKUh>}i z<^4VH^FF`l`3=5iG*nkTUIhR^b!$u0>!n>RugYzu|GDhjy3+QDrR6vR0GgTd+Tzh_ zb_2k}9j#4A-n4laQ%5h1?5_cibU!B$`Gsw}-a2-;bBcKMMA-N9mBu{DmA>t^Nto&e zZkp0NpX{mJd9b4LiHFW;wluha(Z*@|870jyCk5%TNoja=PJX9D$tcb)aoNxQD1Y;1 z=nG$yDX9q3s%&v6gZAK(d?=i-CTp$8_daAoeg!zB*jEV z+F48?QBjuc+ySSIdG}YA%Hmz@`G|(Dp_|C z$*0(y{H?0X3xQD9H*fTRqSFN(;xesgV5vB9fK=_ay~~Y%&}S_2axMxhd?au3FZq|x zKzQwcQM*Uu^1E(*%wNoeoCQ&99a{25aOC%2$2X>IJ)NVpAvEIq+&|e*@GMk}^GKCx zWmQ$;>lmMr@#w3Zfz}yPy1j%X%vU41uqtkQqSq;6Sx<(1(IE%Pq?IQ2Ui;%~H41x( z^LW2odQWg$CEa%M0mlYoFULAhh)>IB1y#Z>br5C}8eH6MDyl zOp#~J!8#xi|O5jI5NVFVNa-Y?^53{OE7twx_}X literal 0 HcmV?d00001 diff --git a/src/assets/donations/xmr.png b/src/assets/donations/xmr.png new file mode 100644 index 0000000000000000000000000000000000000000..ee8dcd0ef10f510b49a736bc2cacaff754d5dec6 GIT binary patch literal 3811 zcmai1X;_k38^*pIQ>&SA88k8LV#-R3vBh%GvC^`|ZCq-sgfh)i3@KxCp=te0BN;;- zF{wVsLd#`PK?NMqh$74horJ`Vz}z5mK@)NCN7vLhGp|41>wV9AUFSK^xu5&o_jA&N z1O1j*EVBTCKuh-S@eKiiOvdJ(MGK67e5>}zjW6@WJrQR?pry@oj|tUfse|!@y4QC{ z7`|Xc-bjAEd+EYpU6f%qmkW0K>a%C2i&h6b;@}c)-lVQFeb;JY&`LD6Po7YWmh%p3F8Y1f z&g85dp+4)1PqD|@IP|?<`o$jhe->J)K|fxCZ(q^-$?$eba~OM51LNfmJ9IQ;V7Lm6 zD|%WPaW$f5>UNEj28xzYl2g5u1%Ivnf62@Z+g#mj5u5js+pOJVA6Kz3dMph*oI2R@ zpj5mv00#N_Y*MU`g-F@_ne#vH=R-tsZr+9QI$P1Bg6Zrc_aV=bD4}YfyCqVjWOte7 z_6PlP=FBHJe38W+6bx|R*$-LkA&L!!h(3umk4#N{NheLm3>m)6`ko`9VKaP>VsyL`>F_9QRhtf;D zJ4T}@Ox?ORy6nhne1D9-HjeaG;_#xr$9Y@rztv+d+WmEIa;Git_!+17_#}^dM?SO1 z#a^ae&r?o_Gt#8_@F3wfU?688Q%(lu?j}|9&xOik-+DFlpQrID;@M`q@@rCuGmAUXzjy#|BO+=rVgn7r zxbJ!cTQ}P-;M#d6MYpt^Ih4xGrt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