+
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 @@
-
+
+
search Search for hoods
diff --git a/kibicara-frontend/src/app/hoodspage/hoodspage.component.scss b/kibicara-frontend/src/app/hoodspage/hoodspage.component.scss
index c3435b1..33f0595 100644
--- a/kibicara-frontend/src/app/hoodspage/hoodspage.component.scss
+++ b/kibicara-frontend/src/app/hoodspage/hoodspage.component.scss
@@ -13,7 +13,7 @@
.page {
padding-left: 10%;
padding-right: 10%;
- padding-bottom: 10%;
+ margin-bottom: 5%;
}
.list {
diff --git a/kibicara-frontend/src/app/hoodspage/hoodspage.component.ts b/kibicara-frontend/src/app/hoodspage/hoodspage.component.ts
index 4eb25fe..e21275a 100644
--- a/kibicara-frontend/src/app/hoodspage/hoodspage.component.ts
+++ b/kibicara-frontend/src/app/hoodspage/hoodspage.component.ts
@@ -9,6 +9,7 @@ import { HoodsService } from '../core/api/api/hoods.service';
export class HoodspageComponent implements OnInit {
hoods$;
searchText: string;
+ title = 'Discover hoods';
constructor(private readonly hoodsService: HoodsService) {}
diff --git a/kibicara-frontend/src/app/organizerspage/organizerspage.component.html b/kibicara-frontend/src/app/organizerspage/organizerspage.component.html
index eb47177..0671adc 100644
--- a/kibicara-frontend/src/app/organizerspage/organizerspage.component.html
+++ b/kibicara-frontend/src/app/organizerspage/organizerspage.component.html
@@ -1 +1 @@
-organizerspage works!
+
diff --git a/kibicara-frontend/src/app/organizerspage/organizerspage.component.ts b/kibicara-frontend/src/app/organizerspage/organizerspage.component.ts
index 095220f..3242704 100644
--- a/kibicara-frontend/src/app/organizerspage/organizerspage.component.ts
+++ b/kibicara-frontend/src/app/organizerspage/organizerspage.component.ts
@@ -3,13 +3,12 @@ import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-organizerspage',
templateUrl: './organizerspage.component.html',
- styleUrls: ['./organizerspage.component.scss']
+ styleUrls: ['./organizerspage.component.scss'],
})
export class OrganizerspageComponent implements OnInit {
+ title = 'Hood administration';
- constructor() { }
-
- ngOnInit(): void {
- }
+ constructor() {}
+ ngOnInit(): void {}
}
diff --git a/kibicara-frontend/src/app/shared/heading-one/heading-one.component.html b/kibicara-frontend/src/app/shared/heading-one/heading-one.component.html
new file mode 100644
index 0000000..7941a6a
--- /dev/null
+++ b/kibicara-frontend/src/app/shared/heading-one/heading-one.component.html
@@ -0,0 +1 @@
+{{ title }}
diff --git a/kibicara-frontend/src/app/shared/heading-one/heading-one.component.scss b/kibicara-frontend/src/app/shared/heading-one/heading-one.component.scss
new file mode 100644
index 0000000..87c44c7
--- /dev/null
+++ b/kibicara-frontend/src/app/shared/heading-one/heading-one.component.scss
@@ -0,0 +1,14 @@
+.h1 {
+ background-color: #46277a;
+ height: 10%;
+ min-height: 70px;
+ padding-left: 10%;
+ padding-top: 5%;
+ color: white;
+ font-size: 46px;
+ font-weight: 500;
+ @media (max-width: 600px) {
+ padding-top: 10%;
+ font-size: 30px;
+ }
+}
diff --git a/kibicara-frontend/src/app/shared/heading-one/heading-one.component.ts b/kibicara-frontend/src/app/shared/heading-one/heading-one.component.ts
new file mode 100644
index 0000000..2071759
--- /dev/null
+++ b/kibicara-frontend/src/app/shared/heading-one/heading-one.component.ts
@@ -0,0 +1,14 @@
+import { Component, OnInit, Input } from '@angular/core';
+
+@Component({
+ selector: 'app-heading-one',
+ templateUrl: './heading-one.component.html',
+ styleUrls: ['./heading-one.component.scss'],
+})
+export class HeadingOneComponent implements OnInit {
+ @Input() title;
+
+ constructor() {}
+
+ ngOnInit(): void {}
+}
diff --git a/kibicara-frontend/src/app/shared/shared.module.ts b/kibicara-frontend/src/app/shared/shared.module.ts
index 6645dd2..04c3a2e 100644
--- a/kibicara-frontend/src/app/shared/shared.module.ts
+++ b/kibicara-frontend/src/app/shared/shared.module.ts
@@ -8,6 +8,7 @@ import { CommonModule } from '@angular/common';
import { Ng2SearchPipeModule } from 'ng2-search-filter';
import { YesNoDialogComponent } from './yes-no-dialog/yes-no-dialog.component';
import { OverlayComponent } from './overlay/overlay.component';
+import { HeadingOneComponent } from './heading-one/heading-one.component';
@NgModule({
declarations: [
@@ -15,6 +16,7 @@ import { OverlayComponent } from './overlay/overlay.component';
NotFoundComponent,
YesNoDialogComponent,
OverlayComponent,
+ HeadingOneComponent,
],
imports: [
MaterialModule,
@@ -27,6 +29,7 @@ import { OverlayComponent } from './overlay/overlay.component';
exports: [
ToolbarComponent,
NotFoundComponent,
+ HeadingOneComponent,
MaterialModule,
ReactiveFormsModule,
FormsModule,