diff --git a/.changeset/stale-tables-nail.md b/.changeset/stale-tables-nail.md new file mode 100644 index 0000000000..926aea82ad --- /dev/null +++ b/.changeset/stale-tables-nail.md @@ -0,0 +1,5 @@ +--- +"learn-card-app": patch +--- + +chore: [LC-1476] Open trusted issuer links in in-app browser on native diff --git a/apps/learn-card-app/src/components/boost/boostCMS/BoostPreview/CredentialIssuerInformation.tsx b/apps/learn-card-app/src/components/boost/boostCMS/BoostPreview/CredentialIssuerInformation.tsx index ebb566fc67..f388aa09ad 100644 --- a/apps/learn-card-app/src/components/boost/boostCMS/BoostPreview/CredentialIssuerInformation.tsx +++ b/apps/learn-card-app/src/components/boost/boostCMS/BoostPreview/CredentialIssuerInformation.tsx @@ -4,6 +4,7 @@ import { useKnownDIDRegistry } from 'learn-card-base/hooks/useRegistry'; import CredentialVerificationDisplay from 'learn-card-base/components/CredentialBadge/CredentialVerificationDisplay'; import { useGetVCInfo } from 'learn-card-base'; +import { openExternalLink } from '../../../../helpers/externalLinkHelpers'; import { VC } from '@learncard/types'; @@ -45,14 +46,16 @@ const CredentialIssuerInformation: React.FC = A trusted verifier is an organization that has been officially vetted by a community of peers to reliably confirm that a person's skills, experiences, and credentials are authentic.{' '} - + openExternalLink( + 'https://docs.learncard.com/core-concepts/identities-and-keys/trust-registries' + ) + } className="text-indigo-500 font-poppins text-[14px] font-[600] underline" - target="_blank" - rel="noopener noreferrer" > Learn More - +

@@ -68,14 +71,12 @@ const CredentialIssuerInformation: React.FC = )} {url && ( - openExternalLink(url)} className="text-indigo-500 font-poppins text-[14px] underline line-clamp-1" - target="_blank" - rel="noopener noreferrer" > {url} - + )} @@ -94,14 +95,12 @@ const CredentialIssuerInformation: React.FC =

Credential Engine URL

- openExternalLink(credentialEngineUrl)} className="text-[14px] font-poppins text-indigo-500 underline" - target="_blank" - rel="noopener noreferrer" > {credentialEngineUrl} - + )}