mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-12-23 12:15:11 +00:00
wip: all components were wrapped now. Grid structure has been applied to the main wrapper-class "container".
This commit is contained in:
parent
94c3f537bc
commit
c936ec97c0
|
@ -1,7 +1,13 @@
|
|||
<div class="container">
|
||||
<div class="header">
|
||||
<app-top-bar></app-top-bar>
|
||||
</div>
|
||||
<div class="page-content">
|
||||
<router-outlet></router-outlet>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<app-bottom-bar></app-bottom-bar>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
background-color: #f8f9fa;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<div id="mainComponents">
|
||||
<app-hot-deals-widget></app-hot-deals-widget>
|
||||
|
||||
<!--<div id="mainComponents">
|
||||
<div id="searchContainer">
|
||||
<input type="text" [(ngModel)]="searchInput" placeholder="Search" (keyup.enter)="startedSearch()">
|
||||
</div>
|
||||
|
@ -14,3 +16,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
|
BIN
Frontend/src/assets/images/iphone-12-pro-silver-hero.png
Normal file
BIN
Frontend/src/assets/images/iphone-12-pro-silver-hero.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 425 KiB |
|
@ -104,6 +104,32 @@ label {
|
|||
padding-right: 4px;
|
||||
}
|
||||
|
||||
/* Main Container */
|
||||
|
||||
.container {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
margin-left: -820px;
|
||||
width: 1640px;
|
||||
height: auto;
|
||||
display: grid;
|
||||
grid-template-rows: 70px auto 210px;
|
||||
}
|
||||
|
||||
.header {
|
||||
grid-row: 1/2;
|
||||
}
|
||||
|
||||
.page-content {
|
||||
grid-row: 2/3;
|
||||
}
|
||||
|
||||
.footer {
|
||||
grid-row: 3/4;
|
||||
}
|
||||
|
||||
/* End of Main Container */
|
||||
|
||||
/* Top Bar */
|
||||
|
||||
app-top-bar {
|
||||
|
|
Loading…
Reference in New Issue
Block a user