From a93776f907ddd8f4bd2cfc1b85f2f91420d6cee3 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Wed, 9 Aug 2023 20:45:42 -0400 Subject: [PATCH] css work --- .../dashboard/dashboard.component.html | 7 +- .../components/splash/splash.component.html | 75 +- .../components/splash/splash.component.scss | 15 + .../worker-group/worker-group.component.html | 2 +- .../components/worker/worker.component.html | 2 +- src/assets/layout/images/qr-code-ln.svg | 692 +++++++++ src/assets/layout/images/qr-code-onchain.svg | 1258 +++++++++++++++++ .../layout/styles/layout/_responsive.scss | 9 +- src/styles.scss | 6 + 9 files changed, 2030 insertions(+), 36 deletions(-) create mode 100644 src/assets/layout/images/qr-code-ln.svg create mode 100644 src/assets/layout/images/qr-code-onchain.svg diff --git a/src/app/components/dashboard/dashboard.component.html b/src/app/components/dashboard/dashboard.component.html index 7042fee..9b46e87 100644 --- a/src/app/components/dashboard/dashboard.component.html +++ b/src/app/components/dashboard/dashboard.component.html @@ -226,15 +226,10 @@ - - - - - -
+
diff --git a/src/app/components/splash/splash.component.html b/src/app/components/splash/splash.component.html index ca6c5ea..2edfecc 100644 --- a/src/app/components/splash/splash.component.html +++ b/src/app/components/splash/splash.component.html @@ -1,4 +1,4 @@ -
+
@@ -6,11 +6,11 @@
- logo +
-
+

Public Pool

@@ -35,44 +35,47 @@
username: <your BTC address>.<worker name>, password: x
- Pleb mining (under 50TH/s miners) mine with NO FEES + Pleb mining (under 50TH/s miners) mine with NO FEES
- Miners with > 50TH/s will incur a 1.5% fee, a portion of which will go back into open source Bitcoin mining + Miners with > 50TH/s will incur a 1.5% fee, a portion of which will go back into open source Bitcoin mining

- No second best. + No second best.
-
- - -
+
+

Login

+
- -
-
- -
Uptime: {{uptime$ | async | dateAgo}}
- - - - - - - - + +
+
+
+
+ +
Uptime: {{uptime$ | async | dateAgo}}
+ + + + + + + + +
@@ -152,5 +155,27 @@
+ +
+
+
+
+

Donate

+

Like the project? Consider a donation.

+
+
+ bc1q99n3pu025yyu0jlywpmwzalyhm36tg5u37w20d +
public_pool@strike.me
+
+
+ bc1q99n3pu025yyu0jlywpmwzalyhm36tg5u37w20d +
bc1q99n3pu025yyu0jlywpmwzalyhm36tg5u37w20d
+
+ +
+
+
\ No newline at end of file diff --git a/src/app/components/splash/splash.component.scss b/src/app/components/splash/splash.component.scss index 41d3202..e654489 100644 --- a/src/app/components/splash/splash.component.scss +++ b/src/app/components/splash/splash.component.scss @@ -2,6 +2,19 @@ min-width: 50%; } +#logo { + left: 50%; + margin-left: -100px; + height: 200px; + width: 200px; + position: absolute; + top: -18px; +} + +.title { + margin-top: 55px; +} + .main { margin-top: 60px; } @@ -14,4 +27,6 @@ .card { max-width: 1024px; margin: 0 auto; + + } \ No newline at end of file diff --git a/src/app/components/worker-group/worker-group.component.html b/src/app/components/worker-group/worker-group.component.html index 2cf4949..6acaaee 100644 --- a/src/app/components/worker-group/worker-group.component.html +++ b/src/app/components/worker-group/worker-group.component.html @@ -68,7 +68,7 @@
-
+
diff --git a/src/app/components/worker/worker.component.html b/src/app/components/worker/worker.component.html index 74a0b40..158e4b5 100644 --- a/src/app/components/worker/worker.component.html +++ b/src/app/components/worker/worker.component.html @@ -68,7 +68,7 @@
-
+
diff --git a/src/assets/layout/images/qr-code-ln.svg b/src/assets/layout/images/qr-code-ln.svg new file mode 100644 index 0000000..f215d1a --- /dev/null +++ b/src/assets/layout/images/qr-code-ln.svg @@ -0,0 +1,692 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/layout/images/qr-code-onchain.svg b/src/assets/layout/images/qr-code-onchain.svg new file mode 100644 index 0000000..a0cba0c --- /dev/null +++ b/src/assets/layout/images/qr-code-onchain.svg @@ -0,0 +1,1258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/layout/styles/layout/_responsive.scss b/src/assets/layout/styles/layout/_responsive.scss index 4678f3d..0ea1a8b 100644 --- a/src/assets/layout/styles/layout/_responsive.scss +++ b/src/assets/layout/styles/layout/_responsive.scss @@ -1,5 +1,7 @@ @media screen and (min-width: 1960px) { - .layout-main, .landing-wrapper { + + .layout-main, + .landing-wrapper { width: 1504px; margin-left: auto !important; margin-right: auto !important; @@ -63,7 +65,8 @@ .layout-wrapper { .layout-main-container { margin-left: 0; - padding-left: 2rem; + padding-left: 10px; + padding-right: 10px; } .layout-sidebar { @@ -97,4 +100,4 @@ } } } -} +} \ No newline at end of file diff --git a/src/styles.scss b/src/styles.scss index ad93f51..6f1c370 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -15,4 +15,10 @@ p-chart>div { position: relative; min-height: 40vh; +} + +.card { + &.chart { + padding: 10px; + } } \ No newline at end of file