Skip to content

Commit

Permalink
chore(demo): add link to browserslist
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Mar 22, 2024
1 parent 905b96e commit bf699fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import {NgFor, NgIf} from '@angular/common';
import {ChangeDetectionStrategy, Component} from '@angular/core';
import {TuiDocPageModule} from '@taiga-ui/addon-doc';
import {TuiLinkModule, TuiNotificationModule} from "@taiga-ui/core";

@Component({
standalone: true,
selector: 'browser-support',
imports: [TuiDocPageModule, NgFor, NgIf],
imports: [TuiDocPageModule, NgFor, NgIf, TuiNotificationModule, TuiLinkModule],
templateUrl: './browsers.template.html',
styles: ['td {width: 18.75rem}'],
changeDetection: ChangeDetectionStrategy.OnPush,
Expand Down
10 changes: 10 additions & 0 deletions projects/demo/src/modules/info/browsers/browsers.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ <h2 class="tui-text_h4 tui-space_top-6 tui-space_bottom-3">Mobile</h2>
</tr>
</tbody>
</table>

<tui-notification class="tui-space_top-3">
See our
<a
href="https://github.com/taiga-family/linters/blob/main/projects/browserslist-config/index.js"
tuiLink
>
browserslist config
</a>
</tui-notification>
</tui-doc-page>

<ng-template #notSupported>
Expand Down

0 comments on commit bf699fa

Please sign in to comment.