groups sections
parent
c97c909ba0
commit
38b1214ba7
|
|
@ -1,6 +1,8 @@
|
|||
<div class="member">
|
||||
<div class="add">
|
||||
<div class="title" [innerHTML]="title"></div>
|
||||
<div class="title">
|
||||
<h2 [innerHTML]="title"></h2>
|
||||
</div>
|
||||
<div *ngIf="editMode" class="toggle" (click)="add()"></div>
|
||||
</div>
|
||||
<div class="list">
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@
|
|||
}
|
||||
.list {
|
||||
margin: 32px 0;
|
||||
display: grid;
|
||||
gap: 32px 40px;
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
width: 100%;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
flex-wrap: wrap;
|
||||
.item {
|
||||
object-fit: cover;
|
||||
.menu {
|
||||
|
|
@ -37,8 +37,12 @@
|
|||
}
|
||||
.image {
|
||||
img {
|
||||
width: calc(100%);
|
||||
width: 273px;
|
||||
object-fit: cover;
|
||||
height: 204px;
|
||||
border-radius: 12px;
|
||||
border: 2px solid var(--blue-4);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
.name {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<img class="" [src]="items[0].links.full" (click)="show(items[0].id)"/>
|
||||
</div>
|
||||
|
||||
<div *ngIf="imageType!=='carousel'&&items.length>1" class="items" [ngClass]="imageClass">
|
||||
<div *ngIf="imageType!=='carousel'" class="items" [ngClass]="imageClass">
|
||||
<div class="item" *ngFor="let item of items">
|
||||
<img [src]="item.links?.full" (click)="show(item.id)"/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.large img{
|
||||
max-width: 100%;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(45, 45, 45, 0.27);
|
||||
}
|
||||
|
||||
.items {
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<div class="member">
|
||||
<pre>{{item | json}}</pre>
|
||||
<!-- <pre>{{item | json}}</pre> -->
|
||||
<h1 [innerHTML]="name"></h1>
|
||||
<img [src]="photo" />
|
||||
<p [innerHTML]="position"></p>
|
||||
<p><a [href]="document">Документ</a> </p>
|
||||
<h4 [innerHTML]="position"></h4>
|
||||
<p class="doc"><a [href]="document">Документ</a> </p>
|
||||
<p><a href="mailto:{{email}}">{{email}}</a></p>
|
||||
<p><a href="tel:{{phone}}">{{phone}}</a></p>
|
||||
<p [innerHTML]="description"></p>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,32 @@
|
|||
.member {
|
||||
|
||||
font-size: 20px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 32px;
|
||||
font-style: normal;
|
||||
|
||||
|
||||
|
||||
color:#2D2D2D;
|
||||
h1{
|
||||
font-family: PT Sans Narrow;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.5px;
|
||||
font-size: 50px;
|
||||
line-height: 60px; /* 120% */
|
||||
font-weight: 700;
|
||||
}
|
||||
.doc{
|
||||
display: block;
|
||||
background: url('~src/assets/images/icons/document_pdf_60dp.svg') top left no-repeat;
|
||||
padding-left: 62px;
|
||||
min-height: 60px;
|
||||
}
|
||||
img{
|
||||
max-width: 345px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(45, 45, 45, 0.27);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
<div class="members">
|
||||
<div class="add">
|
||||
<div class="title" [innerHTML]="title"></div>
|
||||
<div class="title">
|
||||
<h2 [innerHTML]="title"></h2>
|
||||
</div>
|
||||
<div *ngIf="editMode" class="toggle" (click)="add()"></div>
|
||||
</div>
|
||||
<div class="list">
|
||||
|
|
|
|||
|
|
@ -26,29 +26,40 @@
|
|||
}
|
||||
.list {
|
||||
margin: 32px 0;
|
||||
display: grid;
|
||||
gap: 32px 40px;
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
width: 100%;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
flex-wrap: wrap;
|
||||
|
||||
.item {
|
||||
object-fit: cover;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-gap: 16px;
|
||||
.menu {
|
||||
|
||||
}
|
||||
.image {
|
||||
img {
|
||||
width: calc(100%);
|
||||
width: 273px;
|
||||
object-fit: cover;
|
||||
height: 370px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(45, 45, 45, 0.27);
|
||||
}
|
||||
}
|
||||
.name {
|
||||
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: 32px; /* 133.333% */
|
||||
letter-spacing: 0.24px;
|
||||
color:#6C6C6C
|
||||
}
|
||||
.description {
|
||||
|
||||
.position {
|
||||
font-size: 20px;
|
||||
}
|
||||
.more {
|
||||
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const environment = {
|
|||
production: false,
|
||||
apiUrl: 'http://api.vniigazv2.lc',
|
||||
clientId: 2,
|
||||
clientSecret: 'pwyOjmmtHGUUM8KFPjgZrpbbrrJkQ45PkthQ5Xtp',
|
||||
clientSecret: 'AbV5mDVEimNQb2dKJTx9PYALFCiiYOHTsbeMEtp2',
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue