Skip to content

Commit

Permalink
Update docs website
Browse files Browse the repository at this point in the history
  • Loading branch information
icflorescu committed Dec 23, 2023
1 parent a73d79c commit 3bf88a1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
11 changes: 8 additions & 3 deletions docs/components/homePage/HomePageSubtitle.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Anchor, Text, createStyles } from '@mantine/core';
import { IconArrowDown, IconDiscountCheck, IconExclamationCircle } from '@tabler/icons-react';
import InternalLink from '../InternalLink';
import ExternalLink from '../ExternalLink';

const useStyles = createStyles((theme) => ({
root: {
Expand Down Expand Up @@ -56,8 +56,13 @@ export default function HomePageSubtitle() {
<div className={classes.line}>
<IconExclamationCircle className={cx(classes.lineIcon, classes.warningIcon)} size={18} />
<Text color="dimmed" size="sm">
supports <strong>Mantine V6</strong>; support for <strong>Mantine V7</strong> is{' '}
<InternalLink to="/mantine-v7-support">under development</InternalLink>
This version supports <strong>Mantine V6</strong>.
<br />
If you use <strong>Mantine V7</strong>, check out{' '}
<strong>
<ExternalLink to="https://icflorescu.github.io/mantine-datatable/">Mantine DataTable V7</ExternalLink>
</strong>
.
</Text>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions docs/pages/mantine-v7-support.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ import ExternalLink from '~/components/ExternalLink';
import PageNavigation from '~/components/PageNavigation';
import PageText from '~/components/PageText';
import PageTitle from '~/components/PageTitle';
import { MANTINE_LINK, SPONSOR_LINK } from '~/config';
import { MANTINE_LINK } from '~/config';

const PATH = 'mantine-v7-support';

export default function Page() {
return (
<Container>
<PageTitle of={PATH} />
<PageText info>
If you are using <ExternalLink to={MANTINE_LINK}>Mantine V7</ExternalLink>, please use{' '}
<ExternalLink to="https://icflorescu.github.io/mantine-datatable/">Mantine DataTable V7</ExternalLink>.
</PageText>
<PageText>
Mantine DataTable V6 supports <ExternalLink to="https://v6.mantine.dev/">Mantine V6</ExternalLink>.
<br />
<ExternalLink to={MANTINE_LINK}>Mantine V7</ExternalLink> support is under development. You can help speed up
the process by <ExternalLink to={SPONSOR_LINK}>sponsoring me on GitHub</ExternalLink>.
</PageText>
<PageText info>
If you are using <ExternalLink to={MANTINE_LINK}>Mantine V7</ExternalLink>, please use{' '}
<ExternalLink to={MANTINE_LINK}>Mantine V7</ExternalLink> is supported by{' '}
<ExternalLink to="https://icflorescu.github.io/mantine-datatable/">Mantine DataTable V7</ExternalLink>.
</PageText>
<PageNavigation of={PATH} />
Expand Down

0 comments on commit 3bf88a1

Please sign in to comment.