From d1b9f2882ada101ab3ff860002e7dfb2a05c5687 Mon Sep 17 00:00:00 2001 From: JasonGuan1012 Date: Tue, 28 Jan 2025 12:32:02 -0800 Subject: [PATCH 1/2] cryptomining frontend updates --- .../Finance/crypto/2024-12-02-cryptomining.md | 714 ------------------ .../Finance/crypto/2024-12-02-cryptomining.md | 205 ++++- 2 files changed, 168 insertions(+), 751 deletions(-) delete mode 100644 _posts/Finance/crypto/2024-12-02-cryptomining.md diff --git a/_posts/Finance/crypto/2024-12-02-cryptomining.md b/_posts/Finance/crypto/2024-12-02-cryptomining.md deleted file mode 100644 index 2da01df32..000000000 --- a/_posts/Finance/crypto/2024-12-02-cryptomining.md +++ /dev/null @@ -1,714 +0,0 @@ ---- -layout: post -title: Crypto Mining Simulator -type: issues -permalink: /crypto/mining ---- - - - - - - Crypto Mining Simulator - - - - - -
- -
- -
-

NiceHash Market

-
-
-
NICE Price
-
$0.00
-
-
-
- -
-

Ethereum Market

-
-
-
ETH Price
-
$0.00
-
-
-
- -
-

F2Pool Market

-
-
-
F2P Price
-
$0.00
-
-
-
-
-
- -
-

Wallet

-
-
-
BTC Balance
-
0.00000000
-
-
-
Pending BTC
-
0.00000000
-
-
-
USD Value
-
$0.00
-
-
-
Min. Payout: 0.001 BTC
-
-
-
- -
-

Mining Stats

-
-
-
Hashrate
-
0 MH/s
-
-
-
Shares
-
0
-
-
-
- -
-

Hardware

-
-
-
Current GPU
-
No GPU
-
-
-
GPU Temperature
-
0°C
-
-
-
Power Draw
-
0W
-
-
-
- -
-

Profitability

-
-
-
24h Revenue
-
$0.00
-
-
-
Power Cost
-
$0.00
-
-
-
- -
-

Bitcoin Market

-
-
-
BTC Price
-
$0.00
-
-
-
-
- -
-
- - - -
-
- -
-
- -
-
- -
-
- -
-

My GPU Inventory

-
- -
-
-
- - - - - \ No newline at end of file diff --git a/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md b/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md index c0a5e496c..ace7ebc1d 100644 --- a/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md +++ b/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md @@ -1,5 +1,5 @@ --- -layout: post +layout: none title: Crypto Mining Simulator type: issues permalink: /crypto/mining @@ -9,7 +9,6 @@ permalink: /crypto/mining - Crypto Mining Simulator @@ -24,8 +23,72 @@ permalink: /crypto/mining border-radius: 5px; z-index: 1000; // Ensure it appears above other elements } + /* GPU Inventory Styles */ + .dashboard-card { + @apply bg-gray-800 rounded-lg p-4 shadow-lg; + } + #gpu-inventory { + @apply mt-4; + min-height: 200px; /* Ensure minimum height even when empty */ + } + .gpu-card { + @apply bg-gray-800 rounded-lg p-4 shadow-lg mb-4; + border: 1px solid rgba(255, 255, 255, 0.1); + } + /* Navigation Bar */ + .navbar-logo { + font-size: 1.5rem; + font-weight: bold; + } + .navbar-links { + display: flex; + gap: 15px; + } + .navbar-links a:hover { + background-color: #575757; + } + .navbar { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px 20px; + background-color: #001f3f; /* Dark blue background */ + color: #fff; + } + .navbar .logo { + font-size: 24px; + font-weight: bold; + letter-spacing: 2px; + } + .navbar .nav-buttons { + display: flex; + gap: 20px; + } + .navbar .nav-buttons a { + color: #fff; + text-decoration: none; + font-size: 16px; + padding: 8px 16px; + border-radius: 4px; + transition: background-color 0.3s; + } + .navbar .nav-buttons a:hover { + background-color: #ff8c00; /* Orange hover effect */ + } + + *** note: If the stats number are not showing, try to stop the mining and start again...
+ *** note: If it says "Error loading mining state. Please try again.", please check if you are logged in or no... + +
@@ -39,7 +102,6 @@ permalink: /crypto/mining
-

Ethereum Market

@@ -157,9 +219,6 @@ permalink: /crypto/mining
-
@@ -170,9 +229,9 @@ permalink: /crypto/mining
-
+

My GPU Inventory

-
+
@@ -193,17 +252,21 @@ permalink: /crypto/mining
\ No newline at end of file From 39e31be218fefddffadb84b4033ff4bce60ef6a0 Mon Sep 17 00:00:00 2001 From: ArnavNadar Date: Wed, 29 Jan 2025 10:22:08 -0800 Subject: [PATCH 2/2] fixed crypoto mining css --- .../Finance/crypto/2024-12-02-cryptomining.md | 217 +++++++++++++----- 1 file changed, 154 insertions(+), 63 deletions(-) diff --git a/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md b/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md index ace7ebc1d..c3dd4fd63 100644 --- a/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md +++ b/_posts/gamify/Finance/crypto/2024-12-02-cryptomining.md @@ -13,69 +13,160 @@ permalink: /crypto/mining *** note: If the stats number are not showing, try to stop the mining and start again...