- UI Revisions

This commit is contained in:
2018-05-29 00:30:49 -04:00
parent a7833a9314
commit 8f5ec53ac4
33 changed files with 487 additions and 447 deletions

View File

@@ -5,6 +5,7 @@ import { NavController } from 'ionic-angular';
import { ChatPage } from '../chat/chat';
import { ProfileService } from '../../services/profiles';
import { ProfilePage } from '../profile/profile';
import { TellYourStoryPage } from '../tell/tell';
@Component({
selector: 'page-grid',
@@ -27,6 +28,10 @@ export class GridPage {
this.tabNavEl.style.display = 'flex';
}
doTellStory() {
this.navCtrl.push(TellYourStoryPage);
}
getBackgroundThumbnail(pics) {
return this._sanitizer.bypassSecurityTrustStyle('url(https://appsby.fitz.guru/urge/' + pics.thumb + ')');
}
@@ -41,7 +46,7 @@ export class GridPage {
profileTapped(event, profile) {
this.navCtrl.push(ProfilePage, {
profile: profile
profile: profile,
});
}
}