diff --git a/nise-frontend/src/app/app-routing.module.ts b/nise-frontend/src/app/app-routing.module.ts index cd47f12..4266e83 100644 --- a/nise-frontend/src/app/app-routing.module.ts +++ b/nise-frontend/src/app/app-routing.module.ts @@ -7,6 +7,7 @@ import {ViewScoreComponent} from "./view-score/view-score.component"; import {ViewUserComponent} from "./view-user/view-user.component"; import {ViewReplayPairComponent} from "./view-replay-pair/view-replay-pair.component"; import {SearchComponent} from "./search/search.component"; +import {ContributeComponent} from "./contribute/contribute.component"; const routes: Routes = [ {path: 'sus/:f', component: ViewSuspiciousScoresComponent, title: '/sus/'}, @@ -22,6 +23,7 @@ const routes: Routes = [ {path: 'p/:replay1Id/:replay2Id', component: ViewReplayPairComponent}, + {path: 'contribute', component: ContributeComponent, title: '/contribute/ <3'}, {path: '**', component: HomeComponent, title: '/nise.moe/'}, ]; diff --git a/nise-frontend/src/app/app.component.html b/nise-frontend/src/app/app.component.html index 78f891e..27afc8f 100644 --- a/nise-frontend/src/app/app.component.html +++ b/nise-frontend/src/app/app.component.html @@ -5,17 +5,18 @@
-

/nise.moe/

+

/nise.moe/

-
+
hi, {{this.userService.currentUser?.username}} Logout diff --git a/nise-frontend/src/app/contribute/contribute.component.css b/nise-frontend/src/app/contribute/contribute.component.css new file mode 100644 index 0000000..6d93dab --- /dev/null +++ b/nise-frontend/src/app/contribute/contribute.component.css @@ -0,0 +1,21 @@ +.img-container { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + column-gap: 5px; +} + +img { + max-width: 100%; + max-height:100%; +} + +.btn-patreon { + padding: 5px; + border: 2px solid rgba(185, 82, 48, 0.94); + color: #ff683bf0; +} + +.btn-patreon:hover { + background-color: #ff683bf0; + color: white; +} diff --git a/nise-frontend/src/app/contribute/contribute.component.html b/nise-frontend/src/app/contribute/contribute.component.html new file mode 100644 index 0000000..185f559 --- /dev/null +++ b/nise-frontend/src/app/contribute/contribute.component.html @@ -0,0 +1,33 @@ +
+ +
+
+ +
+ +

# contributing to the project

+

if you'd like to keep the project healthy and funded in the long term, you are invited to directly contribute.

+

the website does not run ads, paywall features, or collect your private data in any way.

+ +

the money will be used to pay for the server hosting and development time.

+ + + + + + + + + + + +
Server hosting~204$/year
Domain~17$/year
+
+ +
+
+ + +
diff --git a/nise-frontend/src/app/contribute/contribute.component.ts b/nise-frontend/src/app/contribute/contribute.component.ts new file mode 100644 index 0000000..8ad5072 --- /dev/null +++ b/nise-frontend/src/app/contribute/contribute.component.ts @@ -0,0 +1,19 @@ +import { Component } from '@angular/core'; +import {CuteLoadingComponent} from "../../corelib/components/cute-loading/cute-loading.component"; +import {DecimalPipe, NgForOf, NgIf} from "@angular/common"; + +@Component({ + selector: 'app-contribute', + standalone: true, + imports: [ + CuteLoadingComponent, + DecimalPipe, + NgForOf, + NgIf + ], + templateUrl: './contribute.component.html', + styleUrl: './contribute.component.css' +}) +export class ContributeComponent { + +} diff --git a/nise-frontend/src/assets/contribute.png b/nise-frontend/src/assets/contribute.png new file mode 100644 index 0000000..99fff2e Binary files /dev/null and b/nise-frontend/src/assets/contribute.png differ