Files
smartguide/webapp/src/app/modules/person/person.component.html
T
Kazgatari 011c14ee6a
LocationBasedServices/smartguide/pipeline/head This commit looks good
Experimental Signal based service injection
2026-05-28 22:11:06 +02:00

73 lines
1.9 KiB
HTML

<section class="person-hero">
<div class="profile-card">
<div class="profile-avatar">{{ initials() }}</div>
<div class="profile-main">
<div class="name-line">
<span>Person</span>
<h1>{{ displayName() }}</h1>
</div>
<p>{{ institution() }}</p>
@if (countryCode()) {
<span>{{ countryCode() }}</span>
}
@if (worksCount() !== null || citedByCount() !== null) {
<span>
@if (worksCount() !== null) {
{{ worksCount() }} Publikationen
}
@if (worksCount() !== null && citedByCount() !== null) {
·
}
@if (citedByCount() !== null) {
{{ citedByCount() }} Zitationen
}
</span>
}
</div>
<div class="profile-contact">
<div>
<mat-icon>mail</mat-icon>
<span>anna.becker@uni-due.de</span>
</div>
@if (openAlexId()) {
<div>
<mat-icon>person</mat-icon>
<span>{{ openAlexId() }}</span>
</div>
}
@if (orcid()) {
<div>
<mat-icon class="orcid">verified</mat-icon>
<a [href]="orcidUrl()" target="_blank" rel="noopener">{{ orcid() }}</a>
</div>
}
<div>
<mat-icon>language</mat-icon>
<a href="https://ude.de/anna-becker" target="_blank" rel="noopener">
ude.de/anna-becker
</a>
</div>
</div>
</div>
<app-person-interesting [topics]="topicsFull()"></app-person-interesting>
</section>
<nav class="person-tabs" mat-tab-nav-bar [tabPanel]="tabPanel">
@for (link of links; track link.path) {
<a
mat-tab-link
[routerLink]="link.path"
routerLinkActive
#rla="routerLinkActive"
[active]="rla.isActive"
[disabled]="link.disabled"
>
{{ link.label }}
</a>
}
</nav>
<mat-tab-nav-panel #tabPanel class="person-panel">
<router-outlet></router-outlet>
</mat-tab-nav-panel>