mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 13:16:16 -08:00
Adds the building blocks of the redesigned VOD details and dashboard hero: a pill meta chip, the light primary button with a two-line label, a 44px ghost icon button with tooltip, the right-aligned "…" dropdown menu that flips upward and hosts the alternative-sources panel, hero credits plus a Cast & crew row, a horizontal rail with prev/next arrows, a Similar rail and the trailer modal. Shared detail utilities (season suffix, remaining time, duration, short country names) move to portal/shared/util, with the new CTA and rating theme tokens and the i18n keys for all locales. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
20 lines
655 B
HTML
20 lines
655 B
HTML
<button
|
|
type="button"
|
|
class="play-btn"
|
|
[class.play-btn--launching]="state() === 'launching'"
|
|
[class.play-btn--stop]="state() === 'stop'"
|
|
[class.play-btn--two-line]="!!meta()"
|
|
[disabled]="disabled()"
|
|
[attr.data-testid]="testId()"
|
|
[attr.aria-busy]="state() === 'launching' ? 'true' : null"
|
|
(click)="pressed.emit()"
|
|
>
|
|
<mat-icon class="play-btn__icon" aria-hidden="true">{{ icon() }}</mat-icon>
|
|
<span class="play-btn__copy">
|
|
<span class="play-btn__label">{{ label() }}</span>
|
|
@if (meta(); as metaLine) {
|
|
<span class="play-btn__meta">{{ metaLine }}</span>
|
|
}
|
|
</span>
|
|
</button>
|