Mobile view and misc.

This commit is contained in:
Sean Edmunds
2024-09-09 14:52:45 -05:00
parent e9ccd0906c
commit 94757369a5
7 changed files with 45 additions and 25 deletions

View File

@@ -2,20 +2,21 @@ import { Stack, Text } from '@mantine/core';
import texts from '../../../styles/Text.module.css';
import LinkItem from './LinkItem';
function LinkGroups({ links, category }: any) {
function LinkGroups({ links, category, isMobile }: any) {
return (
<Stack
style={{
marginBottom: '0em',
display: 'block',
lineHeight: '1.5rem',
overflow: 'hidden',
}}
>
<Text className={texts.linkCategory} classNames={texts}>
{category}
</Text>
{links?.map((link: any) => (
<LinkItem key={link.name} link={link} />
<LinkItem key={link.name} link={link} isMobile={isMobile} />
))}
</Stack>
);