Skip to content

Commit

Permalink
feat(demo): add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Jun 16, 2021
1 parent 39a6bfc commit 57bce4e
Show file tree
Hide file tree
Showing 17 changed files with 317 additions and 6 deletions.
191 changes: 189 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"@types/systemjs": "^6.1.0",
"highlight.js": "^10.2.1",
"ngx-highlightjs": "^4.1.1",
"ngx-markdown": "^12.0.1",
"rxjs": "^6.6.3",
"tslib": "^2.2.0",
"zone.js": "~0.11.4"
Expand All @@ -66,13 +67,13 @@
"@angular-eslint/builder": "12.0.0",
"@angular-eslint/eslint-plugin": "12.0.0",
"@angular-eslint/eslint-plugin-template": "12.0.0",
"@angular-eslint/schematics": "^12.1.0",
"@angular-eslint/template-parser": "12.0.0",
"@angular/cli": "^12.0.0",
"@angular/compiler-cli": "^12.0.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jasmine": "~3.5.14",
"@types/node": "~14.11.2",
"@typescript-eslint/eslint-plugin": "4.23.0",
"@typescript-eslint/parser": "4.23.0",
"all-contributors-cli": "^6.17.4",
Expand Down
7 changes: 7 additions & 0 deletions projects/elements-demo/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ const routes: Routes = [
(m) => m.ContributeModule
),
},
{
path: 'changelog',
loadChildren: () =>
import('./features/changelog/changelog.module').then(
(m) => m.ChangelogModule
),
},
{
path: '**',
redirectTo: 'home',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<span>© {{ year }} 📆</span>
<span>© {{ year }}</span>
<a
mat-icon-button
class="signature"
Expand All @@ -9,4 +9,4 @@
<img src="assets/tomastrajan.png" alt="Tomas Trajan" />
@tomastrajan
</a>
<span>🚀 {{ version }}</span>
<span>{{ version }}</span>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

img {
border: 1px solid mat.get-color-from-palette($foreground, text);
box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ const NAVIGATION = [
label: 'CONTRIBUTE',
url: 'contribute',
},
{
label: 'CHANGELOG',
url: 'changelog',
},
];

@Component({
Expand Down
Loading

0 comments on commit 57bce4e

Please sign in to comment.