diff --git a/package.json b/package.json index 3425b19..92c567f 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,9 @@ "@angular/http": "5.0.3", "@angular/platform-browser": "5.0.3", "@angular/platform-browser-dynamic": "5.0.3", - "@ionic-native/core": "4.4.0", - "@ionic-native/splash-screen": "4.4.0", - "@ionic-native/status-bar": "4.4.0", + "@ionic-native/core": "4.5.3", + "@ionic-native/splash-screen": "4.5.3", + "@ionic-native/status-bar": "4.5.3", "@ionic/storage": "2.1.3", "ionic-angular": "3.9.2", "ionic-swipe-all": "^1.2.0", diff --git a/src/app/app.scss b/src/app/app.scss index 4d011d2..df20de3 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -65,3 +65,18 @@ ion-title { } } } + +@media screen and (min-width: 769px) { + body { + background-color: #000000; + } + + ion-app.app-root { + height: 0; + margin: 50% auto auto 50%; + max-width: 320px; + padding-bottom: 66.666%; + position: relative; + transform: translate3d(-50%, -50%, 0); + } +} diff --git a/src/desktop.html b/src/desktop.html new file mode 100644 index 0000000..4e8586d --- /dev/null +++ b/src/desktop.html @@ -0,0 +1,49 @@ + + + + + Urge + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/index.html b/src/index.html index c3e9ef7..4e8586d 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - Groundr + Urge diff --git a/src/pages/chat/chat.html b/src/pages/chat/chat.html index 9510e30..ff98f78 100644 --- a/src/pages/chat/chat.html +++ b/src/pages/chat/chat.html @@ -6,7 +6,7 @@ - {{this.profile.details.name}} + {{this.profile.details.name}} -
+
diff --git a/src/pages/profile/profile.scss b/src/pages/profile/profile.scss index 930baec..5d3e034 100644 --- a/src/pages/profile/profile.scss +++ b/src/pages/profile/profile.scss @@ -20,7 +20,7 @@ page-profile { .details { background: rgba(0, 0, 0, 0.8); bottom: 0; - height: 75px; + height: 60px; left: 0; position: absolute; right: 0; diff --git a/src/pages/profile/profile.ts b/src/pages/profile/profile.ts index e363c5b..f29b8db 100644 --- a/src/pages/profile/profile.ts +++ b/src/pages/profile/profile.ts @@ -57,4 +57,12 @@ export class ProfilePage { }); } } + + toggleProfileDetails(event) { + if (!this.detailsOpen) { + this.openProfileDetails(event); + } else { + this.closeProfileDetails(event); + } + } }