From 74ddb1995f95d9405ba0135e96f97fea8ad95b3c Mon Sep 17 00:00:00 2001 From: Cameron Cordes Date: Sun, 29 Sep 2019 13:05:24 -0400 Subject: [PATCH] Added Movies app project and update page layout --- src/app/project-keyword.pipe.ts | 4 +++- src/app/projects/project.service.ts | 9 +++++++-- src/app/projects/projects.component.css | 22 ---------------------- src/app/projects/projects.component.html | 15 ++++++++------- 4 files changed, 18 insertions(+), 32 deletions(-) diff --git a/src/app/project-keyword.pipe.ts b/src/app/project-keyword.pipe.ts index 704dac2..28dcfb9 100644 --- a/src/app/project-keyword.pipe.ts +++ b/src/app/project-keyword.pipe.ts @@ -4,7 +4,9 @@ import {Pipe, PipeTransform} from '@angular/core'; name: 'projectKeyword' }) export class ProjectKeywordPipe implements PipeTransform { - private keywords = ['MySQL', 'Node', 'Express', 'RxJava', 'Dagger 2', 'Model View Presenter', 'Retrofit', 'Realm', 'Room', 'Model-View-View Model']; + private const keywords = [ + 'MySQL', 'Node', 'Express', 'RxJava', 'Dagger 2', 'Model View Presenter', 'Retrofit', 'Realm', 'Room', 'Model-View-View Model', 'SimpleStack' + ]; transform(value: String, args?: any): any { this.keywords.forEach(keyword => { diff --git a/src/app/projects/project.service.ts b/src/app/projects/project.service.ts index 447ac2e..0a178a3 100644 --- a/src/app/projects/project.service.ts +++ b/src/app/projects/project.service.ts @@ -15,10 +15,15 @@ export class ProjectService { } const projects = [ + { + title: "Movies", + applicationType: "Android Application (Kotlin)", + description: "Movies is an Android application for viewing movie and TV show info using the TMDB API. Movies is a Single Activity application, leveraging Model-View-View Model, Dagger 2, RxJava and SimpleStack for navigation. There is a focus on caching and a pleasant user experience even on slower networks by combining both in-memory and disk caching for quick load times, especially after a show details have been viewed." + }, { title: "Secure Notes", applicationType: "Android Application (Kotlin)", - description: "Secure Notes is a simple note taking application with security in mind. There is a focus on clean" + + description: "Secure Notes is a simple note taking application with security in mind. There is a focus on clean" + " code, Model-View-View Model and loosely coupled components. I built this app to experiment with different" + " Android database libraries (Realm and Room), encryption and security, as well as a single Activity approach to" + " an Android app. (Under development).", @@ -44,7 +49,7 @@ const projects = [ { title: "Android Hues", applicationType: "Android Application (Kotlin)", - description: "Android Hues is an Android application to control your Phillips Hue lights at home. Hues uses RxJava," + + description: "Android Hues is an Android application to control your Phillips Hue lights at home. Hues uses RxJava," + " Dagger 2 and the Phillips Hue SDK in order to control the color, brightness and power state of your lights.", imgLocation: "../../assets/android-hues.png" } diff --git a/src/app/projects/projects.component.css b/src/app/projects/projects.component.css index 1a5fed9..a6cbdee 100644 --- a/src/app/projects/projects.component.css +++ b/src/app/projects/projects.component.css @@ -1,28 +1,6 @@ -.project-item { - width: 40%; - margin: 1em 0 1em; -} - @media (max-width: 768px) { - .project-item { - width: 90%; - font-size: 14px; - } - img { max-width: 40%; margin: 0 0 1em 0; } } - -@media (min-width: 768px) and (max-width: 1080px) { - .project-item { - width: 60%; - } -} - -@media (min-width: 1920px) { - .project-item { - width: 30%; - } -} diff --git a/src/app/projects/projects.component.html b/src/app/projects/projects.component.html index 43b3e5e..f6fad9e 100644 --- a/src/app/projects/projects.component.html +++ b/src/app/projects/projects.component.html @@ -1,9 +1,10 @@ -
-
-

{{project.title}}

- {{project.title}} icon -

{{project.applicationType}}

-

+
+
+
+

{{project.title}}

+ {{project.title}} icon +

{{project.applicationType}}

+

+
-