<!-- Copy Link Button -->
@if (showCopyLinkButton()) {
	@if (isMobile()) {
		<!-- It will appear inside of a menu on mobile view -->
		<button id="copy-speaker-link" mat-menu-item (click)="onCopyLinkClick()" [disableRipple]="true">
			<mat-icon>link</mat-icon>
			<span class="button-text">{{ copyLinkText }}</span>
		</button>
	} @else {
		<!-- It will appear as an icon button on desktop view -->
		<button
			id="copy-speaker-link"
			mat-icon-button
			(click)="onCopyLinkClick()"
			[disableRipple]="true"
			[matTooltip]="copyLinkTooltip"
		>
			<mat-icon>link</mat-icon>
		</button>
	}
}
