diff --git a/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css b/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css index 5e3b20c6a..1effdd1f2 100644 --- a/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css +++ b/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css @@ -1,3 +1,8 @@ .mantineReactTable { - color: var(--TODO) -} \ No newline at end of file + width: 100%; + border-collapse: collapse; + caption-side: top; + color: #c1c2c5; + line-height: 1.55; + display: table; +} diff --git a/apps/mantine-react-table-docs/components/mdx/FeatureTable.tsx b/apps/mantine-react-table-docs/components/mdx/FeatureTable.tsx index fae46432c..59e77091d 100644 --- a/apps/mantine-react-table-docs/components/mdx/FeatureTable.tsx +++ b/apps/mantine-react-table-docs/components/mdx/FeatureTable.tsx @@ -206,6 +206,9 @@ const data = [ export const FeatureTable = () => { return ( { return ( @@ -8,27 +9,14 @@ export const Footer = () => { component="footer" shadow="sm" withBorder - sx={{ - borderRadius: '8px', - borderBottomLeftRadius: '0', - borderBottomRightRadius: '0', - marginTop: '100px', - padding: '24px', - }} + className={classes.wrapper} > - + © {new Date().getFullYear()} Kevin Van Cott - + { NPM { Source Code { Submit a Bug Report { Join the Discord! Twitter - - - + + + Site Directory diff --git a/apps/mantine-react-table-docs/components/navigation/TableOfContent.module.css b/apps/mantine-react-table-docs/components/navigation/TableOfContent.module.css new file mode 100644 index 000000000..a573b8b3e --- /dev/null +++ b/apps/mantine-react-table-docs/components/navigation/TableOfContent.module.css @@ -0,0 +1,38 @@ + + +.navigationLinkFooter { + cursor: pointer; + line-height: 1.6rem; + font-size: 0.9rem; + text-decoration: none; + + @mixin light { + color: var(--mantine-color-gray-7); + } + + @mixin dark { + color: var(--mantine-color-gray-3); + } + + &:hover { + text-decoration: underline; + } +} + +/* We need to create another classnmae */ +.isNotNavigationLinkFooter { + cursor: pointer; + line-height: 2rem; + font-size: 1.2rem; + text-decoration: none; + &:hover { + text-decoration: underline; + } + @mixin light { + color: var(--mantine-color-gray-7); + } + + @mixin dark { + color: var(--mantine-color-gray-3); + } +} diff --git a/apps/mantine-react-table-docs/components/navigation/TableOfContentsList.tsx b/apps/mantine-react-table-docs/components/navigation/TableOfContentsList.tsx index 01a94e6f8..d626a0ff5 100644 --- a/apps/mantine-react-table-docs/components/navigation/TableOfContentsList.tsx +++ b/apps/mantine-react-table-docs/components/navigation/TableOfContentsList.tsx @@ -3,6 +3,7 @@ import Link from 'next/link'; import { Box, Anchor } from '@mantine/core'; import { LinkHeading } from '../mdx/LinkHeading'; import { type RouteItem } from './routes'; +import classes from './TableOfContent.module.css'; export const TableOfContentsListItem = ({ item, @@ -10,32 +11,23 @@ export const TableOfContentsListItem = ({ }: { item: RouteItem; isFooter?: boolean; -}) => ( -
  • - - ({ - color: !isFooter - ? theme.colorScheme === 'dark' - ? theme.white - : theme.black - : theme.colorScheme === 'dark' - ? theme.colors.gray[3] - : theme.colors.gray[7], - cursor: 'pointer', - lineHeight: isFooter ? '1.6rem' : '2rem', - fontSize: isFooter ? '0.9rem' : '1.2rem', - textDecoration: 'none', - '&:hover': { - textDecoration: 'underline', - }, - })} - > - {item.label} - - -
  • -); +}) => { + return ( +
  • + + + {item.label} + + +
  • + ); +}; interface Props { items: Array; diff --git a/apps/mantine-react-table-docs/example-groups/BasicExamples.tsx b/apps/mantine-react-table-docs/example-groups/BasicExamples.tsx index c4ab0923b..9b6e9e3f0 100644 --- a/apps/mantine-react-table-docs/example-groups/BasicExamples.tsx +++ b/apps/mantine-react-table-docs/example-groups/BasicExamples.tsx @@ -15,10 +15,10 @@ const BasicExamples = ({ isPage = false }) => { return ( <> - + + onChange={(newPath) => isPage && newPath !== 'more' ? push(newPath as string) : setActiveTab(newPath as string) diff --git a/apps/mantine-react-table-docs/pages/index.module.css b/apps/mantine-react-table-docs/pages/index.module.css index b520794a4..21404eddb 100644 --- a/apps/mantine-react-table-docs/pages/index.module.css +++ b/apps/mantine-react-table-docs/pages/index.module.css @@ -36,6 +36,7 @@ .titleMantineReactTable { display: inline; font-size: 2rem; + line-height: 6rem; @media (min-width: 768px) { font-size: 4rem; } diff --git a/apps/mantine-react-table-docs/pages/index.tsx b/apps/mantine-react-table-docs/pages/index.tsx index 7634953fa..eec73dbbe 100644 --- a/apps/mantine-react-table-docs/pages/index.tsx +++ b/apps/mantine-react-table-docs/pages/index.tsx @@ -19,6 +19,7 @@ const HomePage = () => { Welcome To