Styling publications on home page.
This commit is contained in:
@@ -1 +1,15 @@
|
||||
<h1>Welcome to Codiki application!</h1>
|
||||
<h1>Last articles</h1>
|
||||
<div class="publication-container">
|
||||
<a *ngFor="let publication of publications$ | async" [routerLink]="['']" class="publication">
|
||||
<img src="/pictures/{{publication.illustrationId}}"/>
|
||||
<h1>{{publication.title}}</h1>
|
||||
<h2>{{publication.description}}</h2>
|
||||
<div class="footer">
|
||||
<img src="/pictures/{{publication.author.image}}" [matTooltip]="publication.author.name"/>
|
||||
Publication posted by {{publication.author.name}}
|
||||
<span class="publication-date">
|
||||
({{publication.creationDate}})
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user