Skip to content

Commit

Permalink
Rough app skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Toxantron committed Apr 5, 2019
1 parent b8575ed commit fea7307
Show file tree
Hide file tree
Showing 18 changed files with 103 additions and 25 deletions.
Empty file added src/app/app.component.css
Empty file.
1 change: 1 addition & 0 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<router-outlet></router-outlet>
27 changes: 3 additions & 24 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,9 @@ import { Component } from '@angular/core';

@Component({
selector: 'app-root',
template: `
<!--The content below is only a placeholder and can be replaced.-->
<div style="text-align:center">
<h1>
Welcome to {{title}}!
</h1>
<img width="300" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==">
</div>
<h2>Here are some links to help you start: </h2>
<ul>
<li>
<h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
</li>
<li>
<h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2>
</li>
<li>
<h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
</li>
</ul>
<router-outlet></router-outlet>
`,
styles: []
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'scrumpoker';
title = 'Scrumpoker Online';
}
10 changes: 9 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { CreateComponent } from './create/create.component';
import { JoinComponent } from './join/join.component';
import { MasterComponent } from './master/master.component';
import { MemberComponent } from './member/member.component';

@NgModule({
declarations: [
AppComponent
AppComponent,
CreateComponent,
JoinComponent,
MasterComponent,
MemberComponent
],
imports: [
BrowserModule,
Expand Down
Empty file.
3 changes: 3 additions & 0 deletions src/app/create/create.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
create works!
</p>
15 changes: 15 additions & 0 deletions src/app/create/create.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-create',
templateUrl: './create.component.html',
styleUrls: ['./create.component.css']
})
export class CreateComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
Empty file added src/app/join/join.component.css
Empty file.
3 changes: 3 additions & 0 deletions src/app/join/join.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
join works!
</p>
15 changes: 15 additions & 0 deletions src/app/join/join.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-join',
templateUrl: './join.component.html',
styleUrls: ['./join.component.css']
})
export class JoinComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
Empty file.
3 changes: 3 additions & 0 deletions src/app/master/master.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
master works!
</p>
15 changes: 15 additions & 0 deletions src/app/master/master.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-master',
templateUrl: './master.component.html',
styleUrls: ['./master.component.css']
})
export class MasterComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
Empty file.
3 changes: 3 additions & 0 deletions src/app/member/member.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
member works!
</p>
15 changes: 15 additions & 0 deletions src/app/member/member.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-member',
templateUrl: './member.component.html',
styleUrls: ['./member.component.css']
})
export class MemberComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
9 changes: 9 additions & 0 deletions src/app/polls.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Injectable } from '@angular/core';

@Injectable({
providedIn: 'root'
})
export class PollsService {

constructor() { }
}
9 changes: 9 additions & 0 deletions src/app/sessions.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Injectable } from '@angular/core';

@Injectable({
providedIn: 'root'
})
export class SessionsService {

constructor() { }
}

0 comments on commit fea7307

Please sign in to comment.