Skip to content

Commit

Permalink
Redesign the Facility Details Page (#10380)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 authored Feb 20, 2025
1 parent e250548 commit ba6b0fc
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 186 deletions.
1 change: 1 addition & 0 deletions public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,7 @@
"edit_caution_note": "A new prescription will be added to the consultation with the edited details and the current prescription will be discontinued.",
"edit_cover_photo": "Edit Cover Photo",
"edit_facility": "Edit Facility",
"edit_facility_details": "Edit Facility Details",
"edit_history": "Edit History",
"edit_location": "Edit Location",
"edit_location_description": "Edit the Location to make any changes",
Expand Down
10 changes: 2 additions & 8 deletions src/components/Common/ContactLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@ type ContactLinkProps =
export default function ContactLink(props: ContactLinkProps) {
return (
<div>
<a
href={props.tel ? `tel:${props.tel}` : `mailto:${props.mailto}`}
className="flex items-center gap-2 border-b border-blue-500 text-base font-medium tracking-wider text-blue-500"
>
<CareIcon
icon={props.tel ? "l-outgoing-call" : "l-envelope-alt"}
className="h-5 fill-secondary-700"
/>
<a href={props.tel ? `tel:${props.tel}` : `mailto:${props.mailto}`}>
<CareIcon icon={props.tel ? "l-outgoing-call" : "l-envelope-alt"} />
{props.tel ? props.tel : props.mailto}
</a>
</div>
Expand Down
Loading

0 comments on commit ba6b0fc

Please sign in to comment.