Skip to content

Commit c9a4da0

Browse files
Merge pull request #5 from ArtiBorisevich/GS-3066
[dev] added support link, doc footer help, change footer text
2 parents 602fbd0 + b66a7b1 commit c9a4da0

File tree

4 files changed

+47
-5
lines changed

4 files changed

+47
-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: 17 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,19 @@ p {
279279
font-weight: unset;
280280
line-height: unset;
281281
margin: unset;
282-
}
282+
}
283+
284+
.contact-support-link-wrapper{
285+
display: flex;
286+
flex-direction: column;
287+
justify-content: start;
288+
align-items: start;
289+
gap: 0.5rem;
290+
margin: 1rem;
291+
}
292+
293+
.contact-support-link{
294+
font-size: var(--ifm-h4-font-size);
295+
font-weight: var(--ifm-heading-font-weight);
296+
text-align: center;
297+
}

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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
Need more help?
9+
<a href="https://dhtmlx.com/docs/technical-support.shtml" className="contact-support-link pagination-nav__link">Contact Support</a>
10+
</div>
11+
</>
12+
);
13+
}

0 commit comments

Comments
 (0)