Skip to content

Commit

Permalink
refactor: adjusted layout of header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
torbrenner committed Jul 5, 2023
1 parent c791b92 commit 15f319e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
16 changes: 15 additions & 1 deletion src/app/app.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,21 @@
display: flex;
flex-flow: row;
align-items: center;
justify-content: space-between;
justify-content: center;
}

.line > * {
flex: 1;
display: flex;
justify-content: center;
}

.line > *:first-child {
justify-content: start;
}

.line > *:last-child {
justify-content: end;
}

.main {
Expand Down
24 changes: 16 additions & 8 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
<header class="row line">
<p-image [src]="'assets/dktk.svg'" alt="DKTK"></p-image>
<span class="ccp-header">Clinical Communication Platform (CCP)</span>
</header>
<router-outlet></router-outlet>
<footer class="row line">
<div></div>
<div></div>
<div>
Made with ♥ and <a href="https://git.verbis.dkfz.de/torbens-prototypen/lens">samply/lens-core</a>.
<span class="ccp-header">CCP-Explorer</span>
</div>
<p-image [src]="'assets/logo-dkfz.svg'" alt="DKFZ"></p-image>
<div></div>
</header>
<router-outlet></router-outlet>
<footer class="row line">
<span>
Nutzungsvereinbarung
</span>
<span>
<a href="mailto:ccp@dkfz.de">ccp@dkfz.de</a>
</span>
<span>
© 2023&nbsp;
<a href="https://dktk.dkfz.de/klinische-plattformen/ueber-die-ccp/about-ccp">
Clinical Communication Plattform (CCP)
</a>
</span>
</footer>

0 comments on commit 15f319e

Please # to comment.