diff --git a/src/app/components/main-header/main-header.html b/src/app/components/main-header/main-header.html new file mode 100644 index 0000000..5c50e32 --- /dev/null +++ b/src/app/components/main-header/main-header.html @@ -0,0 +1,8 @@ +
diff --git a/src/app/components/main-header/main-header.scss b/src/app/components/main-header/main-header.scss new file mode 100644 index 0000000..fad88cb --- /dev/null +++ b/src/app/components/main-header/main-header.scss @@ -0,0 +1,28 @@ +.bar-container { + background-color: var(--primaryDark); + width: 100%; + + &__elements { + position: relative; + display: flex; + flex-direction: column; + margin: auto; + max-width: 1100px; + } + + &__title { + display: flex; + justify-content: center; + } + + &__action-button { + display: flex; + flex-direction: column; + height: 100%; + justify-content: center; + &--left { + position: absolute; + } + } + +} diff --git a/src/app/components/main-header/main-header.spec.ts b/src/app/components/main-header/main-header.spec.ts new file mode 100644 index 0000000..69a1dfd --- /dev/null +++ b/src/app/components/main-header/main-header.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MainHeader } from './main-header'; + +describe('MainHeader', () => { + let component: MainHeader; + let fixture: ComponentFixture