diff --git a/src/app/fuse-fake-db/academy.ts b/src/app/fuse-fake-db/academy.ts index 06e48d34..bbc70c1f 100644 --- a/src/app/fuse-fake-db/academy.ts +++ b/src/app/fuse-fake-db/academy.ts @@ -2,148 +2,148 @@ export class AcademyFakeDb { public static courses = [ { - 'id' : '15459251a6d6b397565', - 'title' : 'Basics of Angular', - 'slug' : 'basics-of-angular', - 'category' : 'web', - 'length' : 30, - 'updated' : 'Jun 28, 2017' + 'id' : '15459251a6d6b397565', + 'title' : 'Basics of Angular', + 'slug' : 'basics-of-angular', + 'category': 'web', + 'length' : 30, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '154588a0864d2881124', - 'title' : 'Basics of TypeScript', - 'slug' : 'basics-of-typeScript', - 'category' : 'web', - 'length' : 60, - 'updated' : 'Nov 01, 2017' + 'id' : '154588a0864d2881124', + 'title' : 'Basics of TypeScript', + 'slug' : 'basics-of-typeScript', + 'category': 'web', + 'length' : 60, + 'updated' : 'Nov 01, 2017' }, { - 'id' : '15453ba60d3baa5daaf', - 'title' : 'Android N: Quick Settings', - 'slug' : 'android-n-quick-settings', - 'category' : 'android', - 'length' : 120, - 'updated' : 'Jun 28, 2017' + 'id' : '15453ba60d3baa5daaf', + 'title' : 'Android N: Quick Settings', + 'slug' : 'android-n-quick-settings', + 'category': 'android', + 'length' : 120, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '15453a06c08fb021776', - 'title' : 'Keep Sensitive Data Safe and Private', - 'slug' : 'keep-sensitive-data-safe-and-private', - 'category' : 'android', - 'length' : 45, - 'updated' : 'Jun 28, 2017' + 'id' : '15453a06c08fb021776', + 'title' : 'Keep Sensitive Data Safe and Private', + 'slug' : 'keep-sensitive-data-safe-and-private', + 'category': 'android', + 'length' : 45, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '15427f4c1b7f3953234', - 'title' : 'Building a gRPC Service with Java', - 'slug' : 'building-a-grpc-service-with-java', - 'category' : 'cloud', - 'length' : 30, - 'updated' : 'Jun 28, 2017' + 'id' : '15427f4c1b7f3953234', + 'title' : 'Building a gRPC Service with Java', + 'slug' : 'building-a-grpc-service-with-java', + 'category': 'cloud', + 'length' : 30, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1542d75d929a603125', - 'title' : 'Build a PWA Using Workbox', - 'slug' : 'build-a-pwa-using-workbox', - 'category' : 'web', - 'length' : 120, - 'updated' : 'Jun 28, 2017' + 'id' : '1542d75d929a603125', + 'title' : 'Build a PWA Using Workbox', + 'slug' : 'build-a-pwa-using-workbox', + 'category': 'web', + 'length' : 120, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1543ee3a5b43e0f9f45', - 'title' : 'Build an App for the Google Assistant with Firebase and Dialogflow', - 'slug' : 'build-an-app-for-the-google-assistant-with-firebase-and-dialogflow', - 'category' : 'firebase', - 'length' : 30, - 'updated' : 'Jun 28, 2017' + 'id' : '1543ee3a5b43e0f9f45', + 'title' : 'Build an App for the Google Assistant with Firebase and Dialogflow', + 'slug' : 'build-an-app-for-the-google-assistant-with-firebase-and-dialogflow', + 'category': 'firebase', + 'length' : 30, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1543cc4515df3146112', - 'title' : 'Cloud Functions for Firebase', - 'slug' : 'cloud-functions-for-firebase', - 'category' : 'firebase', - 'length' : 45, - 'updated' : 'Jun 28, 2017' + 'id' : '1543cc4515df3146112', + 'title' : 'Cloud Functions for Firebase', + 'slug' : 'cloud-functions-for-firebase', + 'category': 'firebase', + 'length' : 45, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '154398a4770d7aaf9a2', - 'title' : 'Manage Your Pivotal Cloud Foundry App\'s Using Apigee Edge', - 'slug' : 'manage-your-pivotal-cloud-foundry-apps-using-apigee-Edge', - 'category' : 'cloud', - 'length' : 90, - 'updated' : 'Jun 28, 2017' + 'id' : '154398a4770d7aaf9a2', + 'title' : 'Manage Your Pivotal Cloud Foundry App\'s Using Apigee Edge', + 'slug' : 'manage-your-pivotal-cloud-foundry-apps-using-apigee-Edge', + 'category': 'cloud', + 'length' : 90, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '15438351f87dcd68567', - 'title' : 'Building Beautiful UIs with Flutter', - 'your' : 'building-beautiful-uis-with-flutter', - 'category' : 'web', - 'length' : 90, - 'updated' : 'Jun 28, 2017' + 'id' : '15438351f87dcd68567', + 'title' : 'Building Beautiful UIs with Flutter', + 'your' : 'building-beautiful-uis-with-flutter', + 'category': 'web', + 'length' : 90, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1544e43dcdae6ebf876', - 'title' : 'Cloud Firestore', - 'slug' : 'cloud-firestore', - 'category' : 'firebase', - 'length' : 90, - 'updated' : 'Jun 28, 2017' + 'id' : '1544e43dcdae6ebf876', + 'title' : 'Cloud Firestore', + 'slug' : 'cloud-firestore', + 'category': 'firebase', + 'length' : 90, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1541ca7af66da284177', - 'title' : 'Customize Network Topology with Subnetworks', - 'slug' : 'customize-network-topology-with-subnetworks', - 'category' : 'web', - 'length' : 45, - 'updated' : 'Jun 28, 2017' + 'id' : '1541ca7af66da284177', + 'title' : 'Customize Network Topology with Subnetworks', + 'slug' : 'customize-network-topology-with-subnetworks', + 'category': 'web', + 'length' : 45, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '154297167e781781745', - 'title' : 'Looking at Campaign Finance with BigQuery', - 'slug' : 'looking-at-campaign-finance-with-bigquery', - 'category' : 'cloud', - 'length' : 60, - 'updated' : 'Jun 28, 2017' + 'id' : '154297167e781781745', + 'title' : 'Looking at Campaign Finance with BigQuery', + 'slug' : 'looking-at-campaign-finance-with-bigquery', + 'category': 'cloud', + 'length' : 60, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '154537435d5b32bf11a', - 'title' : 'Firebase Android', - 'slug' : 'firebase-android', - 'category' : 'android', - 'length' : 45, - 'updated' : 'Jun 28, 2017' + 'id' : '154537435d5b32bf11a', + 'title' : 'Firebase Android', + 'slug' : 'firebase-android', + 'category': 'android', + 'length' : 45, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '154204e45a59b168453', - 'title' : 'Simulating a Thread Network Using OpenThread', - 'slug' : 'simulating-a-thread-network-using-openthread', - 'category' : 'web', - 'length' : 45, - 'updated' : 'Jun 28, 2017' + 'id' : '154204e45a59b168453', + 'title' : 'Simulating a Thread Network Using OpenThread', + 'slug' : 'simulating-a-thread-network-using-openthread', + 'category': 'web', + 'length' : 45, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1541dd1e05dfc439216', - 'title' : 'Your First Progressive Web App', - 'slug' : 'your-first-progressive-web-app', - 'category' : 'web', - 'length' : 30, - 'updated' : 'Jun 28, 2017' + 'id' : '1541dd1e05dfc439216', + 'title' : 'Your First Progressive Web App', + 'slug' : 'your-first-progressive-web-app', + 'category': 'web', + 'length' : 30, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1532dfc67e704e48515', - 'title' : 'Launch Cloud Datalab', - 'slug' : 'launch-cloud-datalab', - 'category' : 'cloud', - 'length' : 60, - 'updated' : 'Jun 28, 2017' + 'id' : '1532dfc67e704e48515', + 'title' : 'Launch Cloud Datalab', + 'slug' : 'launch-cloud-datalab', + 'category': 'cloud', + 'length' : 60, + 'updated' : 'Jun 28, 2017' }, { - 'id' : '1542e43dfaae6ebf226', - 'title' : 'Personalize Your iOS App with Firebase User Management', - 'slug' : 'personalize-your-ios-app-with-firebase-user-management', - 'category' : 'firebase', - 'length' : 90, - 'updated' : 'Jun 28, 2017' + 'id' : '1542e43dfaae6ebf226', + 'title' : 'Personalize Your iOS App with Firebase User Management', + 'slug' : 'personalize-your-ios-app-with-firebase-user-management', + 'category': 'firebase', + 'length' : 90, + 'updated' : 'Jun 28, 2017' } ]; @@ -173,47 +173,399 @@ export class AcademyFakeDb private static demoSteps = [ { 'title' : 'Introduction', - 'content': '1 Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit


Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 1 - Introduction

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Get the sample code', - 'content': '2 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 2 - Get the sample code

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Create a Firebase project and Set up your app', - 'content': '3 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 3 - Create a Firebase project and Set up your app

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Install the Firebase Command Line Interface', - 'content': '4 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 4 - Install the Firebase Command Line Interface

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Deploy and run the web app', - 'content': '5 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 5 - Deploy and run the web app

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'The Functions Directory', - 'content': '6 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 6 - The Functions Directory

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Import the Cloud Functions and Firebase Admin modules', - 'content': '7 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 7 - Import the Cloud Functions and Firebase Admin modules

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Welcome New Users', - 'content': '8 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 8 - Welcome New Users

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Images moderation', - 'content': '9 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 9 - Images moderation

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'New Message Notifications', - 'content': '10 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 10 - New Message Notifications

' + + '
' + + 'This is an example step of the course. You can put anything in here from example codes to videos.' + + '

' + + 'To install the CLI you need to have installed npm which typically comes with NodeJS.' + + 'To install or upgrade the CLI run the following npm command:' + + '

' + + 'npm -g install @angular/cli' + + '

' + + 'To verify that the CLI has been installed correctly, open a console and run:' + + '

' + + 'ng version' + + '

' + + '

Install dependencies

' + + '
' + + 'To moderate the images we\'ll need a few Node.js packages:' + + '

' + + '' + + '
' + + 'To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.' + + '

' + + 'npm install --save @google-cloud/vision @google-cloud/storage child-process-promise' + + '

' + + 'This will install the three packages locally and add them as declared dependencies in your package.js file.' }, { 'title' : 'Congratulations!', - 'content': '11 Lorem ipsum dolor sit amet, consectetur adipiscing elit' + 'content': '

Step 11 - Congratulations!

' + + '
' + + 'You\'ve built a full-fidelity, offline-capable progressive web app by leveraging the power of reusable Web Components and Firebase. Why bother with a native app when you know how to do all that?!' } ];