diff --git a/src/app/components/explore/explore.component.html b/src/app/components/explore/explore.component.html index bedbc19..4cb8c4c 100644 --- a/src/app/components/explore/explore.component.html +++ b/src/app/components/explore/explore.component.html @@ -2,7 +2,7 @@
- @@ -15,7 +15,8 @@ What’s your next investment?
- Check out our projects and find your next investment opportunity. + Check out our projects and find your next investment + opportunity.
@@ -36,71 +37,98 @@
- -
+
- Card cover image
- Project logo
-
-
- {{ project.displayName || project.nostrPubKey }} +
+ @if (project.displayName || project.name) { +
+ {{ + project.displayName || + project.nostrPubKey + }}
-
- {{ project.about || 'No description available' }} + } + @if ( + !project.name && !project.displayName + ) { +
+ {{ + project.displayName || + project.nostrPubKey + }} +
+ } +
+ {{ + project.about || + 'No description available' + }}
- @if (project.displayName ||project.name) { + @if (project.displayName || project.name) {
-
} -

- {{ project.totalInvestmentsCount || 0 }} investors + {{ project.totalInvestmentsCount || 0 }} + investors
- + + Investor avatar {{ i + 1 }} + [ngClass]="{ + '-ml-3': project.totalInvestmentsCount > 1 && i > 0 + }" + [src]="'images/avatars/avatar-placeholder.png'" + alt="Investor avatar {{ i + 1 }}" /> +
- -
-
-
+