Skip to content

Commit

Permalink
feat: update to Angular 11 (#2611)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Dec 11, 2020
1 parent 6edfaf5 commit 847bc99
Show file tree
Hide file tree
Showing 47 changed files with 4,144 additions and 3,630 deletions.
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@
"main": "docs/main.ts",
"tsConfig": "docs/tsconfig.app.json",
"polyfills": "docs/polyfills.ts",
"rebaseRootRelativeCssUrls": true,
"assets": [
"docs/assets",
"docs/404.html",
Expand Down
2 changes: 1 addition & 1 deletion docs/app/@theme/components/hero/hero.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
}

.hero-components {
background-image: url('/assets/img/hero-components.svg');
background-image: url('../../../../assets/img/hero-components.svg');
background-repeat: no-repeat;
background-size: cover;
width: 46rem;
Expand Down
2 changes: 1 addition & 1 deletion docs/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const docs = require('../output.json');
NbThemeModule.forRoot(),
NgdThemeModule.forRoot(),
NbSidebarModule.forRoot(),
RouterModule.forRoot(routes, { useHash: false }),
RouterModule.forRoot(routes, { useHash: false, relativeLinkResolution: 'legacy' }),
],
declarations: [
NgdAppComponent,
Expand Down
2 changes: 1 addition & 1 deletion docs/app/home/home.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.hero-image {
overflow: hidden;
background-color: #3366ff;
background-image: url('/assets/img/bg.svg');
background-image: url('../../assets/img/bg.svg');
background-repeat: no-repeat;
background-size: cover;
.content-center {
Expand Down
Loading

0 comments on commit 847bc99

Please sign in to comment.