src/app/footer/footer.component.ts
| selector | app-footer |
| styleUrls | ./footer.component.css |
| templateUrl | ./footer.component.html |
import { Component } from '@angular/core';
@Component({
selector: 'app-footer',
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.css']
})
export class FooterComponent {
}
<footer>
<span>made by <a href="https://github.com/THEPEACEMAKER/ng-todo-app">@Adel_Abdellatif</a></span>
<span class="social">
<a href="https://www.linkedin.com/in/adel-a-abdelkader/" target="_blank">
<i class="bi bi-linkedin"></i>
</a>
<a href="https://github.com/THEPEACEMAKER" target="_blank">
<i class="bi bi-github"></i>
</a>
</span>
</footer>
./footer.component.css
footer {
width: 100%;
position: fixed;
bottom: 0;
padding: 10px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
border-radius: 5px;
border: 1px solid #e6e6e6;
background-color: #eee;
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
margin: 20px auto 0;
}
footer a {
font-weight: bold;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 1px;
color: black;
font-family: Futura;
text-shadow: rgba(245, 245, 245, 0.5) 3px 5px 1px;
}
.social {
display: flex;
margin-left: 10px;
justify-content: center;
align-items: center;
}
.social a {
text-decoration: none;
margin: 0 3px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
cursor: pointer;
opacity: 0.6;
}
.social a:hover {
opacity: 1;
}
.social a i {
font-size: 1.5rem;
}