mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-21 23:19:30 +02:00
feat: ui changes
This commit is contained in:
@@ -6,6 +6,7 @@ import { Link, useNavigate } from 'react-router-dom';
|
|||||||
import Typography from '@mui/material/Typography';
|
import Typography from '@mui/material/Typography';
|
||||||
import Button from '@mui/material/Button';
|
import Button from '@mui/material/Button';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
import { categoriesColors } from 'config/uiConfig';
|
||||||
|
|
||||||
type ArrayElement<ArrayType extends readonly unknown[]> =
|
type ArrayElement<ArrayType extends readonly unknown[]> =
|
||||||
ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
||||||
@@ -74,7 +75,6 @@ const SingleCategory = function ({
|
|||||||
</Grid>
|
</Grid>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
const categoriesColors: string[] = ['#8FBC5D', '#3CB6E2', '#FFD400', '#AB6993'];
|
|
||||||
export default function Categories() {
|
export default function Categories() {
|
||||||
return (
|
return (
|
||||||
<Grid width={'80%'} container mt={2} spacing={2}>
|
<Grid width={'80%'} container mt={2} spacing={2}>
|
||||||
|
Reference in New Issue
Block a user