You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
146 lines
4.9 KiB
146 lines
4.9 KiB
<div class="container">
|
|
<div class="row">
|
|
<div class="col">
|
|
<h3 class="h4 mb-3 text-center" i18n>
|
|
Hello, {{ portfolioPublicDetails?.alias ?? 'someone' }} has shared a
|
|
<strong>Portfolio</strong> with you!
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
<div class="proportion-charts row">
|
|
<div class="col-md-12 allocations-by-symbol">
|
|
<mat-card appearance="outlined" class="mb-3">
|
|
<mat-card-header class="overflow-hidden w-100">
|
|
<mat-card-title class="text-truncate" i18n>Holdings</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<gf-portfolio-proportion-chart
|
|
class="mx-auto"
|
|
[isInPercent]="true"
|
|
[keys]="['symbol']"
|
|
[positions]="symbols"
|
|
[showLabels]="deviceType !== 'mobile'"
|
|
></gf-portfolio-proportion-chart>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</div>
|
|
<div *ngIf="portfolioPublicDetails?.hasDetails" class="col-md-4">
|
|
<mat-card appearance="outlined" class="mb-3">
|
|
<mat-card-header class="overflow-hidden w-100">
|
|
<mat-card-title class="text-truncate" i18n>Currencies</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<gf-portfolio-proportion-chart
|
|
[isInPercent]="true"
|
|
[keys]="['currency']"
|
|
[maxItems]="10"
|
|
[positions]="positions"
|
|
></gf-portfolio-proportion-chart>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</div>
|
|
<div *ngIf="portfolioPublicDetails?.hasDetails" class="col-md-4">
|
|
<mat-card appearance="outlined" class="mb-3">
|
|
<mat-card-header class="overflow-hidden w-100">
|
|
<mat-card-title class="text-truncate" i18n>Sectors</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<gf-portfolio-proportion-chart
|
|
[isInPercent]="true"
|
|
[keys]="['name']"
|
|
[maxItems]="10"
|
|
[positions]="sectors"
|
|
></gf-portfolio-proportion-chart>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</div>
|
|
<div *ngIf="portfolioPublicDetails?.hasDetails" class="col-md-4">
|
|
<mat-card appearance="outlined" class="mb-3">
|
|
<mat-card-header class="overflow-hidden w-100">
|
|
<mat-card-title class="text-truncate" i18n>Continents</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<gf-portfolio-proportion-chart
|
|
[isInPercent]="true"
|
|
[keys]="['name']"
|
|
[positions]="continents"
|
|
></gf-portfolio-proportion-chart>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="portfolioPublicDetails?.hasDetails" class="row world-map-chart">
|
|
<div class="col-lg">
|
|
<mat-card appearance="outlined" class="mb-3">
|
|
<mat-card-header class="overflow-hidden w-100">
|
|
<mat-card-title class="text-truncate" i18n>Regions</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<div class="world-map-chart-container">
|
|
<gf-world-map-chart
|
|
format="{0}%"
|
|
[countries]="countries"
|
|
[isInPercent]="true"
|
|
></gf-world-map-chart>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-4 my-2">
|
|
<gf-value
|
|
i18n
|
|
size="large"
|
|
[isPercent]="true"
|
|
[value]="markets?.developedMarkets?.value"
|
|
>Developed Markets</gf-value
|
|
>
|
|
</div>
|
|
<div class="col-xs-12 col-md-4 my-2">
|
|
<gf-value
|
|
i18n
|
|
size="large"
|
|
[isPercent]="true"
|
|
[value]="markets?.emergingMarkets?.value"
|
|
>Emerging Markets</gf-value
|
|
>
|
|
</div>
|
|
<div class="col-xs-12 col-md-4 my-2">
|
|
<gf-value
|
|
i18n
|
|
size="large"
|
|
[isPercent]="true"
|
|
[value]="markets?.otherMarkets?.value"
|
|
>Other Markets</gf-value
|
|
>
|
|
</div>
|
|
</div>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg">
|
|
<gf-holdings-table
|
|
pageSize="7"
|
|
[deviceType]="deviceType"
|
|
[hasPermissionToShowValues]="false"
|
|
[positions]="positionsArray"
|
|
></gf-holdings-table>
|
|
</div>
|
|
</div>
|
|
<div class="row my-5">
|
|
<div class="col-md-10 offset-md-1">
|
|
<h2 class="h4 mb-1 text-center">
|
|
Would you like to <strong>refine</strong> your
|
|
<strong>personal investment strategy</strong>?
|
|
</h2>
|
|
<p class="lead mb-3 text-center" i18n>
|
|
Ghostfolio empowers you to keep track of your wealth.
|
|
</p>
|
|
<div class="py-2 text-center">
|
|
<a color="primary" href="https://ghostfol.io" mat-flat-button>
|
|
<ng-container i18n>Get Started</ng-container>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|