mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-28 02:44:07 +01:00
feat(@theme): add base footer
This commit is contained in:
parent
0992b52b24
commit
d9cd3c28aa
12 changed files with 67 additions and 19 deletions
|
|
@ -0,0 +1,9 @@
|
|||
@mixin base-footer-theme() {
|
||||
/deep/ base-footer {
|
||||
color: $nga-color-default;
|
||||
|
||||
.socials a:hover {
|
||||
color: $nga-color-secondary !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
:host {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.socials {
|
||||
font-size: 2rem;
|
||||
|
||||
a {
|
||||
padding: .4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
17
src/app/@theme/layouts/base-footer/base-footer.component.ts
Normal file
17
src/app/@theme/layouts/base-footer/base-footer.component.ts
Normal 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 {
|
||||
}
|
||||
|
|
@ -58,7 +58,6 @@
|
|||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue