- Splash screens

This commit is contained in:
2018-03-08 03:08:16 -05:00
parent 51f4f7499c
commit 9fcaef1068
8 changed files with 24 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
src/assets/imgs/splash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View File

@@ -13,6 +13,10 @@
<!-- add to homescreen for ios --> <!-- add to homescreen for ios -->
<link rel="apple-touch-icon" href="assets/imgs/logo.png"> <link rel="apple-touch-icon" href="assets/imgs/logo.png">
<link rel="apple-touch-startup-image" sizes="640x1136" href="assets/imgs/launch-screen-640x1136.png">
<link rel="apple-touch-startup-image" sizes="750x1334" href="assets/imgs/launch-screen-750x1334.png">
<link rel="apple-touch-startup-image" sizes="1125x2436" href="assets/imgs/launch-screen-1125x2436.png">
<link rel="apple-touch-startup-image" sizes="1242x2208" href="assets/imgs/launch-screen-1242x2208.png">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Urge"> <meta name="apple-mobile-web-app-title" content="Urge">

View File

@@ -2,7 +2,7 @@
<ion-grid no-padding> <ion-grid no-padding>
<ion-row align-items-stretch> <ion-row align-items-stretch>
<ion-col col-4 class="profile" *ngFor="let current of profiles" (tap)="profileTapped($event, current)" [style.backgroundImage]="getBackgroundThumbnail(current.details.pic)"> <ion-col col-4 class="profile" *ngFor="let current of profiles" (tap)="profileTapped($event, current)" [style.backgroundImage]="getBackgroundThumbnail(current.details.pic)">
<span class="username">{{current.details.name}}</span> <span class="username" [ngClass]="{ 'online': (current.messages?.length > 0) }">{{current.details.name}}</span>
</ion-col> </ion-col>
</ion-row> </ion-row>
</ion-grid> </ion-grid>

View File

@@ -12,24 +12,35 @@ page-grid {
.username { .username {
bottom: 0.25rem; bottom: 0.25rem;
box-sizing: border-box; box-sizing: border-box;
color: #acacac;
display: inline-block; display: inline-block;
left: 0.25rem; left: 0.5rem;
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
right: 0.25rem; right: 0.25rem;
text-overflow: ellipsis; text-overflow: ellipsis;
text-shadow: rgba(0, 0, 0, 0.75); text-shadow: rgba(0, 0, 0, 1);
white-space: nowrap;
&::before { &::before {
border: 2px solid #acacac; border: 0.125rem solid #acacac;
border-radius: 1rem; border-radius: 1rem;
color: #acacac; bottom: 0.125rem;
content: ''; content: '';
display: inline-block; display: inline-block;
height: 1rem; height: 0.8rem;
margin-right: 0.25rem; margin-right: 0.5rem;
vertical-align: top; position: relative;
width: 1rem; vertical-align: middle;
width: 0.8rem;
}
&.online {
&::before {
background-color: #00FF00;
border-color: #00FF00;
}
} }
} }
} }