Skip to content

Commit

Permalink
add relaypag.es for monitordata fetchinng
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Apr 13, 2024
1 parent 9464ad2 commit 6ed1ddf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/lib/core/MRPMonitors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class MRPMonitors extends MRPData {
super($state.signal, 'monitors')
this.$ = $state;
this._url = url;
if(!$state?.ndk) return
this.relaySet = new NDKRelaySet(new Set(this.monitorEventRelays.map((relay: string) => new NDKRelay(relay))), $state.ndk)
}

Expand Down
8 changes: 4 additions & 4 deletions static/themes/classic.css
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ video {
--mrpBlockLight1 0.5s ease-in-out,
--mrpBlockLight2 0.5s ease-in-out}
.mrp-block:is(.dark *) {
--mrpBlockLight1: rgb(0 0 0 / 0);
--mrpBlockLight2: #020617;
--mrpBlockLight1: #020617;
--mrpBlockLight2: rgb(0 0 0 / 0);
}
.mrp-block-title {
margin-bottom: 0.5rem;
Expand Down Expand Up @@ -1742,12 +1742,12 @@ video {
/* block: gradient animations */
@property --mrpBlockLight1 {
syntax: '<color>';
initial-value: rgb(255 255 255 / 0);
initial-value: #f3f4f6;
inherits: false;
}
@property --mrpBlockLight2 {
syntax: '<color>';
initial-value: #f3f4f6;
initial-value: rgb(255 255 255 / 0);
inherits: false;
}
/* block: jump: gradient animations */
Expand Down

0 comments on commit 6ed1ddf

Please sign in to comment.