Initial setup ontvlambaar
This commit is contained in:
3
src/app/hero/hero.component.html
Normal file
3
src/app/hero/hero.component.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<span>logo</span>
|
||||
<h1>Ontvlambaar</h1>
|
||||
<span class="slogan">Jullie het vuur, wij de branding</span>
|
||||
11
src/app/hero/hero.component.scss
Normal file
11
src/app/hero/hero.component.scss
Normal file
@@ -0,0 +1,11 @@
|
||||
:host {
|
||||
height: 30rem;
|
||||
min-height: 30rem;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.slogan {
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
23
src/app/hero/hero.component.spec.ts
Normal file
23
src/app/hero/hero.component.spec.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { HeroComponent } from './hero.component';
|
||||
|
||||
describe('HeroComponent', () => {
|
||||
let component: HeroComponent;
|
||||
let fixture: ComponentFixture<HeroComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [HeroComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(HeroComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
12
src/app/hero/hero.component.ts
Normal file
12
src/app/hero/hero.component.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-hero',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './hero.component.html',
|
||||
styleUrl: './hero.component.scss'
|
||||
})
|
||||
export class HeroComponent {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user