[frontend] Design fixes

This commit is contained in:
Cathy Hu 2020-09-04 20:57:30 +02:00
parent 84e506e367
commit 619d659a3a
8 changed files with 27 additions and 16 deletions

View file

@ -3,9 +3,7 @@
<h1 class="h1">Kibicara</h1> <h1 class="h1">Kibicara</h1>
<p class="text"> <p class="text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim tempor incididunt ut labore et dolore magna aliqua.
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.
</p> </p>
<a mat-raised-button [routerLink]="['/hoods']">Find your hood!</a> <a mat-raised-button [routerLink]="['/hoods']">Find your hood!</a>
</div> </div>

View file

@ -29,7 +29,7 @@ h1 {
} }
.banner { .banner {
background: url("../../assets/hoods2.jpg"); background: url("../../assets/hoods1.jpg");
background-size: 100%; background-size: 100%;
width: 100%; width: 100%;
} }

View file

@ -1,13 +1,13 @@
<mat-card> <mat-card>
<mat-card-header> <mat-card-header>
<div mat-card-avatar class="email"></div>
<mat-card-title class="platform-title"> <mat-card-title class="platform-title">
<div class="platform-heading"> E-Mail
E-Mails <button mat-icon-button aria-label="How to use">
</div>
<button mat-icon-button aria-label="How to use" (click)="onInfoClick()">
<mat-icon <mat-icon
matTooltip="How to add an email inbox to your hood" matTooltip="How to add an email inbox to your hood"
class="info-button" class="info-button"
(click)="onInfoClick()"
>info</mat-icon >info</mat-icon
> >
</button> </button>

View file

@ -27,3 +27,8 @@
grid-column-start: 2; grid-column-start: 2;
align-self: flex-start; align-self: flex-start;
} }
.email {
background-image: url("../../../../assets/email.png");
background-size: cover;
}

View file

@ -1,12 +1,11 @@
<mat-card> <mat-card>
<mat-card-header> <mat-card-header>
<div mat-card-avatar class="telegram"></div>
<mat-card-title class="platform-title"> <mat-card-title class="platform-title">
<div class="platform-heading">
Telegram Telegram
</div>
<button mat-icon-button aria-label="How to use"> <button mat-icon-button aria-label="How to use">
<mat-icon <mat-icon
matTooltip="How to add an telegram bot to your hood" matTooltip="How to send and receive hood broadcast messages with telegram"
class="info-button" class="info-button"
(click)="onInfoClick()" (click)="onInfoClick()"
>info</mat-icon >info</mat-icon

View file

@ -15,3 +15,8 @@
.platform-heading { .platform-heading {
align-self: flex-end; align-self: flex-end;
} }
.telegram {
background-image: url("../../../../assets/telegram.png");
background-size: cover;
}

View file

@ -1,12 +1,11 @@
<mat-card> <mat-card>
<mat-card-header> <mat-card-header>
<div mat-card-avatar class="twitter"></div>
<mat-card-title class="platform-title"> <mat-card-title class="platform-title">
<div class="platform-heading">
Twitter Twitter
</div>
<button mat-icon-button aria-label="How to use"> <button mat-icon-button aria-label="How to use">
<mat-icon <mat-icon
matTooltip="How to add an twitter account to your hood" matTooltip="How to send and receive hood broadcast messages with twitter"
class="info-button" class="info-button"
(click)="onInfoClick()" (click)="onInfoClick()"
>info</mat-icon >info</mat-icon

View file

@ -15,3 +15,8 @@
.platform-heading { .platform-heading {
align-self: flex-end; align-self: flex-end;
} }
.twitter {
background-image: url("../../../../assets/twitter.png");
background-size: cover;
}