-
-
-
SETGame
-
-
-
-
- Start New Game
-
-
-
- View Past Games
-
+
+
+
+ Start New Game
+ View Past Games
\ No newline at end of file
diff --git a/frontend/src/app/start-screen/start-screen.component.scss b/frontend/src/app/start-screen/start-screen.component.scss
index 3de6177..e69de29 100644
--- a/frontend/src/app/start-screen/start-screen.component.scss
+++ b/frontend/src/app/start-screen/start-screen.component.scss
@@ -1,3 +0,0 @@
-.title {
- font-family: 'Courier New', Courier, monospace;
-}
\ No newline at end of file
diff --git a/frontend/src/app/start-screen/start-screen.component.ts b/frontend/src/app/start-screen/start-screen.component.ts
index 7d5165b..a66c627 100644
--- a/frontend/src/app/start-screen/start-screen.component.ts
+++ b/frontend/src/app/start-screen/start-screen.component.ts
@@ -1,23 +1,17 @@
import { Component } from '@angular/core';
import { Router } from '@angular/router';
-import { CommonModule } from '@angular/common';
@Component({
selector: 'app-start-screen',
standalone: true,
- imports: [CommonModule],
+ imports: [],
templateUrl: './start-screen.component.html',
styleUrls: ['./start-screen.component.scss']
})
export class StartScreenComponent {
-
constructor(private router: Router) {}
-
- startNewGame() {
- this.router.navigate(['/game']);
- }
-
- viewGames() {
- this.router.navigate(['/game-list']);
+
+ routeTo(target: string) {
+ this.router.navigate([target]);
}
}
\ No newline at end of file
diff --git a/frontend/src/service/game/game.service.ts b/frontend/src/service/game/game.service.ts
index f7963da..3e85471 100755
--- a/frontend/src/service/game/game.service.ts
+++ b/frontend/src/service/game/game.service.ts
@@ -5,7 +5,7 @@ import axios from 'axios';
@Injectable({ providedIn: 'root' })
export class GameService {
- private deck: Card[] = [];
+ public deck: Card[] = [];
public hand: Card[] = [];
public gameId: number = 0;
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index 16acd7f..fcf7dba 100755
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -3,3 +3,48 @@
html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
+
+button {
+ color: #fff;
+ cursor: pointer;
+ font-size:16px;
+ font-weight: 400;
+ line-height: 45px;
+ margin: 0 0 2em;
+ max-width: 160px;
+ position: relative;
+ text-decoration: none;
+ text-transform: uppercase;
+ width: 100%;
+
+ border: 0 solid;
+ box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
+ outline: 1px solid;
+ outline-color: rgba(255, 255, 255, .5);
+ outline-offset: 0px;
+ text-shadow: none;
+ transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
+
+ @media(min-width: 600px) {
+ margin: 0 1em 2em;
+ }
+
+ &:hover {
+ text-decoration: none;
+ border: 1px solid;
+ box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
+ outline-color: rgba(255, 255, 255, 0);
+ outline-offset: 15px;
+ text-shadow: 1px 1px 2px #427388;
+ }
+
+ &.red {
+ font-size: 14px;
+ width: auto;
+ padding-left: 10px;
+ padding-right: 10px;
+ line-height: 30px;
+ border: 1px solid rgba(140, 0, 0, .5);
+ outline-color: rgba(140, 0, 0, .5);
+ }
+}
\ No newline at end of file