diff --git a/src/app/search-card/search-card.component.css b/src/app/search-card/search-card.component.css
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/search-card/search-card.component.html b/src/app/search-card/search-card.component.html
new file mode 100644
index 0000000..b3ec420
--- /dev/null
+++ b/src/app/search-card/search-card.component.html
@@ -0,0 +1,4 @@
+
+ Search Your Trip
+ Here search bar
+
diff --git a/src/app/card-dashboard/card-dashboard.component.spec.ts b/src/app/search-card/search-card.component.spec.ts
similarity index 53%
rename from src/app/card-dashboard/card-dashboard.component.spec.ts
rename to src/app/search-card/search-card.component.spec.ts
index d74379c..58995d7 100644
--- a/src/app/card-dashboard/card-dashboard.component.spec.ts
+++ b/src/app/search-card/search-card.component.spec.ts
@@ -1,20 +1,20 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
-import { CardDashboardComponent } from './card-dashboard.component';
+import { SearchCardComponent } from './search-card.component';
-describe( 'CardDashboardComponent', () => {
- let component: CardDashboardComponent;
- let fixture: ComponentFixture
;
+describe( 'SearchCardComponent', () => {
+ let component: SearchCardComponent;
+ let fixture: ComponentFixture;
beforeEach( async( () => {
TestBed.configureTestingModule( {
- declarations: [ CardDashboardComponent ]
+ declarations: [ SearchCardComponent ]
} )
.compileComponents();
} ) );
beforeEach( () => {
- fixture = TestBed.createComponent( CardDashboardComponent );
+ fixture = TestBed.createComponent( SearchCardComponent );
component = fixture.componentInstance;
fixture.detectChanges();
} );
diff --git a/src/app/search-card/search-card.component.ts b/src/app/search-card/search-card.component.ts
new file mode 100644
index 0000000..ecd5d5f
--- /dev/null
+++ b/src/app/search-card/search-card.component.ts
@@ -0,0 +1,18 @@
+import { Component, Input, OnInit } from '@angular/core';
+
+@Component( {
+ selector: 'app-search-card',
+ templateUrl: './search-card.component.html',
+ styleUrls: [ './search-card.component.css' ]
+} )
+export class SearchCardComponent implements OnInit {
+
+ @Input() public position: string;
+
+ constructor() {
+ }
+
+ ngOnInit() {
+ }
+
+}
diff --git a/src/styles.css b/src/styles.css
index 833ba98..0585c52 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -13,7 +13,7 @@ body {
}
/* For specific CSS */
-app-header .mat-fab .mat-button-wrapper {
+app-root .mat-fab .mat-button-wrapper {
line-height: normal;
padding: 0;
}
@@ -22,7 +22,6 @@ app-header .mat-fab .mat-button-wrapper {
max-width: 1280px;
margin: auto;
box-sizing: border-box;
- padding: 0 10px;
width: 100%;
min-height: 80%;
}