diff --git a/src/gbu/component/layout/header/header.component.html b/src/gbu/component/layout/header/header.component.html index 5fecbb8..1b15752 100644 --- a/src/gbu/component/layout/header/header.component.html +++ b/src/gbu/component/layout/header/header.component.html @@ -8,7 +8,7 @@ Поиск -
+
Вход
diff --git a/src/gbu/component/layout/header/header.component.ts b/src/gbu/component/layout/header/header.component.ts index 5f38f58..a007c7f 100644 --- a/src/gbu/component/layout/header/header.component.ts +++ b/src/gbu/component/layout/header/header.component.ts @@ -42,4 +42,8 @@ export class HeaderComponent { this.authService.popup('login'); } + get isLoggedIn() { + return this.authService.isLoggedIn; + } + } \ No newline at end of file diff --git a/src/gbu/component/layout/jumbotron/jumbotron.component.html b/src/gbu/component/layout/jumbotron/jumbotron.component.html index aa9133b..8412151 100644 --- a/src/gbu/component/layout/jumbotron/jumbotron.component.html +++ b/src/gbu/component/layout/jumbotron/jumbotron.component.html @@ -1,4 +1,4 @@ -
+
+ + +
+
+ + +

{{name}}

+ + +
+
+ +
Услуги
+
+
+ +
Отзывы
+
+
+ +
Платные услуги
+
+
+ +
Плановые и аварийные отключения
+
+ +
+ + +
+
+
diff --git a/src/gbu/css/_grid.scss b/src/gbu/css/_grid.scss index 9dbab64..5ed93ee 100644 --- a/src/gbu/css/_grid.scss +++ b/src/gbu/css/_grid.scss @@ -19,7 +19,7 @@ jumbotron{ - margin-block: 40px; + margin-block: 40px 32px; .jumbotron-content{ flex-direction: column; header-user-bar{ @@ -51,6 +51,62 @@ jumbotron{ } } + .root-page{ + h1{ + font-size: 64px; + line-height: 80px; + } + .root-menu{ + display: flex; + flex-direction: column; + flex-wrap: wrap; + align-content: space-between; + .root-menu-item{ + width: 844px; + height: 180px; + background-color: var(--prime); + display: flex; + align-items: flex-end; + margin-bottom: 24px; + border-radius: 4px; + overflow: hidden; + img{ + width: 50%; + height: 100%; + object-fit: cover; + background-color: var(--light); + } + div{ + padding: 16px; + color: #fff; + } + } + .root-menu-item:first-child{ + display: flex; + flex-direction: column; + width: 411px; + height: 100%; + align-items: center; + img{ + height: 532px; + width: 100%; + object-fit: cover; + } + } + + .root-menu-item:nth-child(3){ + flex-direction: row-reverse; + } + .root-menu-item:nth-child(4){ + margin-bottom: 0; + } + + + height: 588px; + overflow: hidden; + } + } + } @@ -69,7 +125,7 @@ jumbotron{ .content-grid{ display: flex; justify-content: space-between; - margin: 40px 0 120px; + margin-bottom: 120px; left-content{ display: none; @@ -143,6 +199,9 @@ pages-menu-item{ width: 100%; } +.jumbotron-edit-field{ + margin-top: 32px; +} @media screen and (max-width: 1330px){ diff --git a/src/gbu/images/root_menu_disabling.png b/src/gbu/images/root_menu_disabling.png new file mode 100644 index 0000000..7ce3d55 Binary files /dev/null and b/src/gbu/images/root_menu_disabling.png differ diff --git a/src/gbu/images/root_menu_payment.png b/src/gbu/images/root_menu_payment.png new file mode 100644 index 0000000..3527e28 Binary files /dev/null and b/src/gbu/images/root_menu_payment.png differ diff --git a/src/gbu/images/root_menu_replies.png b/src/gbu/images/root_menu_replies.png new file mode 100644 index 0000000..bf23b71 Binary files /dev/null and b/src/gbu/images/root_menu_replies.png differ diff --git a/src/gbu/images/root_menu_services.jpg b/src/gbu/images/root_menu_services.jpg new file mode 100644 index 0000000..5170556 Binary files /dev/null and b/src/gbu/images/root_menu_services.jpg differ