Skip to content

Commit 713f57a

Browse files
committed
docs: update theme
1 parent 0d53916 commit 713f57a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/docs/src/components/Header.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ const Header: FC = () => {
112112
href="https://coreui.io/react/docs/getting-started/introduction/"
113113
variant="outline"
114114
>
115-
<CIcon icon={cilCloudDownload} /> Download
115+
<CIcon className="me-2" icon={cilCloudDownload} /> Download
116116
</CButton>
117117
<CButton
118118
className="d-lg-inline-block my-2 my-md-0 ms-md-3"
119119
color="primary"
120120
href="https://coreui.io/about/services/?docs=coreui-header-button"
121121
variant="outline"
122122
>
123-
<CIcon className="me-2" icon={cilHandshake} />
123+
<CIcon className="me-2" icon={cilHandshake} /> Hire Us
124124
</CButton>
125125
<CButton
126126
className="d-lg-inline-block my-2 my-md-0 ms-md-3"

packages/docs/src/components/Seo.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ const SEO = ({ title, description, name, image, article }: SEOProps) => {
2424
twitterUsername,
2525
} = site.siteMetadata
2626

27+
const prefix = site.pathPrefix
28+
2729
const seo = {
2830
title: title || defaultTitle,
2931
description: description || defaultDescription,
3032
name: name,
3133
image: `${siteUrl}${image || defaultImage}`,
32-
url: `${siteUrl}${pathname}`,
34+
url: `${siteUrl}${pathname.replace(`${prefix}/`, '')}`,
3335
}
3436

3537
return (
@@ -93,6 +95,7 @@ const query = graphql`
9395
defaultImage: image
9496
twitterUsername
9597
}
98+
pathPrefix
9699
}
97100
}
98101
`

0 commit comments

Comments
 (0)