[faucet] polish code and UX - Move Twitter login component into FOSS

This commit is contained in:
nymkappa
2024-05-17 20:32:43 +02:00
parent 0279fe69d4
commit 6b16b2d651
8 changed files with 158 additions and 124 deletions

View File

@@ -0,0 +1,6 @@
<a href="#" (click)="twitterLogin()"
[class]="(disabled ? 'disabled': '') + (customClass ? customClass : 'w-100 btn mt-1 d-flex justify-content-center align-items-center')"
style="background-color: #1DA1F2" [style]="width ? 'width: ' + width : ''">
<img src="./resources/twitter.svg" height="25" style="padding: 2px" [alt]="buttonString + ' with Twitter'" />
<span class="ml-2 text-light">{{ buttonString }}</span>
</a>