diff --git a/src/app/scheduling/display-session/display-session.component.html b/src/app/scheduling/display-session/display-session.component.html
index 929f197..5fd2eae 100644
--- a/src/app/scheduling/display-session/display-session.component.html
+++ b/src/app/scheduling/display-session/display-session.component.html
@@ -1,3 +1,13 @@
-
- display-session works!
-
+
+
+
+
{{ session.title }}
+
{{ session.desc }}
+
+
+
diff --git a/src/app/scheduling/display-session/display-session.component.scss b/src/app/scheduling/display-session/display-session.component.scss
index e69de29..b57ade6 100644
--- a/src/app/scheduling/display-session/display-session.component.scss
+++ b/src/app/scheduling/display-session/display-session.component.scss
@@ -0,0 +1,5 @@
+.card {
+ img {
+ height: 300px
+ }
+}
\ No newline at end of file
diff --git a/src/app/scheduling/display-session/display-session.component.ts b/src/app/scheduling/display-session/display-session.component.ts
index 7c4878c..319737d 100644
--- a/src/app/scheduling/display-session/display-session.component.ts
+++ b/src/app/scheduling/display-session/display-session.component.ts
@@ -1,4 +1,5 @@
import { Component, OnInit, Input } from '@angular/core';
+import { Router } from '@angular/router';
import { Session } from '../../shared/model/session'
@Component({
@@ -11,9 +12,12 @@ export class DisplaySessionComponent implements OnInit {
@Input()
session: Session
- constructor() { }
+ constructor(private router: Router) { }
ngOnInit() {
}
+ joinSession() {
+ this.router.navigate(['session', this.session.$key]);
+ }
}
diff --git a/src/app/scheduling/scheduling.component.html b/src/app/scheduling/scheduling.component.html
index 7aed741..de2b1ba 100644
--- a/src/app/scheduling/scheduling.component.html
+++ b/src/app/scheduling/scheduling.component.html
@@ -1,22 +1,32 @@
Sessions I'm tutoring
-
-
{{session | json}}
+
Sessions I'm in
-
-
{{session | json}}
+
Public Sessions
-
-
{{session | json}}
+
Session By tag