Skip to content

Commit

Permalink
refactor(deploy): update routes and path
Browse files Browse the repository at this point in the history
  • Loading branch information
lperezp committed Apr 5, 2024
1 parent ffa9da3 commit d84ea2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import { provideRouter, withHashLocation } from '@angular/router';
import { routes } from './app.routes';

export const appConfig: ApplicationConfig = {
providers: [provideRouter(routes, withHashLocation())]
providers: [provideRouter(routes)]
};
6 changes: 1 addition & 5 deletions src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ import { HomePageComponent } from './pages/home-page/home-page.component';

export const routes: Routes = [{
path: '',
redirectTo: '/',
pathMatch: 'full',
}, {
path: '/',
component: HomePageComponent,
}, {
path: '**',
redirectTo: 'home',
redirectTo: '',
pathMatch: 'full',
}];
2 changes: 1 addition & 1 deletion src/app/pages/home-page/home-page.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
margin-bottom: 48px;

.top__content {
background-image: url('/assets/img/nazca.svg');
background-image: url('../../../assets/img/nazca.svg');
background-repeat: no-repeat;
background-position: right top;
width: 100%;
Expand Down

0 comments on commit d84ea2b

Please sign in to comment.