Skip to content

Commit

Permalink
Move components to components directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamas Cseh committed Jan 18, 2021
1 parent 738d92c commit d6036d5
Show file tree
Hide file tree
Showing 29 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions projects/rf2-better-ui/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { ApplicationRef, DoBootstrap, Injector, NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';

import { createCustomElement } from '@angular/elements';
import { RfButtonComponent } from './rf-button/rf-button.component';
import { ChatComponent } from './chat/chat.component';
import { BetterUiComponent } from './better-ui/better-ui.component';
import { StartHandlerComponent } from './start-handler/start-handler.component';
import { RaceHandlerComponent } from './race-handler/race-handler.component';
import { GarageHandlerComponent } from './garage-handler/garage-handler.component';
import { EventHandlerComponent } from './event-handler/event-handler.component';
import { SessionsHandlerComponent } from './sessions-handler/sessions-handler.component';
import { MultiplayerHandlerComponent } from './multiplayer-handler/multiplayer-handler.component';
import { RfButtonComponent } from './components/rf-button/rf-button.component';
import { ChatComponent } from './components/chat/chat.component';
import { BetterUiComponent } from './components/better-ui/better-ui.component';
import { StartHandlerComponent } from './components/start-handler/start-handler.component';
import { RaceHandlerComponent } from './components/race-handler/race-handler.component';
import { GarageHandlerComponent } from './components/garage-handler/garage-handler.component';
import { EventHandlerComponent } from './components/event-handler/event-handler.component';
import { SessionsHandlerComponent } from './components/sessions-handler/sessions-handler.component';
import { MultiplayerHandlerComponent } from './components/multiplayer-handler/multiplayer-handler.component';

@NgModule({
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { version } from '../../../../../package.json';
import { version } from '../../../../../../package.json';

@Component({
selector: 'rf-better-ui',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
import { waitForElement } from '../utils/utils';
import { waitForElement } from '../../utils/utils';

@Component({
selector: 'rf-event-handler',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, HostListener, OnInit, ViewEncapsulation } from '@angular/core';
import { arrowNavigation, waitForElement } from '../utils/utils';
import { arrowNavigation, waitForElement } from '../../utils/utils';
import { HttpClient } from '@angular/common/http';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { waitForElement } from '../utils/utils';
import { waitForElement } from '../../utils/utils';

@Component({
selector: 'rf-multiplayer-handler',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, HostListener, OnInit, ViewEncapsulation } from '@angular/core';
import { arrowNavigation, waitForElement } from '../utils/utils';
import { arrowNavigation, waitForElement } from '../../utils/utils';

@Component({
selector: 'rf-race-handler',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "projects/rf2-better-ui/src/scss/common-styles" as common;
@use "../../../scss/common-styles" as common;

.primary {
background: #000000;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, HostListener, OnInit, ViewEncapsulation } from '@angular/core';
import { arrowNavigation } from '../utils/utils';
import { arrowNavigation } from '../../utils/utils';

@Component({
selector: 'rf-start-handler',
Expand Down

0 comments on commit d6036d5

Please sign in to comment.