feat(docs): move enterprise-connector attribute from header div to H1 element (#66222)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: ian.alton@airbyte.io <ian.alton@airbyte.io>
This commit is contained in:
committed by
GitHub
parent
67891c9fb2
commit
574ae045cb
@@ -334,10 +334,10 @@ const ConnectorMetadataCallout = ({
|
||||
</Callout>
|
||||
);
|
||||
|
||||
const ConnectorTitle = ({ iconUrl, originalTitle, isArchived }) => (
|
||||
const ConnectorTitle = ({ iconUrl, originalTitle, isArchived, enterpriseConnector }) => (
|
||||
<div className={styles.header}>
|
||||
<img src={iconUrl} alt="" className={styles.connectorIcon} />
|
||||
<h1>
|
||||
<h1 data-enterprise-connector={enterpriseConnector}>
|
||||
{isArchived ? (
|
||||
<span>
|
||||
{originalTitle} <span style={{ color: "gray" }}>[ARCHIVED]</span>
|
||||
@@ -377,12 +377,12 @@ export const HeaderDecoration = ({
|
||||
<>
|
||||
<div
|
||||
className={styles.connectorHeader}
|
||||
data-enterprise-connector={enterpriseConnector}
|
||||
>
|
||||
<ConnectorTitle
|
||||
iconUrl={iconUrl}
|
||||
originalTitle={originalTitle}
|
||||
isArchived={isArchived}
|
||||
enterpriseConnector={enterpriseConnector}
|
||||
/>
|
||||
<CopyPageButton />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user