mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 08:52:26 +00:00
Merge pull request #15284 from strapi/fix/documentation-link-guided-tour
[fix] Guided tour documentation link
This commit is contained in:
commit
f1ca1e4051
@ -8,6 +8,9 @@ import { useIntl } from 'react-intl';
|
|||||||
|
|
||||||
const LiStyled = styled.li`
|
const LiStyled = styled.li`
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
|
&::marker {
|
||||||
|
color: ${({ theme }) => theme.colors.neutral800};
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Content = ({ id, defaultMessage }) => {
|
const Content = ({ id, defaultMessage }) => {
|
||||||
@ -19,13 +22,15 @@ const Content = ({ id, defaultMessage }) => {
|
|||||||
{ id, defaultMessage },
|
{ id, defaultMessage },
|
||||||
{
|
{
|
||||||
documentationLink: (children) => (
|
documentationLink: (children) => (
|
||||||
<a
|
<Typography
|
||||||
|
as="a"
|
||||||
|
textColor="primary600"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
href="https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest-api.html#api-parameters"
|
href="https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest-api.html#api-parameters"
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</a>
|
</Typography>
|
||||||
),
|
),
|
||||||
b: (children) => <Typography fontWeight="semiBold">{children}</Typography>,
|
b: (children) => <Typography fontWeight="semiBold">{children}</Typography>,
|
||||||
p: (children) => <Typography>{children}</Typography>,
|
p: (children) => <Typography>{children}</Typography>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user