diff --git a/src/app/_modules/form-fields/types/document/form-field-document.component.scss b/src/app/_modules/form-fields/types/document/form-field-document.component.scss
index b78d76d..ce62dc3 100644
--- a/src/app/_modules/form-fields/types/document/form-field-document.component.scss
+++ b/src/app/_modules/form-fields/types/document/form-field-document.component.scss
@@ -6,6 +6,7 @@
border: var(--blue-1) dashed 1px;
border-radius: 4px;
overflow: hidden;
+ font-size: 20px;
&.hover {
background-color: #e0e0e0;
}
diff --git a/src/app/_modules/form-fields/types/document/single/field-document-single.component.html b/src/app/_modules/form-fields/types/document/single/field-document-single.component.html
index 70c2c78..6e082f1 100644
--- a/src/app/_modules/form-fields/types/document/single/field-document-single.component.html
+++ b/src/app/_modules/form-fields/types/document/single/field-document-single.component.html
@@ -1,6 +1,9 @@
-
Перетащите сюда или выберите файл в формате PDF, XLS, DOC, JPG, PPTX
+
Перетащите сюда или
+ выберите файл
+ в формате PDF, XLS, DOC, JPG, PPTX
+
Загружается файл {{upload.file?.name}}
@@ -9,6 +12,6 @@
diff --git a/src/app/_modules/pages/page/page.component.scss b/src/app/_modules/pages/page/page.component.scss
index 719fb57..79ce12d 100644
--- a/src/app/_modules/pages/page/page.component.scss
+++ b/src/app/_modules/pages/page/page.component.scss
@@ -11,6 +11,7 @@
width: 100%;
height: 400px;
background-color: #86898E;
+ background-size: cover;
.block{
position: absolute;
top:136px;
diff --git a/src/app/_modules/pages/sections/types/basic/document/document-section.component.html b/src/app/_modules/pages/sections/types/basic/document/document-section.component.html
index bb6acc9..95b759e 100644
--- a/src/app/_modules/pages/sections/types/basic/document/document-section.component.html
+++ b/src/app/_modules/pages/sections/types/basic/document/document-section.component.html
@@ -1 +1,6 @@
-Document Section
+
+
+
+
\ No newline at end of file
diff --git a/src/app/_modules/pages/sections/types/basic/document/document-section.component.scss b/src/app/_modules/pages/sections/types/basic/document/document-section.component.scss
index e69de29..ab7943e 100644
--- a/src/app/_modules/pages/sections/types/basic/document/document-section.component.scss
+++ b/src/app/_modules/pages/sections/types/basic/document/document-section.component.scss
@@ -0,0 +1,9 @@
+:host {
+ display: block;
+ background: url('~src/assets/images/icons/document_pdf_60dp.svg') top left no-repeat;
+ padding-left: 62px;
+ min-height: 60px;
+}
+a{
+ font-size: 20px;
+}
\ No newline at end of file
diff --git a/src/app/_modules/pages/sections/types/basic/document/document-section.component.ts b/src/app/_modules/pages/sections/types/basic/document/document-section.component.ts
index 60740ad..e66f3ae 100644
--- a/src/app/_modules/pages/sections/types/basic/document/document-section.component.ts
+++ b/src/app/_modules/pages/sections/types/basic/document/document-section.component.ts
@@ -13,6 +13,18 @@ export class DocumentSectionComponent {
}
ngOnInit() {
- console.log(this.section);
+ // console.log(this.section);
+ }
+
+ get title(){
+ return this.section.groups.data[0].fields.data[1].title;
+ }
+
+ get description(){
+ return this.section.groups.data[0].fields.data[1].value.data[0];
+ }
+
+ get download(){
+ return this.section.groups.data[0].fields.data[0].value.data[0].links.download;
}
}