Skip to content

Commit

Permalink
chore(angular): Naming convention cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Sep 18, 2024
1 parent 78202a4 commit f6d7654
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 58 deletions.
12 changes: 6 additions & 6 deletions packages/create-angular/src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Routes } from '@angular/router';

import { AppLayoutComponent } from './components/app-layout.component';
import { CellTowersViewComponent } from './components/views/cell-towers-view.component';
import { LoginViewComponent } from './components/views/login-view.component';
import { PopulationViewComponent } from './components/views/population-view.component';
import { LogoutViewComponent } from './components/views/logout-view.component';
import { NotFoundViewComponent } from './components/views/not-found-view.component';
import { AppLayoutComponent } from './components/AppLayout.component';
import { CellTowersViewComponent } from './components/views/CellTowersView.component';
import { LoginViewComponent } from './components/views/LoginView.component';
import { PopulationViewComponent } from './components/views/PopulationView.component';
import { LogoutViewComponent } from './components/views/LogoutView.component';
import { NotFoundViewComponent } from './components/views/NotFoundView.component';

/** Available paths (URLs) in the application. */
export const RoutePath = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { booleanAttribute, Component, Input } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'app-card',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { Layer } from '@deck.gl/core';
import { CardComponent } from './card.component';
import { CardCollapsibleComponent } from './card-collapsible.component';
import { CardCollapsibleComponent } from './CardCollapsible.component';

/**
* Layer list and visibility controller.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { colorCategories, VectorTileLayer } from '@deck.gl/carto';
import { vectorQuerySource, Filter } from '@carto/api-client';
import { CardComponent } from '../card.component';
import { LayersComponent } from '../layers.component';
import { CardCollapsibleComponent } from '../card-collapsible.component';
import { CardCollapsibleComponent } from '../CardCollapsible.component';

const MAP_STYLE =
'https://basemaps.cartocdn.com/gl/positron-nolabels-gl-style/style.json';
Expand All @@ -28,7 +28,7 @@ const RADIO_COLORS: AccessorFunction<unknown, Color> = colorCategories({
* Example application page, showing world-wide cell towers and a few widgets.
*/
@Component({
selector: 'app-cell-towers-view',
selector: 'cell-towers-view',
standalone: true,
imports: [CardComponent, CardCollapsibleComponent, LayersComponent],
host: { class: 'container' },
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Component } from '@angular/core';

@Component({
selector: 'login-view',
standalone: true,
imports: [],
template: ` <p>login-view works!</p> `,
})
export class LoginViewComponent {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Component } from '@angular/core';

@Component({
selector: 'logout-view',
standalone: true,
imports: [],
template: ` <p>logout-view works!</p> `,
})
export class LogoutViewComponent {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Component } from '@angular/core';

@Component({
selector: 'not-found-view',
standalone: true,
imports: [],
template: ` <p>not-found-view works!</p> `,
})
export class NotFoundViewComponent {}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-population-view',
selector: 'population-view',
standalone: true,
imports: [],
host: { class: 'container' },
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion packages/create-angular/src/styles.css

This file was deleted.

0 comments on commit f6d7654

Please sign in to comment.