refactor: change projection and anchor navigation

This commit is contained in:
thomas
2024-05-11 07:59:40 +02:00
parent bf4509de86
commit 216d485c53
59 changed files with 31 additions and 31 deletions

View File

@@ -0,0 +1,17 @@
/* eslint-disable @angular-eslint/component-selector */
import { Component, Input } from '@angular/core';
@Component({
selector: 'nav-button',
standalone: true,
template: `
<a [href]="href">
<ng-content></ng-content>
</a>
`,
host: {
class: 'block w-fit border border-red-500 rounded-md p-4 m-2',
},
})
export class NavButtonComponent {
@Input() href = '';
}