diff --git a/app/pages/gallery/gallery.html b/app/pages/gallery/gallery.html index e3aaac6..281c029 100644 --- a/app/pages/gallery/gallery.html +++ b/app/pages/gallery/gallery.html @@ -1,18 +1,40 @@ - Your Super Gallery + Your Super Profile - - - - - - - + + + +

Alex Muramoto

+

Dev Advocate

+

alex.m@ionic.io

+
+ + + +
+ + +

About Me

+

I enjoy long walks on the beach and taking humiliating pictures of my dog (pictured above)

+
+
+ + +

My Pictures

+
+
+ + + + + + +
diff --git a/app/pages/gallery/gallery.scss b/app/pages/gallery/gallery.scss index 82935d5..0dfd37b 100644 --- a/app/pages/gallery/gallery.scss +++ b/app/pages/gallery/gallery.scss @@ -1,3 +1,12 @@ .gallery { } + +p { + font-size: 16px; + color: #FFFFFF; +} + +.pictureRow { + border-top: #EEEEEE 1px solid; +} \ No newline at end of file diff --git a/app/pages/gallery/gallery.ts b/app/pages/gallery/gallery.ts index f43a05c..f331eb7 100644 --- a/app/pages/gallery/gallery.ts +++ b/app/pages/gallery/gallery.ts @@ -6,32 +6,10 @@ import { NavController, NavParams } from 'ionic-angular'; }) export class GalleryPage { - private images: Array; - private grid: Array>; + images: Array; - constructor(private _navCtrl: NavController, private _navParams: NavParams) { - this.images = this._navParams.get('images'); - this.grid = Array(Math.ceil(this.images.length/2)); - } - - ionViewLoaded() { - - let rowNum = 0; - - for (let i = 0; i < this.images.length; i+=2) { - - this.grid[rowNum] = Array(2); - - if (this.images[i]) { - this.grid[rowNum][0] = this.images[i] - } - if (this.images[i+1]) { - this.grid[rowNum][1] = this.images[i+1] - } - - rowNum++; - } - + constructor(public navCtrl: NavController, public navParams: NavParams) { + this.images = this.navParams.get('images'); } } \ No newline at end of file diff --git a/app/pages/home/home.html b/app/pages/home/home.html index cd174f5..efe1ed8 100644 --- a/app/pages/home/home.html +++ b/app/pages/home/home.html @@ -7,7 +7,7 @@ -