Skip to content

Commit

Permalink
Merge pull request #42 from Pedrolustosa/developer
Browse files Browse the repository at this point in the history
feat: add Header and Footer components, and move Nav component to _sh…
  • Loading branch information
Pedrolustosa authored Oct 12, 2024
2 parents d2e1df2 + fe30aca commit 1556c96
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 3 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>footer works!</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-footer',
standalone: true,
imports: [],
templateUrl: './footer.component.html',
styleUrl: './footer.component.css'
})
export class FooterComponent {

}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>header works!</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-header',
standalone: true,
imports: [],
templateUrl: './header.component.html',
styleUrl: './header.component.css'
})
export class HeaderComponent {

}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Component, inject } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AccountService } from '../_services/account.service';
import { AccountService } from '../../_services/account.service';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { Router, RouterLink, RouterLinkActive } from '@angular/router';
import { ToastrService } from 'ngx-toastr';
import { HasRoleDirective } from '../_directives/has-role.directive';
import { HasRoleDirective } from '../../_directives/has-role.directive';

@Component({
selector: 'app-nav',
Expand Down
2 changes: 1 addition & 1 deletion Front/FinanceTracker.Client/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, inject, OnInit } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { NavComponent } from './nav/nav.component';
import { NavComponent } from './_shared/nav/nav.component';
import { AccountService } from './_services/account.service';
import { HomeComponent } from "./home/home.component";
import { NgxSpinnerComponent } from 'ngx-spinner';
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>dashboard works!</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-dashboard',
standalone: true,
imports: [],
templateUrl: './dashboard.component.html',
styleUrl: './dashboard.component.css'
})
export class DashboardComponent {

}

0 comments on commit 1556c96

Please sign in to comment.