Skip to content

Commit b01d411

Browse files
author
Artyom Borisevich
committed
[dev] added support link, doc footer help, change footer text
1 parent 7e711db commit b01d411

File tree

4 files changed

+44
-5
lines changed

4 files changed

+44
-5
lines changed

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const config = {
289289
"style": "dark",
290290
"links": [
291291
{
292-
"title": "Development center",
292+
"title": "Development Center",
293293
"items": [
294294
{
295295
"label": "Download Gantt",
@@ -341,11 +341,11 @@ const config = {
341341
"title": "Company",
342342
"items": [
343343
{
344-
"label": "About us",
344+
"label": "About Us",
345345
"href": "https://dhtmlx.com/docs/company.shtml"
346346
},
347347
{
348-
"label": "Contact us",
348+
"label": "Contact Us",
349349
"href": "https://dhtmlx.com/docs/contact.shtml"
350350
},
351351
{

src/css/custom.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ span.token-line.theme-code-block-highlighted-line {
204204
font-size: 16pt;
205205
color: rgb(53, 148, 243);
206206
background-color: transparent;
207-
border: 1px solid rgba(53, 148, 243, 0.692);;
207+
border: 1px solid rgba(53, 148, 243, 0.692);
208208
border-radius: 5px;
209209
width: 280px;
210210
height: 50px;
@@ -279,4 +279,17 @@ p {
279279
font-weight: unset;
280280
line-height: unset;
281281
margin: unset;
282-
}
282+
}
283+
284+
.contact-support-link-wrapper{
285+
display: flex;
286+
justify-content: start;
287+
align-items: center;
288+
margin: 1rem;
289+
}
290+
291+
.contact-support-link{
292+
font-size: var(--ifm-h4-font-size);
293+
font-weight: var(--ifm-heading-font-weight);
294+
text-align: center;
295+
}

src/theme/DocItem/Footer/index.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Footer from '@theme-original/DocItem/Footer';
2+
import Admonition from '@theme/Admonition';
3+
4+
export default function FooterWrapper(props) {
5+
return (
6+
<>
7+
<Footer {...props} />
8+
<Admonition type="info" title="Need help?" className="docusaurus-mt-lg">
9+
Got a question about the documentation? Reach out to our <a href="https://dhtmlx.com/docs/technical-support.shtml">technical support team </a> for help and guidance.
10+
For custom component solutions, visit the <a href="https://dhtmlx.com/docs/services.shtml">Services</a> page.
11+
</Admonition>
12+
</>
13+
);
14+
}

src/theme/TOCItems/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import TOCItems from '@theme-original/TOCItems';
2+
3+
export default function TOCItemsWrapper(props) {
4+
return (
5+
<>
6+
<TOCItems {...props} />
7+
<div className="contact-support-link-wrapper">
8+
<a href="https://dhtmlx.com/docs/technical-support.shtml" className="contact-support-link pagination-nav__link">Contact Support</a>
9+
</div>
10+
</>
11+
);
12+
}

0 commit comments

Comments
 (0)