feat(@theme): add base footer

This commit is contained in:
tibing 2017-04-18 20:29:57 +03:00
parent 0992b52b24
commit d9cd3c28aa
12 changed files with 67 additions and 19 deletions

View file

@ -0,0 +1,9 @@
@mixin base-footer-theme() {
/deep/ base-footer {
color: $nga-color-default;
.socials a:hover {
color: $nga-color-secondary !important;
}
}
}

View file

@ -0,0 +1,14 @@
:host {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
.socials {
font-size: 2rem;
a {
padding: .4rem;
}
}
}

View file

@ -0,0 +1,17 @@
import { Component } from '@angular/core';
@Component({
selector: 'base-footer',
styleUrls: ['./base-footer.component.scss'],
template: `
<span>Created with by <b>Akveo</b> 2017</span>
<div class="socials">
<a href="https://github.com/akveo" target="_blank" class="ion ion-social-github"></a>
<a href="https://www.facebook.com/akveo" target="_blank" class="ion ion-social-facebook"></a>
<a href="https://twitter.com/akveo_inc" target="_blank" class="ion ion-social-twitter"></a>
<a href="https://www.linkedin.com/company/akveo" target="_blank" class="ion ion-social-linkedin"></a>
</div>
`
})
export class BaseFooterComponent {
}

View file

@ -58,7 +58,6 @@
padding-right: 0;
}
}
}
}

View file

@ -19,6 +19,7 @@ import { Component } from '@angular/core';
</nga-layout-column>
<nga-layout-footer fixed>
<base-footer></base-footer>
</nga-layout-footer>
</nga-layout>
`,