From 815f54c7d06e89ed900b8e68e227ac142e1e9892 Mon Sep 17 00:00:00 2001 From: itailiors <78041027+itailiors@users.noreply.github.com> Date: Fri, 16 Aug 2024 04:45:06 +0300 Subject: [PATCH 1/4] fixes for issue 103 and 132 --- src/Angor/Client/Pages/Founder.razor | 91 +++++++++++----------- src/Angor/Client/Pages/Invest.razor | 20 ++++- src/Angor/Client/Pages/View.razor | 30 ++++++- src/Angor/Client/Storage/ClientStorage.cs | 5 ++ src/Angor/Client/Storage/IClientStorage.cs | 1 + 5 files changed, 96 insertions(+), 51 deletions(-) diff --git a/src/Angor/Client/Pages/Founder.razor b/src/Angor/Client/Pages/Founder.razor index 98426951..82ad6970 100644 --- a/src/Angor/Client/Pages/Founder.razor +++ b/src/Angor/Client/Pages/Founder.razor @@ -43,41 +43,38 @@ @if (founderProjects.Count == 0) { -
The investing period for this project ended on @project.ProjectInfo.ExpiryDate.ToString("dd/MM/yyyy").
+You can no longer invest in this project.
+Here are some details:
+If you are already invested, you will continue to receive updates on the project's progress.
+Total Seeders: @projectStats.TotalSeeders
*@Time Left for Investing: @projectStats.TimeLeft days
++ @if (projectStats.TimeLeft > 0) + { + Time Left for Investing: @projectStats.TimeLeft days + } + else + { + The investing period is over + } +
Seize the opportunity to invest in this project.
- +- To create a new project or view your existing projects, an on-chain transaction and a Nostr DID are required. -
+ To create a new project or view your existing projects, an on-chain transaction and a Nostr DID are required. +@if (projectStats.TimeLeft > 0) { - Time Left for Investing: @projectStats.TimeLeft days + Time Left for Investing: @projectStats.TimeLeft days } else { - The investing period is over + The investing period is over }