From 15cbaaf60a232543ab2c5f444336d5a3971e6f34 Mon Sep 17 00:00:00 2001 From: Petre Chitashvili Date: Sun, 13 Jul 2025 14:48:23 +0400 Subject: [PATCH 1/3] fix: prevent duplicate workflow runs on PR branches - Changed workflow triggers to only run on push to main and PRs to main - This prevents duplicate runs when pushing to a PR branch - Previously both push and pull_request events would trigger for PR branches --- .github/workflows/build-and-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 32fdfc4..4a7f496 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,9 +1,10 @@ name: Build and Test -# Run on PRs and pushes to any branch +# Run on PRs to main and direct pushes to main +# This avoids duplicate runs when pushing to a PR branch on: push: - branches: [ '**' ] + branches: [ main ] pull_request: branches: [ main ] From 5f0c8aca3fdbc72fde505a3c3dac6716ad128cdb Mon Sep 17 00:00:00 2001 From: Petre Chitashvili Date: Sun, 13 Jul 2025 22:02:18 +0400 Subject: [PATCH 2/3] feat: Complete navigation system overhaul with new features - Add comprehensive navigation structure with collapsible sections - Create placeholder pages for all planned features (Bitcoin, Fiat, Education, Tools) - Implement real-time Bitcoin price ticker in navigation footer - Add Bitcoin service for price fetching and caching - Enhance UI with modern styling, animations, and Georgian language support - Fix navigation icon alignment issues for better visual consistency - Replace PNG favicon with SVG version - Update main layout and improve responsive design *Collaboration by Claude* --- Layout/MainLayout.razor | 224 ++++++++++++++--- Layout/MainLayout.razor.css | 2 +- Layout/NavMenu.razor | 229 ++++++++++++++++-- Layout/NavMenu.razor.css | 367 +++++++++++++++++++++++----- Models/Bitcoin.cs | 32 +++ Pages/Alerts.razor | 8 + Pages/BitcoinBasics.razor | 8 + Pages/BtcPrice.razor | 8 + Pages/CurrencyConverter.razor | 8 + Pages/DcaCalculator.razor | 8 + Pages/Economics.razor | 8 + Pages/Halving.razor | 8 + Pages/HistoricalRates.razor | 16 +- Pages/Index.razor | 443 +++++++++++++++++++++++++++++++--- Pages/Inflation.razor | 8 + Pages/Mining.razor | 8 + Pages/MoneyHistory.razor | 8 + Pages/Portfolio.razor | 8 + Pages/PurchasingPower.razor | 5 +- Program.cs | 1 + Services/BitcoinService.cs | 72 ++++++ wwwroot/css/app.css | 309 +++++++++++++++++++++--- wwwroot/favicon.png | Bin 1148 -> 0 bytes wwwroot/favicon.svg | 10 + wwwroot/index.html | 28 ++- 25 files changed, 1622 insertions(+), 204 deletions(-) create mode 100644 Models/Bitcoin.cs create mode 100644 Pages/Alerts.razor create mode 100644 Pages/BitcoinBasics.razor create mode 100644 Pages/BtcPrice.razor create mode 100644 Pages/CurrencyConverter.razor create mode 100644 Pages/DcaCalculator.razor create mode 100644 Pages/Economics.razor create mode 100644 Pages/Halving.razor create mode 100644 Pages/Inflation.razor create mode 100644 Pages/Mining.razor create mode 100644 Pages/MoneyHistory.razor create mode 100644 Pages/Portfolio.razor create mode 100644 Services/BitcoinService.cs delete mode 100644 wwwroot/favicon.png create mode 100644 wwwroot/favicon.svg diff --git a/Layout/MainLayout.razor b/Layout/MainLayout.razor index b4f1ca1..0c3bd16 100644 --- a/Layout/MainLayout.razor +++ b/Layout/MainLayout.razor @@ -1,7 +1,16 @@ @inherits LayoutComponentBase @inject IJSRuntime JSRuntime -
+
+
+
+
+
+
+
+
+
+
@@ -27,6 +36,7 @@ } diff --git a/Layout/MainLayout.razor.css b/Layout/MainLayout.razor.css index ecf25e5..2adc955 100644 --- a/Layout/MainLayout.razor.css +++ b/Layout/MainLayout.razor.css @@ -52,7 +52,7 @@ main { } .sidebar { - width: 250px; + width: 280px; height: 100vh; position: sticky; top: 0; diff --git a/Layout/NavMenu.razor b/Layout/NavMenu.razor index e47617c..53d2671 100644 --- a/Layout/NavMenu.razor +++ b/Layout/NavMenu.razor @@ -1,6 +1,14 @@ -