diff --git a/src/app/modules/home/components/home/home.component.html b/src/app/modules/home/components/home/home.component.html index 0add6b6..b9fdf1f 100644 --- a/src/app/modules/home/components/home/home.component.html +++ b/src/app/modules/home/components/home/home.component.html @@ -1,6 +1,7 @@

Welcome to VideoGamer

+
Discover your new favorite game.
diff --git a/src/app/modules/shared-components/components/footer/footer.component.css b/src/app/modules/shared-components/components/footer/footer.component.css index 434f8a4..18602d3 100644 --- a/src/app/modules/shared-components/components/footer/footer.component.css +++ b/src/app/modules/shared-components/components/footer/footer.component.css @@ -5,3 +5,13 @@ .light-text { font-weight: 100 !important; } + +.example-fill-remaining-space { + /* This fills the remaining space, by using flexbox. + Every toolbar row uses a flexbox row layout. */ + flex: 1 1 auto; +} + +.padding-left { + padding-left: 5px !important; +} diff --git a/src/app/modules/shared-components/components/footer/footer.component.html b/src/app/modules/shared-components/components/footer/footer.component.html index 5500762..3f580f7 100644 --- a/src/app/modules/shared-components/components/footer/footer.component.html +++ b/src/app/modules/shared-components/components/footer/footer.component.html @@ -1,3 +1,9 @@ - Copyright 2019 © Stefan Bogdanovic + © 2019 Stefan Bogdanović + + + + Made with + + favorite diff --git a/src/app/modules/shared-components/components/header/header.component.css b/src/app/modules/shared-components/components/header/header.component.css index 95add4f..7048a3d 100644 --- a/src/app/modules/shared-components/components/header/header.component.css +++ b/src/app/modules/shared-components/components/header/header.component.css @@ -11,3 +11,7 @@ .light-text { font-weight: 100 !important; } + +.spacy { + margin-left: 10px !important; +} diff --git a/src/app/modules/shared-components/components/header/header.component.html b/src/app/modules/shared-components/components/header/header.component.html index 71c192b..61f477e 100644 --- a/src/app/modules/shared-components/components/header/header.component.html +++ b/src/app/modules/shared-components/components/header/header.component.html @@ -1,5 +1,7 @@ - VideoGamer + @@ -7,8 +9,21 @@ diff --git a/src/app/modules/shared-components/components/header/header.component.ts b/src/app/modules/shared-components/components/header/header.component.ts index 7503b2c..94259aa 100644 --- a/src/app/modules/shared-components/components/header/header.component.ts +++ b/src/app/modules/shared-components/components/header/header.component.ts @@ -3,6 +3,7 @@ import { Component, OnInit } from '@angular/core'; export interface Link { name: string; path: string; + icon: string; } @Component({ @@ -12,9 +13,9 @@ export interface Link { }) export class HeaderComponent implements OnInit { public readonly links: Link[] = [ - { name: 'Home', path: '' }, - { name: 'Gaming', path: 'gaming' }, - { name: 'Contact', path: 'contact' } + { name: 'Home', path: '', icon: 'home' }, + { name: 'Gaming', path: 'gaming', icon: 'games' }, + { name: 'Contact', path: 'contact', icon: 'mail' } ]; constructor() {} diff --git a/src/app/modules/shared-components/material/material.module.ts b/src/app/modules/shared-components/material/material.module.ts index d0fccd0..f3c4eb7 100644 --- a/src/app/modules/shared-components/material/material.module.ts +++ b/src/app/modules/shared-components/material/material.module.ts @@ -5,10 +5,20 @@ import { MatToolbarModule } from '@angular/material/toolbar'; import { MatTabsModule } from '@angular/material/tabs'; import { MatButtonModule } from '@angular/material/button'; import { MatGridListModule } from '@angular/material/grid-list'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; @NgModule({ declarations: [], - imports: [CommonModule, MatToolbarModule, MatButtonModule, MatTabsModule, MatGridListModule], - exports: [MatToolbarModule, MatButtonModule, MatTabsModule, MatGridListModule] + imports: [ + CommonModule, + MatToolbarModule, + MatButtonModule, + MatTabsModule, + MatGridListModule, + MatIconModule, + MatMenuModule + ], + exports: [MatToolbarModule, MatButtonModule, MatTabsModule, MatGridListModule, MatIconModule, MatMenuModule] }) export class MaterialModule {} diff --git a/src/custom-theme.scss b/src/custom-theme.scss index d4064ef..51cd063 100644 --- a/src/custom-theme.scss +++ b/src/custom-theme.scss @@ -1,4 +1,3 @@ - // Custom Theming for Angular Material // For more information: https://material.angular.io/guide/theming @import '~@angular/material/theming'; @@ -25,4 +24,3 @@ $video-gamer-theme: mat-light-theme($video-gamer-primary, $video-gamer-accent, $ // Alternatively, you can import and @include the theme mixins for each component // that you are using. @include angular-material-theme($video-gamer-theme); -