diff --git a/src/app/components/fragments/footer/footer.component.html b/src/app/components/fragments/footer/footer.component.html index e277068a9fb008d3bf15264d459586d689d1c358..0239e4a2da63e24ca93acd907f6e40d0723f1b8c 100644 --- a/src/app/components/fragments/footer/footer.component.html +++ b/src/app/components/fragments/footer/footer.component.html @@ -1,46 +1,38 @@ <footer> - - <div class="flex-container"> - <div> - <h5>Box1</h5> - <ul> - <li> - <a target="_blank" href="https://www.thm.de/site/impressum.html">Impressum</a> - </li> - <li>test</li> - <li>test</li> - </ul> - </div> - - <div> - <h5>Box2</h5> - <ul> - <li>test2</li> - <li>test2</li> - <li>test2</li> - </ul> - </div> - - <!-- - <div> - <h5>MatBox</h5> - <mat-list role="list"> - <mat-list-item role="listitem">Item 1</mat-list-item> - <mat-list-item role="listitem">Item 2</mat-list-item> - <mat-list-item role="listitem">Item 3</mat-list-item> - </mat-list> - </div> - --> - </div> - - - - - <div class="bottomline"> - <span class="example-fill-remaining-space"></span> - <a>© Copyright SWTP WS17/18</a> - <span class="example-fill-remaining-space"></span> - </div> - + <mat-expansion-panel> + <mat-expansion-panel-header> + <mat-panel-description>© SWTP WS17/18</mat-panel-description> + </mat-expansion-panel-header> + + <mat-grid-list cols="3" rows="1" rowHeight="200px"> + <mat-grid-tile> + <mat-nav-list role="list"> + <h3 mat-subheader>Useful Links</h3> + <mat-list-item role="listitem"> + <a target="_blank" href="https://www.thm.de/site/impressum.html">Impressum</a> + </mat-list-item> + <mat-list-item role="listitem"> + <a target="_blank" href="https://www.thm.de/site/impressum.html">Privacy Terms</a> + </mat-list-item> + <mat-list-item role="listitem"> + <a target="_blank" href="https://www.thm.de/site/impressum.html">Halp</a> + </mat-list-item> + </mat-nav-list> + + </mat-grid-tile> + + <mat-grid-tile> + <mat-list role="list"> + <mat-list-item role="listitem"> + <button mat-raised-button color="primary">Login as guest</button> + </mat-list-item> + </mat-list> + + <button mat-button color="warn" (click)="prevStep()">Previous</button> + </mat-grid-tile> + + </mat-grid-list> + + </mat-expansion-panel> </footer> <!-- (click)="goToHomepage()" --> \ No newline at end of file diff --git a/src/app/components/fragments/footer/footer.component.scss b/src/app/components/fragments/footer/footer.component.scss index 3ff1ae3a4cfc370097e86c8642803494b8b35ef1..6f3a95c1c40eab1648eb8143a3afd93ced3cca0b 100644 --- a/src/app/components/fragments/footer/footer.component.scss +++ b/src/app/components/fragments/footer/footer.component.scss @@ -1,29 +1,8 @@ footer { - background-color: rgb(223, 223, 223); - text-align: center; + overflow-y: auto } -ul { - list-style: none +mat-expansion-panel { + background-color: rgb(235, 235, 235); + color: rgb(60, 60, 60); } - -.bottomline { - background-color: rgb(201, 201, 201); - color: white; - font-size: 12px; - padding: 0.5% -} - -.flex-container { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: space-around;; -} - -.example-fill-remaining-space { - /* This fills the remaining space, by using flexbox. - Every toolbar row uses a flexbox row layout. */ - flex: 1 1 auto; -} -