added footer
This commit is contained in:
parent
ef20858564
commit
c9ea8234b9
5 changed files with 37 additions and 6 deletions
|
|
@ -14,6 +14,8 @@ import { LoginComponent } from './components/login/login.component';
|
|||
export const routes: Routes = [
|
||||
{ path: '', component: SummaryComponent },
|
||||
{ path: 'login', component: LoginComponent },
|
||||
{ path: 'login/imprint', component: ImprintComponent },
|
||||
{ path: 'login/privacy-policy', component: PrivacyPolicyComponent },
|
||||
{ path: 'summary', component: SummaryComponent },
|
||||
{ path: 'add-task', component: AddTaskComponent },
|
||||
{ path: 'add-task/:id', component: AddTaskComponent },
|
||||
|
|
|
|||
|
|
@ -1 +1,4 @@
|
|||
<p>footer works!</p>
|
||||
<footer class="footer">
|
||||
<a routerLink="privacy-policy">{{ "sidebar.privacyPolicy" | translate }}</a>
|
||||
<a routerLink="imprint">{{ "sidebar.legalNotice" | translate }}</a>
|
||||
</footer>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
.footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
margin-bottom: 40px;
|
||||
a {
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: var(--gray);
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
width: 110px;
|
||||
height: 19px;
|
||||
text-decoration: none;
|
||||
}
|
||||
&:hover {
|
||||
color: var(--light-blue);
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-footer',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
imports: [TranslateModule, RouterModule],
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrl: './footer.component.scss'
|
||||
styleUrl: './footer.component.scss',
|
||||
})
|
||||
export class FooterComponent {
|
||||
|
||||
}
|
||||
export class FooterComponent {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
section {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.logo {
|
||||
|
|
|
|||
Loading…
Reference in a new issue