summaryrefslogtreecommitdiff
path: root/legacy/website-instructions/bedrockconnect/src
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/website-instructions/bedrockconnect/src')
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app-routing.module.ts15
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.html6
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.spec.ts35
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.styl2
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.ts10
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.module.ts20
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.html15
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts25
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.styl50
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.ts15
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/.gitkeep0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/background.pngbin0 -> 602916 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/github.pngbin0 -> 44873 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/logo.pngbin0 -> 11245 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/switch.svg1
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/xbox.pngbin0 -> 46926 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/browserslist11
-rw-r--r--legacy/website-instructions/bedrockconnect/src/environments/environment.prod.ts3
-rw-r--r--legacy/website-instructions/bedrockconnect/src/environments/environment.ts16
-rw-r--r--legacy/website-instructions/bedrockconnect/src/favicon.icobin0 -> 5430 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/index.html15
-rw-r--r--legacy/website-instructions/bedrockconnect/src/karma.conf.js31
-rw-r--r--legacy/website-instructions/bedrockconnect/src/main.ts12
-rw-r--r--legacy/website-instructions/bedrockconnect/src/polyfills.ts80
-rw-r--r--legacy/website-instructions/bedrockconnect/src/styles.styl4
-rw-r--r--legacy/website-instructions/bedrockconnect/src/test.ts20
-rw-r--r--legacy/website-instructions/bedrockconnect/src/tsconfig.app.json11
-rw-r--r--legacy/website-instructions/bedrockconnect/src/tsconfig.spec.json18
-rw-r--r--legacy/website-instructions/bedrockconnect/src/tslint.json17
29 files changed, 432 insertions, 0 deletions
diff --git a/legacy/website-instructions/bedrockconnect/src/app/app-routing.module.ts b/legacy/website-instructions/bedrockconnect/src/app/app-routing.module.ts
new file mode 100644
index 0000000..72da73e
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/app-routing.module.ts
@@ -0,0 +1,15 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+
+import { HomeComponent } from './home/home.component';
+
+const routes: Routes = [
+ { path: 'home', component: HomeComponent },
+ { path: '', redirectTo: '/home', pathMatch: 'full' },
+];
+
+@NgModule({
+ imports: [RouterModule.forRoot(routes)],
+ exports: [RouterModule]
+})
+export class AppRoutingModule { }
diff --git a/legacy/website-instructions/bedrockconnect/src/app/app.component.html b/legacy/website-instructions/bedrockconnect/src/app/app.component.html
new file mode 100644
index 0000000..ae7694e
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.html
@@ -0,0 +1,6 @@
+<!--The content below is only a placeholder and can be replaced.-->
+<div style="text-align:center">
+ <img width="200" alt="BedrockConnect Logo" src="/assets/logo.png">
+</div>
+
+<router-outlet></router-outlet>
diff --git a/legacy/website-instructions/bedrockconnect/src/app/app.component.spec.ts b/legacy/website-instructions/bedrockconnect/src/app/app.component.spec.ts
new file mode 100644
index 0000000..d326ea3
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.spec.ts
@@ -0,0 +1,35 @@
+import { TestBed, async } from '@angular/core/testing';
+import { RouterTestingModule } from '@angular/router/testing';
+import { AppComponent } from './app.component';
+
+describe('AppComponent', () => {
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ imports: [
+ RouterTestingModule
+ ],
+ declarations: [
+ AppComponent
+ ],
+ }).compileComponents();
+ }));
+
+ it('should create the app', () => {
+ const fixture = TestBed.createComponent(AppComponent);
+ const app = fixture.debugElement.componentInstance;
+ expect(app).toBeTruthy();
+ });
+
+ it(`should have as title 'bedrockconnect'`, () => {
+ const fixture = TestBed.createComponent(AppComponent);
+ const app = fixture.debugElement.componentInstance;
+ expect(app.title).toEqual('bedrockconnect');
+ });
+
+ it('should render title in a h1 tag', () => {
+ const fixture = TestBed.createComponent(AppComponent);
+ fixture.detectChanges();
+ const compiled = fixture.debugElement.nativeElement;
+ expect(compiled.querySelector('h1').textContent).toContain('Welcome to bedrockconnect!');
+ });
+});
diff --git a/legacy/website-instructions/bedrockconnect/src/app/app.component.styl b/legacy/website-instructions/bedrockconnect/src/app/app.component.styl
new file mode 100644
index 0000000..4a720e9
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.styl
@@ -0,0 +1,2 @@
+body
+ background-color red \ No newline at end of file
diff --git a/legacy/website-instructions/bedrockconnect/src/app/app.component.ts b/legacy/website-instructions/bedrockconnect/src/app/app.component.ts
new file mode 100644
index 0000000..e98ac5b
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.ts
@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-root',
+ templateUrl: './app.component.html',
+ styleUrls: ['./app.component.styl']
+})
+export class AppComponent {
+ title = 'bedrockconnect';
+}
diff --git a/legacy/website-instructions/bedrockconnect/src/app/app.module.ts b/legacy/website-instructions/bedrockconnect/src/app/app.module.ts
new file mode 100644
index 0000000..014550e
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.module.ts
@@ -0,0 +1,20 @@
+import { BrowserModule } from '@angular/platform-browser';
+import { NgModule } from '@angular/core';
+
+import { AppRoutingModule } from './app-routing.module';
+import { AppComponent } from './app.component';
+import { HomeComponent } from './home/home.component';
+
+@NgModule({
+ declarations: [
+ AppComponent,
+ HomeComponent
+ ],
+ imports: [
+ BrowserModule,
+ AppRoutingModule
+ ],
+ providers: [],
+ bootstrap: [AppComponent]
+})
+export class AppModule { }
diff --git a/legacy/website-instructions/bedrockconnect/src/app/home/home.component.html b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.html
new file mode 100644
index 0000000..327869a
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.html
@@ -0,0 +1,15 @@
+<div id="content">
+ <a target="_blank" href="https://github.com/Pugmatt/BedrockConnect">
+ <div id="github">
+ View the Open Source code
+ <img width="50" style="vertical-align:middle; padding-left: 8px;" src="/assets/github.png"/>
+ </div>
+ </a>
+ <div style="font-size: 60px; color: white;"><b>Tired of being limited to 'Featured Servers'?</b></div>
+ <div style="font-size: 30px; color: white;">With Bedrock Connect, you can connect to <b>any multiplayer server IP/Address</b> on <i>Minecraft: Bedrock Edition</i> on your Xbox/Nintendo Switch</div>
+ <div style="font-size: 25px; color: white; padding-top: 30px;">To learn how, first click on the platform you are currently playing <i>Minecraft: Bedrock Edition</i> on:</div>
+ <div id="platforms">
+ <img width="200" alt="Xbox Logo" style="padding-right: 45px;" src="/assets/xbox.png">
+ <img width="200" alt="Switch Logo" src="/assets/switch.svg">
+ </div>
+</div>
diff --git a/legacy/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts
new file mode 100644
index 0000000..490e81b
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { HomeComponent } from './home.component';
+
+describe('HomeComponent', () => {
+ let component: HomeComponent;
+ let fixture: ComponentFixture<HomeComponent>;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ HomeComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(HomeComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/legacy/website-instructions/bedrockconnect/src/app/home/home.component.styl b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.styl
new file mode 100644
index 0000000..90330ce
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.styl
@@ -0,0 +1,50 @@
+#content
+ text-align center
+ font-family 'Abel', sans-serif
+ line-height 96px
+ animation: 1s ease-out 0s 1 pop;
+
+#moto
+ font-size 40px
+
+#platforms
+ padding 45px
+ img
+ cursor pointer
+ margin-bottom 10px
+ transition margin-bottom 0.3s
+ img:hover
+ margin-bottom: 5px;
+
+#github
+ font-size 24px
+ color #ffffff82
+ position fixed
+ bottom 32px
+ right 32px
+ cursor pointer
+ transition color 0.3s
+
+#github:hover
+ color #ffffffbf
+
+@keyframes pop {
+ 0% {
+ opacity: 0;
+ }
+ 20% {
+ opacity: 0.2;
+ }
+ 40% {
+ opacity: 0.4;
+ }
+ 60% {
+ opacity: 0.6;
+ }
+ 80% {
+ opacity: 0.8;
+ }
+ 100% {
+ opacity: 1;
+ }
+} \ No newline at end of file
diff --git a/legacy/website-instructions/bedrockconnect/src/app/home/home.component.ts b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.ts
new file mode 100644
index 0000000..186929a
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-home',
+ templateUrl: './home.component.html',
+ styleUrls: ['./home.component.styl']
+})
+export class HomeComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}
diff --git a/legacy/website-instructions/bedrockconnect/src/assets/.gitkeep b/legacy/website-instructions/bedrockconnect/src/assets/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/assets/.gitkeep
diff --git a/legacy/website-instructions/bedrockconnect/src/assets/background.png b/legacy/website-instructions/bedrockconnect/src/assets/background.png
new file mode 100644
index 0000000..97105cc
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/assets/background.png
Binary files differ
diff --git a/legacy/website-instructions/bedrockconnect/src/assets/github.png b/legacy/website-instructions/bedrockconnect/src/assets/github.png
new file mode 100644
index 0000000..a8549e7
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/assets/github.png
Binary files differ
diff --git a/legacy/website-instructions/bedrockconnect/src/assets/logo.png b/legacy/website-instructions/bedrockconnect/src/assets/logo.png
new file mode 100644
index 0000000..d0b9c99
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/assets/logo.png
Binary files differ
diff --git a/legacy/website-instructions/bedrockconnect/src/assets/switch.svg b/legacy/website-instructions/bedrockconnect/src/assets/switch.svg
new file mode 100644
index 0000000..30a1e76
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/assets/switch.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="483" height="483"><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/><title>light-icon</title><g class="currentLayer" style=""><title>Layer 1</title><g fill-rule="nonzero" fill="#D8D8D8" id="svg_1" class=""><path d="M103.37877035140991,1.6000003576278687 c-48.1,8.6 -86.8,44.2 -99,91 C-0.021229648590087885,109.50000035762787 -0.3212296485900879,119.40000035762787 0.17877035140991215,250.50000035762787 C0.4787703514099122,370.90000035762785 0.5787703514099122,373.70000035762786 2.5787703514099123,383.00000035762787 c11.1,50.1 46.7,85.8 97.3,97.6 c6.6,1.5 15,1.8 69.1,2.1 c56,0.4 61.8,0.30000000000000004 63.3,-1.2 s1.6,-20.8 1.6,-239.6 c0,-162.2 -0.30000000000000004,-238.6 -1,-240 c-1,-1.8 -2.7,-1.9 -61.3,-1.8 c-47.6,0.1 -61.9,0.4 -68.2,1.5 zm90.5,240 v202.6 l-40.7,-0.5 c-37.5,-0.4 -41.5,-0.6000000000000001 -49,-2.5 c-32.2,-8.3 -56.1,-33.1 -62.8,-65.4 c-2.2,-10.1 -2.2,-258.9 -0.1,-268.8 c6,-28.1 25.5,-51.4 51.8,-61.9 c13.2,-5.3 19.3,-5.9 62.1,-6 L193.8787703514099,39.00000035762787 v202.6 z" id="svg_2"/><path d="M111.9787703514099,100.10000035762786 c-6.3,1.2 -15.9,6 -21,10.5 c-10.5,9.1 -15.7,22 -14.9,37.2 c0.4,7.9 0.9,10 4.1,16.4 c4.7,9.7 11.8,16.8 21.5,21.6 c6.7,3.3 8.4,3.7 17.1,4 c7.9,0.30000000000000004 10.7,0 16,-1.8 c21.7,-7.3 34.8,-28.4 31.1,-50 c-4.3,-25.7 -28.7,-42.9 -53.9,-37.9 zM282.5787703514099,0.7000003576278687 c-0.4,0.30000000000000004 -0.7000000000000001,108.7 -0.7000000000000001,240.9 c0,218.1 0.1,240.2 1.6,240.8 c2.7,1 80.3,0.6000000000000001 89.9,-0.4 c40.6,-4.6 76.4,-29.3 95.9,-66 c2.5,-4.7 5.8,-12.6 7.5,-17.5 c6.3,-18.8 6.1,-13.8 6.1,-157.5 c0,-114.7 -0.2,-131.8 -1.6,-139.1 c-9.9,-52.1 -49.6,-91.4 -101.8,-100.4 C372.47877035140993,0.3000003576278687 361.6787703514099,3.5762786865234375e-7 326.8787703514099,3.5762786865234375e-7 c-24,0 -44,0.30000000000000004 -44.3,0.7000000000000001 zm106.8,217.8 c15.6,4.1 28.4,16 33.6,31.2 c3.3,9.4 3.2,23.2 -0.1,31.8 c-6.1,15.8 -18.1,26.9 -33.5,31 c-25,6.5 -51.6,-8.6 -58.9,-33.4 c-2.2,-7.6 -2.1,-20.4 0.4,-28.2 c7.5,-24.5 33.5,-38.9 58.5,-32.4 z" id="svg_3"/></g></g></svg> \ No newline at end of file
diff --git a/legacy/website-instructions/bedrockconnect/src/assets/xbox.png b/legacy/website-instructions/bedrockconnect/src/assets/xbox.png
new file mode 100644
index 0000000..29f060a
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/assets/xbox.png
Binary files differ
diff --git a/legacy/website-instructions/bedrockconnect/src/browserslist b/legacy/website-instructions/bedrockconnect/src/browserslist
new file mode 100644
index 0000000..37371cb
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/browserslist
@@ -0,0 +1,11 @@
+# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
+# For additional information regarding the format and rule options, please see:
+# https://github.com/browserslist/browserslist#queries
+#
+# For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
+
+> 0.5%
+last 2 versions
+Firefox ESR
+not dead
+not IE 9-11 \ No newline at end of file
diff --git a/legacy/website-instructions/bedrockconnect/src/environments/environment.prod.ts b/legacy/website-instructions/bedrockconnect/src/environments/environment.prod.ts
new file mode 100644
index 0000000..3612073
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/environments/environment.prod.ts
@@ -0,0 +1,3 @@
+export const environment = {
+ production: true
+};
diff --git a/legacy/website-instructions/bedrockconnect/src/environments/environment.ts b/legacy/website-instructions/bedrockconnect/src/environments/environment.ts
new file mode 100644
index 0000000..7b4f817
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/environments/environment.ts
@@ -0,0 +1,16 @@
+// This file can be replaced during build by using the `fileReplacements` array.
+// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
+// The list of file replacements can be found in `angular.json`.
+
+export const environment = {
+ production: false
+};
+
+/*
+ * For easier debugging in development mode, you can import the following file
+ * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
+ *
+ * This import should be commented out in production mode because it will have a negative impact
+ * on performance if an error is thrown.
+ */
+// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
diff --git a/legacy/website-instructions/bedrockconnect/src/favicon.ico b/legacy/website-instructions/bedrockconnect/src/favicon.ico
new file mode 100644
index 0000000..8081c7c
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/favicon.ico
Binary files differ
diff --git a/legacy/website-instructions/bedrockconnect/src/index.html b/legacy/website-instructions/bedrockconnect/src/index.html
new file mode 100644
index 0000000..52b1465
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/index.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>Bedrockconnect</title>
+ <base href="/">
+
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
+ <link href="https://fonts.googleapis.com/css?family=Abel&display=swap" rel="stylesheet">
+</head>
+<body>
+ <app-root></app-root>
+</body>
+</html>
diff --git a/legacy/website-instructions/bedrockconnect/src/karma.conf.js b/legacy/website-instructions/bedrockconnect/src/karma.conf.js
new file mode 100644
index 0000000..b6e0042
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/karma.conf.js
@@ -0,0 +1,31 @@
+// Karma configuration file, see link for more information
+// https://karma-runner.github.io/1.0/config/configuration-file.html
+
+module.exports = function (config) {
+ config.set({
+ basePath: '',
+ frameworks: ['jasmine', '@angular-devkit/build-angular'],
+ plugins: [
+ require('karma-jasmine'),
+ require('karma-chrome-launcher'),
+ require('karma-jasmine-html-reporter'),
+ require('karma-coverage-istanbul-reporter'),
+ require('@angular-devkit/build-angular/plugins/karma')
+ ],
+ client: {
+ clearContext: false // leave Jasmine Spec Runner output visible in browser
+ },
+ coverageIstanbulReporter: {
+ dir: require('path').join(__dirname, '../coverage'),
+ reports: ['html', 'lcovonly'],
+ fixWebpackSourcePaths: true
+ },
+ reporters: ['progress', 'kjhtml'],
+ port: 9876,
+ colors: true,
+ logLevel: config.LOG_INFO,
+ autoWatch: true,
+ browsers: ['Chrome'],
+ singleRun: false
+ });
+}; \ No newline at end of file
diff --git a/legacy/website-instructions/bedrockconnect/src/main.ts b/legacy/website-instructions/bedrockconnect/src/main.ts
new file mode 100644
index 0000000..c7b673c
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/main.ts
@@ -0,0 +1,12 @@
+import { enableProdMode } from '@angular/core';
+import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
+
+import { AppModule } from './app/app.module';
+import { environment } from './environments/environment';
+
+if (environment.production) {
+ enableProdMode();
+}
+
+platformBrowserDynamic().bootstrapModule(AppModule)
+ .catch(err => console.error(err));
diff --git a/legacy/website-instructions/bedrockconnect/src/polyfills.ts b/legacy/website-instructions/bedrockconnect/src/polyfills.ts
new file mode 100644
index 0000000..ee8b84d
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/polyfills.ts
@@ -0,0 +1,80 @@
+/**
+ * This file includes polyfills needed by Angular and is loaded before the app.
+ * You can add your own extra polyfills to this file.
+ *
+ * This file is divided into 2 sections:
+ * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
+ * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
+ * file.
+ *
+ * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
+ * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
+ * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
+ *
+ * Learn more in https://angular.io/guide/browser-support
+ */
+
+/***************************************************************************************************
+ * BROWSER POLYFILLS
+ */
+
+/** IE9, IE10 and IE11 requires all of the following polyfills. **/
+// import 'core-js/es6/symbol';
+// import 'core-js/es6/object';
+// import 'core-js/es6/function';
+// import 'core-js/es6/parse-int';
+// import 'core-js/es6/parse-float';
+// import 'core-js/es6/number';
+// import 'core-js/es6/math';
+// import 'core-js/es6/string';
+// import 'core-js/es6/date';
+// import 'core-js/es6/array';
+// import 'core-js/es6/regexp';
+// import 'core-js/es6/map';
+// import 'core-js/es6/weak-map';
+// import 'core-js/es6/set';
+
+/**
+ * If the application will be indexed by Google Search, the following is required.
+ * Googlebot uses a renderer based on Chrome 41.
+ * https://developers.google.com/search/docs/guides/rendering
+ **/
+// import 'core-js/es6/array';
+
+/** IE10 and IE11 requires the following for NgClass support on SVG elements */
+// import 'classlist.js'; // Run `npm install --save classlist.js`.
+
+/** IE10 and IE11 requires the following for the Reflect API. */
+// import 'core-js/es6/reflect';
+
+/**
+ * Web Animations `@angular/platform-browser/animations`
+ * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
+ * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
+ **/
+// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
+
+/**
+ * By default, zone.js will patch all possible macroTask and DomEvents
+ * user can disable parts of macroTask/DomEvents patch by setting following flags
+ */
+
+ // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
+ // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
+ // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
+
+ /*
+ * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
+ * with the following flag, it will bypass `zone.js` patch for IE/Edge
+ */
+// (window as any).__Zone_enable_cross_context_check = true;
+
+/***************************************************************************************************
+ * Zone JS is required by default for Angular itself.
+ */
+import 'zone.js/dist/zone'; // Included with Angular CLI.
+
+
+/***************************************************************************************************
+ * APPLICATION IMPORTS
+ */
diff --git a/legacy/website-instructions/bedrockconnect/src/styles.styl b/legacy/website-instructions/bedrockconnect/src/styles.styl
new file mode 100644
index 0000000..712a284
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/styles.styl
@@ -0,0 +1,4 @@
+/* You can add global styles to this file, and also import other style files */
+
+body
+ background-image url("assets/background.png") \ No newline at end of file
diff --git a/legacy/website-instructions/bedrockconnect/src/test.ts b/legacy/website-instructions/bedrockconnect/src/test.ts
new file mode 100644
index 0000000..1631789
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/test.ts
@@ -0,0 +1,20 @@
+// This file is required by karma.conf.js and loads recursively all the .spec and framework files
+
+import 'zone.js/dist/zone-testing';
+import { getTestBed } from '@angular/core/testing';
+import {
+ BrowserDynamicTestingModule,
+ platformBrowserDynamicTesting
+} from '@angular/platform-browser-dynamic/testing';
+
+declare const require: any;
+
+// First, initialize the Angular testing environment.
+getTestBed().initTestEnvironment(
+ BrowserDynamicTestingModule,
+ platformBrowserDynamicTesting()
+);
+// Then we find all the tests.
+const context = require.context('./', true, /\.spec\.ts$/);
+// And load the modules.
+context.keys().map(context);
diff --git a/legacy/website-instructions/bedrockconnect/src/tsconfig.app.json b/legacy/website-instructions/bedrockconnect/src/tsconfig.app.json
new file mode 100644
index 0000000..190fd30
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/tsconfig.app.json
@@ -0,0 +1,11 @@
+{
+ "extends": "../tsconfig.json",
+ "compilerOptions": {
+ "outDir": "../out-tsc/app",
+ "types": []
+ },
+ "exclude": [
+ "test.ts",
+ "**/*.spec.ts"
+ ]
+}
diff --git a/legacy/website-instructions/bedrockconnect/src/tsconfig.spec.json b/legacy/website-instructions/bedrockconnect/src/tsconfig.spec.json
new file mode 100644
index 0000000..de77336
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/tsconfig.spec.json
@@ -0,0 +1,18 @@
+{
+ "extends": "../tsconfig.json",
+ "compilerOptions": {
+ "outDir": "../out-tsc/spec",
+ "types": [
+ "jasmine",
+ "node"
+ ]
+ },
+ "files": [
+ "test.ts",
+ "polyfills.ts"
+ ],
+ "include": [
+ "**/*.spec.ts",
+ "**/*.d.ts"
+ ]
+}
diff --git a/legacy/website-instructions/bedrockconnect/src/tslint.json b/legacy/website-instructions/bedrockconnect/src/tslint.json
new file mode 100644
index 0000000..52e2c1a
--- /dev/null
+++ b/legacy/website-instructions/bedrockconnect/src/tslint.json
@@ -0,0 +1,17 @@
+{
+ "extends": "../tslint.json",
+ "rules": {
+ "directive-selector": [
+ true,
+ "attribute",
+ "app",
+ "camelCase"
+ ],
+ "component-selector": [
+ true,
+ "element",
+ "app",
+ "kebab-case"
+ ]
+ }
+}