From 9d02c32b5a687a395261acb5b2da75b6f2b2202f Mon Sep 17 00:00:00 2001 From: Cathy Hu Date: Fri, 4 Sep 2020 12:50:19 +0200 Subject: [PATCH] [frontend] Add heading banner --- .../src/app/dashboard/board/board.component.html | 10 ++++------ .../src/app/dashboard/board/board.component.scss | 15 ++++++++++++++- .../src/app/dashboard/hoods/hoods.component.scss | 3 ++- .../src/app/homepage/homepage.component.html | 2 +- .../src/app/homepage/homepage.component.ts | 9 ++++----- .../src/app/hoodpage/hoodpage.component.html | 4 ++-- .../src/app/hoodpage/hoodpage.component.scss | 7 +++---- .../src/app/hoodspage/hoodspage.component.html | 5 +++-- .../src/app/hoodspage/hoodspage.component.scss | 2 +- .../src/app/hoodspage/hoodspage.component.ts | 1 + .../organizerspage/organizerspage.component.html | 2 +- .../organizerspage/organizerspage.component.ts | 9 ++++----- .../shared/heading-one/heading-one.component.html | 1 + .../shared/heading-one/heading-one.component.scss | 14 ++++++++++++++ .../shared/heading-one/heading-one.component.ts | 14 ++++++++++++++ kibicara-frontend/src/app/shared/shared.module.ts | 3 +++ 16 files changed, 72 insertions(+), 29 deletions(-) create mode 100644 kibicara-frontend/src/app/shared/heading-one/heading-one.component.html create mode 100644 kibicara-frontend/src/app/shared/heading-one/heading-one.component.scss create mode 100644 kibicara-frontend/src/app/shared/heading-one/heading-one.component.ts diff --git a/kibicara-frontend/src/app/dashboard/board/board.component.html b/kibicara-frontend/src/app/dashboard/board/board.component.html index b910b06..7311f5c 100644 --- a/kibicara-frontend/src/app/dashboard/board/board.component.html +++ b/kibicara-frontend/src/app/dashboard/board/board.component.html @@ -1,15 +1,13 @@ +
keyboard_backspace back
- - - Your Hood - {{ hood.name }} - - - diff --git a/kibicara-frontend/src/app/dashboard/board/board.component.scss b/kibicara-frontend/src/app/dashboard/board/board.component.scss index f3fa8dd..48a0ae3 100644 --- a/kibicara-frontend/src/app/dashboard/board/board.component.scss +++ b/kibicara-frontend/src/app/dashboard/board/board.component.scss @@ -3,9 +3,22 @@ } .dashboard { - margin: 10px; + margin-top: 0px; + margin-left: 10%; + margin-right: 10%; + margin-bottom: 2%; + @media (max-width: 600px) { + margin-left: 5%; + margin-right: 5%; + } } .back { color: grey; + margin-top: 0px; + margin-bottom: 0px; + margin-left: 10px; + @media (max-width: 600px) { + margin-left: 0; + } } diff --git a/kibicara-frontend/src/app/dashboard/hoods/hoods.component.scss b/kibicara-frontend/src/app/dashboard/hoods/hoods.component.scss index 08d432b..87348a3 100644 --- a/kibicara-frontend/src/app/dashboard/hoods/hoods.component.scss +++ b/kibicara-frontend/src/app/dashboard/hoods/hoods.component.scss @@ -11,8 +11,9 @@ } h1 { - font-size: 2.3125rem; line-height: 3rem; + font-size: 46px; + font-weight: 500; } p { diff --git a/kibicara-frontend/src/app/homepage/homepage.component.html b/kibicara-frontend/src/app/homepage/homepage.component.html index 1dc1d5a..0671adc 100644 --- a/kibicara-frontend/src/app/homepage/homepage.component.html +++ b/kibicara-frontend/src/app/homepage/homepage.component.html @@ -1 +1 @@ -

homepage works!

+ diff --git a/kibicara-frontend/src/app/homepage/homepage.component.ts b/kibicara-frontend/src/app/homepage/homepage.component.ts index 710ca29..374bd69 100644 --- a/kibicara-frontend/src/app/homepage/homepage.component.ts +++ b/kibicara-frontend/src/app/homepage/homepage.component.ts @@ -3,13 +3,12 @@ import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-homepage', templateUrl: './homepage.component.html', - styleUrls: ['./homepage.component.scss'] + styleUrls: ['./homepage.component.scss'], }) export class HomepageComponent implements OnInit { + title = 'Kibicara'; - constructor() { } - - ngOnInit(): void { - } + constructor() {} + ngOnInit(): void {} } diff --git a/kibicara-frontend/src/app/hoodpage/hoodpage.component.html b/kibicara-frontend/src/app/hoodpage/hoodpage.component.html index e636aab..faa37e9 100644 --- a/kibicara-frontend/src/app/hoodpage/hoodpage.component.html +++ b/kibicara-frontend/src/app/hoodpage/hoodpage.component.html @@ -1,6 +1,6 @@ +
-

Hood - {{ hood.name }}

-
+
diff --git a/kibicara-frontend/src/app/hoodpage/hoodpage.component.scss b/kibicara-frontend/src/app/hoodpage/hoodpage.component.scss index 27ddfd6..3eb37b8 100644 --- a/kibicara-frontend/src/app/hoodpage/hoodpage.component.scss +++ b/kibicara-frontend/src/app/hoodpage/hoodpage.component.scss @@ -1,8 +1,7 @@ .container { display: grid; - margin-left: 15%; - margin-right: 15%; - margin-top: 5%; + margin-left: 10%; + margin-right: 10%; margin-bottom: 5%; gap: 30px; } @@ -13,5 +12,5 @@ } .markdown { - margin-bottom: 50px; + margin-top: 20px; } diff --git a/kibicara-frontend/src/app/hoodspage/hoodspage.component.html b/kibicara-frontend/src/app/hoodspage/hoodspage.component.html index 99068ec..e9613d4 100644 --- a/kibicara-frontend/src/app/hoodspage/hoodspage.component.html +++ b/kibicara-frontend/src/app/hoodspage/hoodspage.component.html @@ -1,6 +1,7 @@ -