Vertical stacked suggested tools

This commit is contained in:
Connor Yoh 2025-08-14 10:29:41 +01:00
parent 69c19f7846
commit fd3ec1d976

View File

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import { Stack, Text, Divider, SimpleGrid, Card, Group } from '@mantine/core'; import { Stack, Text, Divider, Card, Group } from '@mantine/core';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { useSuggestedTools } from '../../../hooks/useSuggestedTools'; import { useSuggestedTools } from '../../../hooks/useSuggestedTools';
export interface SuggestedToolsSectionProps {} export interface SuggestedToolsSectionProps {}
@ -16,7 +16,7 @@ export function SuggestedToolsSection(): React.ReactElement {
{t('editYourNewFiles', 'Edit your new File(s)')} {t('editYourNewFiles', 'Edit your new File(s)')}
</Text> </Text>
<SimpleGrid cols={2} spacing="sm"> <Stack gap="xs">
{suggestedTools.map((tool) => { {suggestedTools.map((tool) => {
const IconComponent = tool.icon; const IconComponent = tool.icon;
return ( return (
@ -36,7 +36,7 @@ export function SuggestedToolsSection(): React.ReactElement {
</Card> </Card>
); );
})} })}
</SimpleGrid> </Stack>
</Stack> </Stack>
); );
} }