Skip to content

Commit

Permalink
added poi-infobox component
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriziopiu committed May 13, 2023
1 parent 36b05c7 commit 70d85cf
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/app/app.module.ts
Expand Up @@ -12,9 +12,10 @@ import { MatCardModule } from '@angular/material/card';
import { MatExpansionModule } from '@angular/material/expansion';
import { MatButtonModule } from '@angular/material/button';
import { MapComponent } from './map/map.component';
import { PoiInfoboxComponent } from './poi-infobox/poi-infobox.component';

@NgModule({
declarations: [AppComponent, HomeComponent, MapComponent],
declarations: [AppComponent, HomeComponent, MapComponent, PoiInfoboxComponent],
imports: [
BrowserModule,
AppRoutingModule,
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/poi-infobox/poi-infobox.component.html
@@ -0,0 +1 @@
<p>poi-infobox works!</p>
Empty file.
21 changes: 21 additions & 0 deletions frontend/src/app/poi-infobox/poi-infobox.component.spec.ts
@@ -0,0 +1,21 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { PoiInfoboxComponent } from './poi-infobox.component';

describe('PoiInfoboxComponent', () => {
let component: PoiInfoboxComponent;
let fixture: ComponentFixture<PoiInfoboxComponent>;

beforeEach(() => {
TestBed.configureTestingModule({
declarations: [PoiInfoboxComponent]
});
fixture = TestBed.createComponent(PoiInfoboxComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
10 changes: 10 additions & 0 deletions frontend/src/app/poi-infobox/poi-infobox.component.ts
@@ -0,0 +1,10 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-poi-infobox',
templateUrl: './poi-infobox.component.html',
styleUrls: ['./poi-infobox.component.scss']
})
export class PoiInfoboxComponent {

}

0 comments on commit 70d85cf

Please sign in to comment.