Small changes to footer and navigation

This commit is contained in:
Erik Tiekstra
2021-09-09 06:44:19 +02:00
parent a0b73d5800
commit 0dbd471bce
5 changed files with 13 additions and 14 deletions

View File

@@ -1,7 +1,5 @@
<footer class="footer">
<div class="footer__logo-wrapper">
<a class="footer__logo-link" href="/">
<img class="footer__logo" src="/assets/logo/arbetsformedlingen-light.svg" alt="Arbetsförmedlingen" />
</a>
<digi-logo af-color="secondary"></digi-logo>
</div>
</footer>

View File

@@ -1,15 +1,12 @@
@import 'variables/gutters';
.footer {
background-color: var(--digi--ui--color--background--profile);
padding: var(--digi--layout--gutter);
padding: $digi--layout--gutter--l $digi--layout--gutter;
&__logo-wrapper {
height: 100%;
display: flex;
align-items: center;
}
&__logo {
height: 2rem;
vertical-align: middle;
::ng-deep .digi-logo {
--digi-logo--padding: 0;
}
}
}

View File

@@ -1,9 +1,10 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { FooterComponent } from './footer.component';
@NgModule({
schemas: [CUSTOM_ELEMENTS_SCHEMA],
declarations: [FooterComponent],
imports: [CommonModule, RouterModule],
exports: [FooterComponent],

View File

@@ -26,6 +26,10 @@
&__logo-link {
text-decoration: none;
::ng-deep .digi-logo {
--digi-logo--padding: 0;
}
}
&__logo {

View File

@@ -43,6 +43,5 @@
&__footer {
grid-area: footer;
background-color: var(--digi--ui--color--primary);
min-height: 10rem;
}
}