From 8e0b21fb1cc5a29c5f7442963d52134c4cbf768b Mon Sep 17 00:00:00 2001 From: Patrick Gebhardt Date: Sat, 20 Jun 2020 12:42:41 +0200 Subject: [PATCH] Add fixed sidenav for desktop --- frontend/package-lock.json | 8 ++++++++ frontend/package.json | 1 + frontend/src/app/app.component.html | 10 +++++----- frontend/src/app/app.component.scss | 1 + frontend/src/app/app.component.ts | 6 +++++- frontend/src/app/app.module.ts | 4 +++- 6 files changed, 23 insertions(+), 7 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 65db9d8..1446cf0 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -7900,6 +7900,14 @@ "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", "dev": true }, + "ngx-device-detector": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/ngx-device-detector/-/ngx-device-detector-1.4.5.tgz", + "integrity": "sha512-e3OlUKPrg+hoichpn/wx+C/YicUfdR6SIFo6848Nv5JbpLaMDvEgqsJsQjSGP2phKSnFIsOsDKHBb8iGfZfDLw==", + "requires": { + "tslib": "^1.9.0" + } + }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", diff --git a/frontend/package.json b/frontend/package.json index f1a86a1..99df01f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -22,6 +22,7 @@ "@angular/platform-browser-dynamic": "~8.2.14", "@angular/router": "~8.2.14", "@ngx-translate/core": "^12.1.2", + "ngx-device-detector": "^1.4.5", "rxjs": "~6.4.0", "tslib": "^1.10.0", "uuid": "^8.1.0", diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index 687fc4c..bda1690 100644 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -1,21 +1,21 @@ -

Travopti - Prototype

- +