Move load and navbar to shared directory

This commit is contained in:
everoddandeven 2024-09-24 00:48:29 +02:00
parent 57a37ff521
commit 696d0b5c86
21 changed files with 16 additions and 16 deletions

View file

@ -15,9 +15,9 @@ import { HomeModule } from './pages/home/home.module';
import { DetailModule } from './pages/detail/detail.module';
import { AppComponent } from './app.component';
import { LoadComponent } from "./load/load.component";
import { LoadComponent } from "./shared/components/load/load.component";
import { BansModule } from './pages/bans/bans.module';
import { NavbarComponent } from "./navbar/navbar.component";
import { NavbarComponent } from "./shared/components/navbar/navbar.component";
import { MiningModule } from './pages/mining/mining.module';
import { TransactionsModule } from './pages/transactions/transactions.module';
import { OutputsModule } from './pages/outputs/outputs.module';

View file

@ -1,6 +1,6 @@
import { AfterViewInit, Component } from '@angular/core';
import { NavigationEnd, Router } from '@angular/router';
import { NavbarService } from '../../navbar/navbar.service';
import { NavbarService } from '../../shared/components/navbar/navbar.service';
import { DaemonService } from '../../core/services/daemon/daemon.service';
@Component({

View file

@ -2,8 +2,8 @@ import { Component, OnInit, AfterViewInit, NgZone, OnDestroy } from '@angular/co
import { DaemonService } from '../../core/services/daemon/daemon.service';
import { SyncInfo } from '../../../common/SyncInfo';
import { Peer } from '../../../common/Peer';
import { NavbarLink } from '../../navbar/navbar.model';
import { NavbarService } from '../../navbar/navbar.service';
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
import { NavbarService } from '../../shared/components/navbar/navbar.service';
import { NavigationEnd, Router } from '@angular/router';
import { DaemonInfo } from '../../../common/DaemonInfo';

View file

@ -5,7 +5,7 @@ import { DetailRoutingModule } from './detail-routing.module';
import { DetailComponent } from './detail.component';
import { SharedModule } from '../../shared/shared.module';
import { LoadComponent } from "../../load/load.component";
import { LoadComponent } from "../../shared/components/load/load.component";
@NgModule({
declarations: [DetailComponent],

View file

@ -1,7 +1,7 @@
import { AfterViewInit, Component } from '@angular/core';
import { DaemonService } from '../../core/services/daemon/daemon.service';
import { NavigationEnd, Router } from '@angular/router';
import { NavbarService } from '../../navbar/navbar.service';
import { NavbarService } from '../../shared/components/navbar/navbar.service';
@Component({
selector: 'app-hard-fork-info',

View file

@ -1,9 +1,9 @@
import { AfterViewInit, Component } from '@angular/core';
import { DaemonService } from '../../core/services/daemon/daemon.service';
import { NavbarService } from '../../navbar/navbar.service';
import { NavbarService } from '../../shared/components/navbar/navbar.service';
import { MinerData } from '../../../common/MinerData';
import { NavigationEnd, Router } from '@angular/router';
import { NavbarLink } from '../../navbar/navbar.model';
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
import { MineableTxBacklog } from '../../../common/MineableTxBacklog';
import { Chain } from '../../../common/Chain';
import { CoreIsBusyError } from '../../../common/error';

View file

@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
import { MiningRoutingModule } from './mining-routing.module';
import { SharedModule } from '../../shared/shared.module';
import { LoadComponent } from '../../load/load.component';
import { LoadComponent } from '../../shared/components/load/load.component';
import { MiningComponent } from './mining.component';

View file

@ -1,7 +1,7 @@
import { AfterViewInit, Component } from '@angular/core';
import { NavbarLink } from '../../navbar/navbar.model';
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
import { DaemonService } from '../../core/services/daemon/daemon.service';
import { NavbarService } from '../../navbar/navbar.service';
import { NavbarService } from '../../shared/components/navbar/navbar.service';
@Component({
selector: 'app-outputs',

View file

@ -1,7 +1,7 @@
import { AfterViewInit, Component } from '@angular/core';
import { NavbarService } from '../../navbar/navbar.service';
import { NavbarService } from '../../shared/components/navbar/navbar.service';
import { NavigationEnd, NavigationStart, Router } from '@angular/router';
import { NavbarLink } from '../../navbar/navbar.model';
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
@Component({
selector: 'app-settings',

View file

@ -1,7 +1,7 @@
import { AfterViewInit, Component } from '@angular/core';
import { DaemonService } from '../../core/services/daemon/daemon.service';
import { NavbarService } from '../../navbar/navbar.service';
import { NavbarLink } from '../../navbar/navbar.model';
import { NavbarService } from '../../shared/components/navbar/navbar.service';
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
@Component({
selector: 'app-transactions',