-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Romuald Caplier
committed
Aug 20, 2024
1 parent
c90e4f2
commit b102a6c
Showing
14 changed files
with
97 additions
and
37 deletions.
There are no files selected for viewing
40 changes: 23 additions & 17 deletions
40
libs/feature/editor/src/lib/components/contact-card/contact-card.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
<ng-container *ngIf="organization && contact"> | ||
<div | ||
class="flex flex-row border border-gray-200 bg-gray-50 rounded-xl p-4 gap-4" | ||
> | ||
<img [src]="organization.logoUrl" class="w-[56px] h-[56px] rounded-[4px]" /> | ||
<div class="flex flex-col w-full"> | ||
<div class="flex flex-row justify-between"> | ||
<span class="flex flex-wrap font-bold w-full" | ||
>{{ contact.firstName }} {{ contact.lastName }}</span | ||
> | ||
<gn-ui-button | ||
data-test="removeContactButton" | ||
type="light" | ||
extraClass="w-[20px] h-[20px] flex items-center justify-center" | ||
(buttonClick)="removeContact(contact)" | ||
><span class="text-[14px] leading-[0] font-bold">✕</span> | ||
</gn-ui-button> | ||
<div class="flex flex-row gap-4 items-center"> | ||
<div | ||
class="flex flex-row border border-gray-200 rounded-xl p-4 gap-4 w-full" | ||
> | ||
<img | ||
[src]="organization.logoUrl" | ||
class="w-[56px] h-[56px] rounded-[4px]" | ||
/> | ||
<div class="flex flex-col w-full"> | ||
<div class="flex flex-row justify-between"> | ||
<span class="flex flex-wrap font-bold w-full" | ||
>{{ contact.firstName }} {{ contact.lastName }}</span | ||
> | ||
</div> | ||
<div>{{ contact.email }}</div> | ||
</div> | ||
<div>{{ contact.email }}</div> | ||
</div> | ||
<gn-ui-button | ||
*ngIf="removable" | ||
data-test="removeContactButton" | ||
type="light" | ||
extraClass="w-[20px] h-[20px] flex items-center justify-center" | ||
(buttonClick)="removeContact(contact)" | ||
><span class="material-symbols-outlined"> close </span> | ||
</gn-ui-button> | ||
</div> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters