34 Commits
Author SHA1 Message Date
Ben 4dac017d04 Affiliate text 2025-11-29 12:11:06 -05:00
Ben e1c665f017 TLS 2025-11-29 12:06:14 -05:00
WantClue 0c5c40c7ac Merge remote-tracking branch 'github/master' into affiliate 2025-11-28 19:26:37 +01:00
Ben 2ec9829a71 logo 2025-08-07 12:10:17 -04:00
Ben 7d521a4f23 update links 2025-08-07 11:51:37 -04:00
duckAxe 232ce4ec6d Fix Affiliate Section (#32) 2025-07-11 11:28:44 -04:00
Ben 821f8f3e0d discount updates 2025-06-21 15:15:56 -04:00
Ben 6c294a37f0 truncate worker on splash 2025-04-29 15:44:46 -04:00
Ben 98dbe337c1 worker name truncate 2025-04-29 15:34:43 -04:00
Benjamin Wilson 43b196537f affiliate update 2025-04-11 23:12:33 -04:00
Benjamin Wilson 83c5b56b9a plebsource 2025-03-11 21:45:15 -04:00
Benjamin Wilson a97c761381 Merge branch 'master' into affiliate 2025-02-01 15:33:50 -05:00
Benjamin Wilson 725526f5f9 Merge branch 'master' into affiliate 2025-02-01 15:32:32 -05:00
Benjamin Wilson c003bbee04 solo satoshi update 2024-12-30 11:11:57 -05:00
Benjamin Wilson 80ab281930 Affiliate 2024-12-22 10:25:00 -05:00
Benjamin Wilson 12c4033f42 remove merch 2024-11-14 15:32:47 -05:00
Benjamin Wilson c3408f5271 Merge branch 'master' into affiliate 2024-08-24 21:17:27 -04:00
Benjamin Wilson 0e31c0d0d2 Merge branch 'master' into affiliate 2024-08-22 10:46:19 -04:00
Benjamin Wilson a87310fa7d Merge branch 'master' into affiliate 2024-08-22 10:31:57 -04:00
Benjamin Wilson 5d6dd51062 Merge branch 'master' into affiliate 2024-08-08 21:15:14 -04:00
Benjamin Wilson cd49f56577 Merge branch 'master' into affiliate 2024-08-08 20:59:19 -04:00
Benjamin Wilson bf820b99e7 Merge branch 'master' into affiliate 2024-08-08 20:40:56 -04:00
Benjamin Wilson 5093516a2d miningwholesale 2024-08-03 09:04:38 -04:00
Benjamin Wilson c6622719a3 typo 2024-07-26 12:03:49 -04:00
Benjamin Wilson aee6d2f088 go-brrr 2024-07-26 11:48:25 -04:00
Benjamin Wilson f9d020d220 solo satoshi 2024-06-17 21:52:27 -04:00
Ben 758efc5d5b Merge branch 'master' into affiliate 2024-03-11 20:43:48 -04:00
Ben 913b3f9405 typo 2024-03-09 14:50:21 -05:00
Ben 6cac2d5279 bitcoin merch 2024-03-09 14:29:44 -05:00
Ben Wilson 6d1f796e0f dcentral 2024-02-21 21:25:05 -05:00
Ben Wilson add0e2da12 mobile 2024-02-21 18:24:09 -05:00
Ben Wilson 087b5e1b79 image resize 2024-02-21 18:18:27 -05:00
Ben Wilson 7e2bf93584 deploy test 2024-02-21 18:11:02 -05:00
Ben Wilson 7b18baf960 images and links 2024-02-21 18:06:15 -05:00
14 changed files with 71 additions and 52 deletions
@@ -33,6 +33,8 @@
<div class="info mb-2 p-4 border-dashed border-1 border-round"> <div class="info mb-2 p-4 border-dashed border-1 border-round">
<code>stratum+tcp://{{stratumURL}}</code> <code>stratum+tcp://{{stratumURL}}</code>
<br> <br>
<code>stratum+tls://{{secureStratumURL}}</code>
<br>
<code>username: &lt;your BTC address&gt;.&lt;worker name&gt;, password: x</code> <code>username: &lt;your BTC address&gt;.&lt;worker name&gt;, password: x</code>
</div> </div>
<span><b>NO FEES</b></span> <span><b>NO FEES</b></span>
@@ -40,9 +42,6 @@
<span>No second best.</span> <span>No second best.</span>
</div> </div>
</div> </div>
</div> </div>
@@ -131,6 +130,58 @@
</div> </div>
</div> </div>
<div class="col-12">
<div class="card">
<h4 style="text-align: center;">Affiliate Program</h4>
<p>Purchase products through the affiliate links below to enjoy discounts on mining hardware. Affiliate
earnings are used for pool hosting costs and allow 0% fees. Your support is appreciated.</p>
<div class="grid" style="padding-top: 20px;">
<div class="col-12 md:col-4">
<a href="https://www.solosatoshi.com/aff/7/" target="_blank">
<div class="text-center">
<h4 class="text-center"> Solo Satoshi (USA)</h4>
<img id="solosatoshi" style="height: 200px; width: 200px; object-fit: contain;"
src="assets/layout/images/solo-logo.webp" alt="solosatoshi">
<h5>Discount Code (6.5%): <code>RealPleb </code></h5>
</div>
</a>
</div>
<div class="col-12 md:col-4">
<a href="https://www.thesolomining.co/" target="_blank">
<div class="text-center">
<h4 class="text-center"> The Solo Mining Co (UK)</h4>
<img id="soloco" style="height: 200px; width: 200px; object-fit: cover;"
src="assets/layout/images/soloco.png" alt="soloco">
<h5>Discount Code: <code>solo</code></h5>
</div>
</a>
</div>
<div class="col-12 md:col-4">
<a href="https://d-central.tech/product-category/asics/ref/benjamin.wilson/" target="_blank">
<div class="text-center">
<h4 class="text-center"> D-Central Tech (CA)</h4>
<img id="dcentral" style="height: 200px; width: 200px; object-fit: cover;"
src="assets/layout/images/dcentral.png" alt="dcentral">
<h5>Discount Code: <code>solo</code> (Bitaxe products)</h5>
</div>
</a>
</div>
<div class="col-12 md:col-4">
<a href="https://miningwholesale.eu/?wpam_id=143" target="_blank">
<div class="text-center">
<h4 class="text-center"> Mining Wholesale (EU)</h4>
<img id="GoBrrr" style="height: 200px; width: 200px; object-fit: contain;"
src="assets/layout/images/mining-wholesale.png" alt="GoBrrr">
</div>
</a>
</div>
</div>
</div>
</div>
<div class="col-12" *ngIf="highScores$ | async as highScores"> <div class="col-12" *ngIf="highScores$ | async as highScores">
<div class="card"> <div class="card">
@@ -24,47 +24,6 @@
font-size: x-large; font-size: x-large;
} }
.info code {
display: inline-block;
white-space: nowrap;
font-size: inherit;
}
/* Desktop styles */
@media screen and (min-width: 769px) {
.info {
padding: 1rem;
text-align: center;
}
.info code {
max-width: 90%;
margin: 0 auto;
}
}
/* Tablet and mobile styles */
@media screen and (max-width: 768px) {
.info {
font-size: large;
padding: 0.5rem;
}
.info code {
white-space: pre-wrap;
word-wrap: break-word;
font-size: 0.9em;
}
}
/* Very small screens */
@media screen and (max-width: 480px) {
.info {
font-size: medium;
padding: 0.25rem;
}
}
.card { .card {
max-width: 1024px; max-width: 1024px;
margin: 0 auto; margin: 0 auto;
@@ -27,10 +27,11 @@ export class SplashComponent {
public chartOptions: any; public chartOptions: any;
public stratumURL = ''; public stratumURL = '';
public secureStratumURL = '';
private info$: Observable<any>; private info$: Observable<any>;
private networkInfo:any; private networkInfo: any;
constructor(private appService: AppService, private cdr: ChangeDetectorRef) { constructor(private appService: AppService, private cdr: ChangeDetectorRef) {
@@ -42,6 +43,12 @@ export class SplashComponent {
this.stratumURL = window.location.hostname + ':3333'; this.stratumURL = window.location.hostname + ':3333';
} }
if (environment.SECURE_STRATUM_URL.length > 1) {
this.secureStratumURL = environment.SECURE_STRATUM_URL;
} else {
this.secureStratumURL = window.location.hostname + ':4333';
}
this.blockData$ = this.info$.pipe(map(info => info.blockData)); this.blockData$ = this.info$.pipe(map(info => info.blockData));
this.userAgents$ = this.info$.pipe(map(info => info.userAgents)); this.userAgents$ = this.info$.pipe(map(info => info.userAgents));
this.highScores$ = this.info$.pipe(map(info => info.highScores)); this.highScores$ = this.info$.pipe(map(info => info.highScores));
@@ -107,7 +114,7 @@ export class SplashComponent {
ticks: { ticks: {
color: textColorSecondary, color: textColorSecondary,
callback: (value: number) => { callback: (value: number) => {
return HashSuffixPipe.transform(value) + " - " + AverageTimeToBlockPipe.transform(value, this.networkInfo.difficulty); return HashSuffixPipe.transform(value) + " - " + AverageTimeToBlockPipe.transform(value, this.networkInfo.difficulty);
} }
}, },
grid: { grid: {
@@ -91,5 +91,5 @@
<i class="pi pi-star-fill"></i> <i class="pi pi-star-fill"></i>
</a> </a>
</ng-container> </ng-container>
<ng-container *ngSwitchDefault>{{userAgent}}</ng-container> <ng-container *ngSwitchDefault>{{userAgent | slice:0:12}}</ng-container>
</ng-container> </ng-container>
Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

+2 -1
View File
@@ -1,5 +1,6 @@
export const environment = { export const environment = {
production: true, production: true,
API_URL: 'https://public-pool.io:40557', API_URL: 'https://public-pool.io:40557',
STRATUM_URL: 'public-pool.io:21496' STRATUM_URL: 'public-pool.io:3333',
SECURE_STRATUM_URL: 'public-pool.io:4333',
}; };
+2 -1
View File
@@ -1,5 +1,6 @@
export const environment = { export const environment = {
production: false, production: false,
API_URL: 'http://localhost:3334', API_URL: 'http://localhost:3334',
STRATUM_URL: 'public-pool.io:21496' STRATUM_URL: 'public-pool.io:3333',
SECURE_STRATUM_URL: 'public-pool.io:4333',
}; };