Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/theme/TOCItems/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import TOCItems from '@theme-original/TOCItems';
import styles from './styles.module.css';

export default function TOCItemsWrapper(props) {
return (
<>
<TOCItems {...props} />
<div className={styles.contactSupportLinkWrapper}>
Need more help?
<a
href="https://dhtmlx.com/docs/technical-support.shtml"
target="_blank"
rel="noopener noreferrer"
className={`${styles.contactSupportLink} pagination-nav__link`}
>
Contact Support
</a>
</div>
</>
);
}
14 changes: 14 additions & 0 deletions src/theme/TOCItems/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.contactSupportLinkWrapper {
display: flex;
flex-direction: column;
justify-content: start;
align-items: start;
gap: 0.5rem;
margin: 1rem;
}

.contactSupportLink {
font-size: var(--ifm-h4-font-size);
font-weight: var(--ifm-heading-font-weight);
text-align: center;
}