forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 4
/
home-page.component.html
130 lines (128 loc) · 6.34 KB
/
home-page.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<div class="container clarin-shadow remove-padding clarin-home-page-borders clarin-fix-to-navbar clarin-cut-bottom">
<div class="container bg-white">
<div class="row d-none d-md-flex">
<div class="col-md-8 justify-content-center align-self-center pl-3">
<ngb-carousel>
<ng-template ngbSlide *ngFor="let slide of slides">
<div class="wrapper">
<div *ngIf="slide.short === 'LData'">
<img src="assets/images/home-page-glass.png" class="glass-image">
<h3 class="carousel-ldata-info">{{'home-page.carousel.ldata.info' | translate}}</h3>
<h5 class="carousel-ldata-find">{{'home-page.carousel.ldata.find' | translate}}</h5>
<h5 class="carousel-ldata-citation-support">{{'home-page.carousel.ldata.citation-support' | translate}}</h5>
</div>
<div *ngIf="slide.short === 'Free Deposit'">
<h3 class="h5-font carousel-deposit-header">{{'home-page.carousel.deposit.header' | translate}}</h3>
<h5 class="h5-font carousel-deposit-info">{{'home-page.carousel.deposit.info' | translate}}</h5>
<h5 class="h5-font carousel-deposit-find">{{'home-page.carousel.deposit.find' | translate}}</h5>
<h5 class="h5-font carousel-deposit-cite">{{'home-page.carousel.deposit.cite' | translate}}</h5>
</div>
<div *ngIf="slide.short === 'Citation'">
<div class="carousel-deposit-citation">
<blockquote class="h5-font">
<strong>
<i class="fa fa-quote-left fa-2x pull-left"> </i>{{'home-page.carousel.deposit.citation' | translate}}</strong>
<small>{{'home-page.carousel.deposit.small' | translate}}</small>
</blockquote>
</div>
</div>
</div>
</ng-template>
</ngb-carousel>
</div>
<div class="col-md-4 d-none d-lg-block">
<div class="row">
<a routerLink="home" class="col-md-7" style="height: 160px; position: relative;">
<img alt="LINDAT/CLARIAH-CZ logo" class="logo" style="position: absolute; height: 50%; top: 0px; bottom: 0px; margin: auto;" src="assets/images/lindat-logo-new-sm.png">
</a>
<a class="col-md-5" style="height: 160px; position: relative;" href="http://www.clarin.eu/">
<img alt="LINDAT/CLARIAH-CZ logo" class="logo" style="position: absolute; height: 50%; top: 0px; bottom: 0px; margin: auto;" src="assets/images/clarin-logo.png">
</a>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row hidden-xs lindat-color-line"><img class="w-100" src="assets/images/lindat_color_line.png"></div>
</div>
<div class="container clarin-home-page-color pt-4 pb-5">
<div class="row justify-content-center pt-4">
<div class="col-6 d-flex justify-content-center">
<span class="flex-fill input-group-addon">
<i style="color: #7479B8;" class="fas fa-search fa-lg"></i>
</span>
<ds-themed-search-form id="search-form"
class="flex-fill"
[currentUrl]="searchLink"
[inPlaceSearch]="false"
[searchPlaceholder]="'home-page.search' | translate">
</ds-themed-search-form>
</div>
</div>
<div class="row justify-content-center pt-3">
<a href="javascript:void(0);" (click)="redirectToSearch('')">{{'home-page.advanced-search' | translate}}</a>
</div>
<div class="row justify-content-center pt-5">
<div class="col-md-9 responsive-padding">
<div class="row offset-md-1">
<div class="col-md-4 border-bottom">
<strong>{{'home-page.hyperlink.author.message' | translate}}</strong>
<div *ngFor="let authorLink of (authors$| async); let i = index">
<span><a [href]="authorLink.url">{{ authorLink.name }} ({{ authorLink.occurrences }})</a></span>
</div>
<div>
<a href="javascript:void(0);" (click)="redirectToBrowseByField('author')">
{{ 'home-page.hyperlink.view-more.message' | translate }}
</a>
</div>
</div>
<div class="col-md-4 border-bottom">
<strong>{{'home-page.hyperlink.subject.message' | translate}}</strong>
<div *ngFor="let subjectLink of (subjects$| async); let i = index">
<span><a [href]="subjectLink.url">{{ subjectLink.name }} ({{ subjectLink.occurrences }})</a></span>
</div>
<div>
<a href="javascript:void(0);" (click)="redirectToBrowseByField('subject')">
{{ 'home-page.hyperlink.view-more.message' | translate }}
</a>
</div>
</div>
<div class="col-md-4 border-bottom">
<strong>{{'home-page.hyperlink.language.message' | translate}}</strong>
<div *ngFor="let languageLink of (languages$| async); let i = index">
<span><a [href]="languageLink.url">{{ languageLink.name }} ({{ languageLink.occurrences }})</a></span>
</div>
<div>
<a href="javascript:void(0);" (click)="redirectToBrowseByField('language')">
{{ 'home-page.hyperlink.view-more.message' | translate }}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container pt-3">
<div class="card clarin-home-page-items-color">
<div class="card-body">
<div class="justify-content-between d-flex">
<div class="recent-submissions-head flex-fill">{{'home-page.whats-new.message' | translate}}</div>
<ds-rss class="ml-1 override-css"></ds-rss>
</div>
<ds-clarin-item-box-view
*ngFor="let newItem of (newItems$ | async)"
[object]="newItem"></ds-clarin-item-box-view>
</div>
</div>
</div>
<div class="container pt-3 pb-5">
<div class="card clarin-home-page-items-color">
<div class="card-body">
<div class="top-items-head">{{'home-page.new-items.message' | translate}}</div>
<ds-clarin-item-box-view
*ngFor="let topItem of (topItems$ | async)"
[object]="topItem"></ds-clarin-item-box-view>
</div>
</div>
</div>
</div>