mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
refactor: move new mantine components in dedicated folder + split home
This commit is contained in:
24
inertia/mantine/components/home/feature_list.tsx
Normal file
24
inertia/mantine/components/home/feature_list.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { SimpleGrid } from '@mantine/core';
|
||||
import { Feature } from '~/mantine/components/home/feature';
|
||||
|
||||
export const featureList = [
|
||||
'collection',
|
||||
'link',
|
||||
'search',
|
||||
'extension',
|
||||
'share',
|
||||
'contribute',
|
||||
] as const;
|
||||
|
||||
export const FeatureList = () => (
|
||||
<SimpleGrid
|
||||
mt={60}
|
||||
cols={{ base: 1, sm: 2, md: 3 }}
|
||||
spacing={{ base: 'xl', md: 50 }}
|
||||
verticalSpacing={{ base: 'xl', md: 50 }}
|
||||
>
|
||||
{featureList.map((feature, index) => (
|
||||
<Feature name={feature} key={index} />
|
||||
))}
|
||||
</SimpleGrid>
|
||||
);
|
||||
Reference in New Issue
Block a user