publication page

master
Boris Voropaev 2023-11-23 15:45:43 +03:00
parent 23bc78c11e
commit f52643ce2a
2 changed files with 3 additions and 21 deletions

View File

@ -1,12 +1,7 @@
<div class="dual-cols">
<div class="col">
<div class="intro" *ngIf="!page.isBlank">
<div class="posters">
<div class="item" *ngFor="let poster of posters"><img [src]="poster.links?.full" /></div>
</div>
<div class="excerpt">{{!!page.excerpt!!}}</div>
<gellery [images]="posters" *ngIf="posters"></gellery>
</div>
<div class="content" *ngIf="page.content" [innerHTML]="page.content"></div>
<page-sections [page]="page" [editMode]="editMode" [modelType]="'publication'"></page-sections>
</div>
</div>

View File

@ -1,14 +1 @@
.dual-cols {
display: flex;
flex-direction: row;
width: 100%;
.col {
flex-grow: 1;
}
}
@media screen and (max-width: 768px) {
.dual-cols {
flex-direction: column;
}
}