fix preview links (#1629)

* fix preview links

* fix preview links
This commit is contained in:
sunghyunkang1111 2023-09-27 19:59:33 -05:00 committed by GitHub
parent 0a06c1c4f6
commit dfdb44bdc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 6 deletions

View File

@ -60,7 +60,9 @@ export const WelcomeModal = ({ visible }: { visible: boolean }): JSX.Element =>
<Text>
Ask Copilot to generate a query by describing the query in your words.
<br />
<Link href="https://aka.ms/cdb-copilot-learn-more">Learn more</Link>
<Link target="_blank" href="https://aka.ms/cdb-copilot-learn-more">
Learn more
</Link>
</Text>
</Stack.Item>
<Stack.Item align="center" className="text">
@ -78,7 +80,9 @@ export const WelcomeModal = ({ visible }: { visible: boolean }): JSX.Element =>
<Text>
AI-generated content can have mistakes. Make sure its accurate and appropriate before using it.
<br />
<Link href="https://aka.ms/cdb-copilot-preview-terms">Read preview terms</Link>
<Link target="_blank" href="https://aka.ms/cdb-copilot-preview-terms">
Read preview terms
</Link>
</Text>
</Stack.Item>
<Stack.Item align="center" className="text">
@ -97,7 +101,9 @@ export const WelcomeModal = ({ visible }: { visible: boolean }): JSX.Element =>
While in Private Preview, Query Copilot is setup to work on sample database we have configured for you
at no cost.
<br />
<Link href="https://aka.ms/cdb-copilot-learn-more">Learn more</Link>
<Link target="_blank" href="https://aka.ms/cdb-copilot-learn-more">
Learn more
</Link>
</Text>
</Stack.Item>
</Stack>

View File

@ -103,6 +103,7 @@ exports[`Query Copilot Welcome Modal snapshot test should render when isOpen is
<br />
<StyledLinkBase
href="https://aka.ms/cdb-copilot-learn-more"
target="_blank"
>
Learn more
</StyledLinkBase>
@ -139,6 +140,7 @@ exports[`Query Copilot Welcome Modal snapshot test should render when isOpen is
<br />
<StyledLinkBase
href="https://aka.ms/cdb-copilot-preview-terms"
target="_blank"
>
Read preview terms
</StyledLinkBase>
@ -175,6 +177,7 @@ exports[`Query Copilot Welcome Modal snapshot test should render when isOpen is
<br />
<StyledLinkBase
href="https://aka.ms/cdb-copilot-learn-more"
target="_blank"
>
Learn more
</StyledLinkBase>

View File

@ -65,7 +65,9 @@ export const WelcomeSidebarModal: React.FC = (): JSX.Element => {
<Text>
Ask Copilot to generate a query by describing the query in your words.
<br />
<Link href="https://aka.ms/cdb-copilot-learn-more">Learn more</Link>
<Link target="_blank" href="https://aka.ms/cdb-copilot-learn-more">
Learn more
</Link>
</Text>
</Stack.Item>
</Stack>
@ -87,7 +89,9 @@ export const WelcomeSidebarModal: React.FC = (): JSX.Element => {
<Text>
AI-generated content can have mistakes. Make sure its accurate and appropriate before using it.
<br />
<Link href="https://aka.ms/cdb-copilot-preview-terms">Read preview terms</Link>
<Link target="_blank" href="https://aka.ms/cdb-copilot-preview-terms">
Read preview terms
</Link>
</Text>
</Stack.Item>
</Stack>
@ -109,7 +113,9 @@ export const WelcomeSidebarModal: React.FC = (): JSX.Element => {
<Text>
Copilot is setup on a sample database we have configured for you at no cost
<br />
<Link href="https://aka.ms/cdb-copilot-learn-more">Learn more</Link>
<Link target="_blank" href="https://aka.ms/cdb-copilot-learn-more">
Learn more
</Link>
</Text>
</Stack.Item>
</Stack>