parent
38a093a083
commit
cc60508546
@ -1 +1,7 @@
|
|||||||
|
body{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 100vh;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
|
<body>
|
||||||
|
|
||||||
|
<header>
|
||||||
<app-header></app-header>
|
<app-header></app-header>
|
||||||
<div class="code_container">
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
<app-footer></app-footer>
|
<app-footer></app-footer>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
.footer {
|
||||||
|
background-color: #494b92;
|
||||||
|
padding: .5rem 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sandkasten-logo {
|
||||||
|
width: 4rem;
|
||||||
|
height: auto;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1 +1,9 @@
|
|||||||
<p>footer works!</p>
|
<div class="footer" >
|
||||||
|
|
||||||
|
<img class="sandkasten-logo"
|
||||||
|
routerLink=""
|
||||||
|
routerLinkActive="active"
|
||||||
|
[routerLinkActiveOptions]="{ exact: true }"
|
||||||
|
[src]="sandkasten_logo" alt="Logo-Sandkasten" />
|
||||||
|
|
||||||
|
</div>
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-footer',
|
selector: 'app-footer',
|
||||||
templateUrl: './footer.component.html',
|
templateUrl: './footer.component.html',
|
||||||
styleUrls: ['./footer.component.css']
|
styleUrls: ['./footer.component.css']
|
||||||
})
|
})
|
||||||
export class FooterComponent {
|
export class FooterComponent implements OnInit {
|
||||||
|
sandkasten_logo!: string;
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
this.sandkasten_logo = 'assets/img/logo.png';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<div class="landing-block">
|
<div class="landing-block">
|
||||||
<img src="../assets/img/logo.png" alt="logo" />
|
|
||||||
|
<a>Bienvenue sur Sandkasten !</a>
|
||||||
|
<a>Sandkasten est un site vous permettant de tester votre code.</a>
|
||||||
<div class="landing-links">
|
<div class="landing-links">
|
||||||
<button (click)="onContinue()">Continuer vers l'éditeur</button>
|
<button (click)="onContinue()">Try it now !</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in new issue