diff --git a/package.json b/package.json
index 8446127..0f40314 100644
--- a/package.json
+++ b/package.json
@@ -25,6 +25,7 @@
"@ionic-native/status-bar": "4.4.0",
"@ionic/storage": "2.1.3",
"ionic-angular": "3.9.2",
+ "ionic-swipe-all": "^1.2.0",
"ionicons": "3.0.0",
"rxjs": "5.5.2",
"sw-toolbox": "3.6.0",
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index a28e8d2..bb3adbf 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -8,7 +8,7 @@ import { TabsPage } from '../pages/tabs/tabs';
@Component({
templateUrl: 'app.html'
})
-export class MyApp {
+export class Groundr {
rootPage:any = TabsPage;
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index e2c9d8d..e7a6512 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -1,11 +1,15 @@
import { NgModule, ErrorHandler } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
+import { HttpModule } from '@angular/http';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
-import { MyApp } from './app.component';
+import { IonicSwipeAllModule } from 'ionic-swipe-all';
+import { Groundr } from './app.component';
-import { AboutPage } from '../pages/about/about';
-import { ContactPage } from '../pages/contact/contact';
-import { HomePage } from '../pages/home/home';
+import { ChatPage } from '../pages/chat/chat';
+import { GridPage } from '../pages/grid/grid';
+import { LightboxPage } from '../pages/lightbox/lightbox';
+import { MessagesPage } from '../pages/messages/messages';
+import { ProfilePage } from '../pages/profile/profile';
import { TabsPage } from '../pages/tabs/tabs';
import { StatusBar } from '@ionic-native/status-bar';
@@ -13,22 +17,34 @@ import { SplashScreen } from '@ionic-native/splash-screen';
@NgModule({
declarations: [
- MyApp,
- AboutPage,
- ContactPage,
- HomePage,
+ Groundr,
+ ChatPage,
+ GridPage,
+ LightboxPage,
+ MessagesPage,
+ ProfilePage,
TabsPage
],
imports: [
BrowserModule,
- IonicModule.forRoot(MyApp)
+ HttpModule,
+ IonicSwipeAllModule,
+ IonicModule.forRoot(Groundr, {
+ iconMode: 'ios',
+ modalEnter: 'modal-slide-in',
+ modalLeave: 'modal-slide-out',
+ tabsPlacement: 'bottom',
+ pageTransition: 'ios-transition'
+ })
],
bootstrap: [IonicApp],
entryComponents: [
- MyApp,
- AboutPage,
- ContactPage,
- HomePage,
+ Groundr,
+ ChatPage,
+ GridPage,
+ LightboxPage,
+ MessagesPage,
+ ProfilePage,
TabsPage
],
providers: [
diff --git a/src/app/app.scss b/src/app/app.scss
index 1392a6e..4d011d2 100644
--- a/src/app/app.scss
+++ b/src/app/app.scss
@@ -14,3 +14,54 @@
// To declare rules for a specific mode, create a child rule
// for the .md, .ios, or .wp mode classes. The mode class is
// automatically applied to the
element in the app.
+
+ion-toolbar {
+ color: #fff;
+
+ .toolbar-background {
+ background-color: #000000;
+ }
+}
+
+ion-title {
+ text-align: center;
+}
+
+.content {
+ background-color: #191b1c;
+ color: #fff;
+}
+
+.item {
+ background-color: #1d1e1f;
+ color: #fff;
+}
+
+.list {
+
+ .item-block .item-inner {
+ border-bottom-color: #333435;
+ }
+}
+
+
+.tabs {
+
+ .tabbar {
+ background-color: #090a0a;
+ }
+
+ .tab-button {
+
+ .tab-button-icon {
+ color: #9e9ea8;
+ }
+
+ &[aria-selected=true] {
+
+ .tab-button-icon {
+ color: #fdb315;
+ }
+ }
+ }
+}
diff --git a/src/assets/data/profiles.json b/src/assets/data/profiles.json
new file mode 100644
index 0000000..fae138c
--- /dev/null
+++ b/src/assets/data/profiles.json
@@ -0,0 +1 @@
+[{"_id":"jdhgy3t46dgue","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"30927rywfhbvsdm","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"2938yr3gf83798d","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"uyr37tgf38fb","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"r3498ryg38yfbrhv","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"4903ufir34ffr","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"32ue834fh3u","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"389rufr9fvu3rv0","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"4i3jf89hfu9v","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"903rj89hf9uhruv","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"r903j4fnif0nfiv3","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"4o3ijf40nirvn0","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]},{"_id":"90j43finovnrivnr3","order":0,"details":{"name":"Test User","age":24,"pic":{"thumb":"https://placehold.it/500x500","detail":"https://placehold.it/1920x1280"}},"messages":[{"order":0,"text":"How are you?","image":"","isUser":false},{"order":1,"text":"I am well","image":"","isUser":true},{"order":2,"text":"Bored af","image":"","isUser":true},{"order":3,"text":"Here is one of the pictures I took.","image":"","isUser":false},{"order":4,"text":"","image":"https://placehold.it/1024x768","isUser":false}]}]
\ No newline at end of file
diff --git a/src/index.html b/src/index.html
index e254871..c3e9ef7 100644
--- a/src/index.html
+++ b/src/index.html
@@ -2,7 +2,7 @@
- Ionic App
+ Groundr
diff --git a/src/manifest.json b/src/manifest.json
index f6456bb..eb25ba6 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -1,6 +1,6 @@
{
- "name": "Ionic",
- "short_name": "Ionic",
+ "name": "Groundr",
+ "short_name": "Groundr",
"start_url": "index.html",
"display": "standalone",
"icons": [{
@@ -10,4 +10,4 @@
}],
"background_color": "#4e8ef7",
"theme_color": "#4e8ef7"
-}
\ No newline at end of file
+}
diff --git a/src/pages/about/about.html b/src/pages/about/about.html
deleted file mode 100644
index 2763c93..0000000
--- a/src/pages/about/about.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- About
-
-
-
-
-
-
-
diff --git a/src/pages/about/about.scss b/src/pages/about/about.scss
deleted file mode 100644
index 639956d..0000000
--- a/src/pages/about/about.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-page-about {
-
-}
diff --git a/src/pages/about/about.ts b/src/pages/about/about.ts
deleted file mode 100644
index a7ee80a..0000000
--- a/src/pages/about/about.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Component } from '@angular/core';
-import { NavController } from 'ionic-angular';
-
-@Component({
- selector: 'page-about',
- templateUrl: 'about.html'
-})
-export class AboutPage {
-
- constructor(public navCtrl: NavController) {
-
- }
-
-}
diff --git a/src/pages/chat/chat.html b/src/pages/chat/chat.html
new file mode 100644
index 0000000..e002422
--- /dev/null
+++ b/src/pages/chat/chat.html
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+ {{this.profile.details.name}}
+
+
+
+
+
+
+
+
+
+