Skip to content

Commit 7f96010

Browse files
2 parents 900c14a + 02df9d5 commit 7f96010

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [1.0.6]
4+
5+
### Fixed
6+
- Fix links in settings
7+
38
## [1.0.5]
49

510
- Updated documentation

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-material-admin",
3-
"version": "1.0.3",
3+
"version": "1.0.6",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

src/app/shared/settings-menu/settings-menu.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
</div>
2121

2222
<div class="buttons-wrapper">
23-
<button mat-flat-button color="success" class="button">buy</button>
24-
<button mat-flat-button color="primary" class="button">documentation</button>
23+
<a mat-raised-button color="success" target="_blank" href="https://flatlogic.com/templates/angular-material-admin-full">BUY</a>
24+
<a mat-raised-button color="primary" routerLink="{{routes.OVERVIEW}}">DOCUMENTATION</a>
2525
</div>
2626
</div>
2727
</mat-menu>

src/app/shared/settings-menu/settings-menu.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@
6262
text-transform: uppercase;
6363
}
6464

65-
button + button {
65+
a + a {
6666
margin-top: 24px;
6767
}

src/app/shared/settings-menu/settings-menu.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import {Component, EventEmitter, Output} from '@angular/core';
2+
import {routes} from '../../consts/routes';
23

34
@Component({
45
selector: 'app-settings-menu-app',
56
templateUrl: './settings-menu.component.html',
67
styleUrls: ['./settings-menu.component.scss']
78
})
89
export class SettingsMenuAppComponent {
10+
public routes: typeof routes = routes;
11+
912
@Output() themeOnBlue: EventEmitter<boolean> = new EventEmitter<boolean>();
1013
@Output() themeOnPink: EventEmitter<boolean> = new EventEmitter<boolean>();
1114
@Output() themeOnGreen: EventEmitter<boolean> = new EventEmitter<boolean>();

0 commit comments

Comments
 (0)