Responsiveness wohoooo
This commit is contained in:
parent
7b17b9b28a
commit
94f5b5c46b
|
@ -3,13 +3,20 @@
|
|||
#profile-popover {
|
||||
z-index: 1;
|
||||
position: fixed;
|
||||
right: 1em;
|
||||
top: $header_height + 1em;
|
||||
top: $header_height;
|
||||
color: $text;
|
||||
background-color: $secondary;
|
||||
width: 15em;
|
||||
border-radius: 1em;
|
||||
padding: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
#profile-popover {
|
||||
width: 15em;
|
||||
right: 1em;
|
||||
top: $header_height + 1em;
|
||||
border-radius: 1em;
|
||||
padding: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
h2.heading {
|
||||
|
|
|
@ -8,4 +8,5 @@ export interface Game {
|
|||
foxesCaught: number;
|
||||
announcements: Announcement[];
|
||||
solo?: Solo;
|
||||
againstTheElders: boolean;
|
||||
}
|
||||
|
|
10
src/app/models/doppelkopf/gameNight.ts
Normal file
10
src/app/models/doppelkopf/gameNight.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import {Game} from './game';
|
||||
import {Player} from './player';
|
||||
|
||||
export interface GameNight {
|
||||
gameNightId: number;
|
||||
date: Date;
|
||||
players: Player[]; // We need players here and in the game because maybe we have 5 players for a game night and
|
||||
// they switch every game
|
||||
games: Game[];
|
||||
}
|
|
@ -17,6 +17,7 @@ export class HomeComponent implements OnInit {
|
|||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
// TODO: First try to read existing session data
|
||||
this.authenticateUser();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user