feat: added tags for cards, aligned status headers
This commit is contained in:
		@@ -1,11 +1,12 @@
 | 
			
		||||
import { Box, Drawer, rem, Tabs } from "@mantine/core";
 | 
			
		||||
import { IconHexagons, IconSettings, IconSubtask } from "@tabler/icons-react";
 | 
			
		||||
import { IconHexagons, IconSettings, IconSubtask, IconTags } from "@tabler/icons-react";
 | 
			
		||||
import { ReactNode } from "react";
 | 
			
		||||
import { motion } from "framer-motion";
 | 
			
		||||
import { useProjectsEditorContext } from "../../contexts/ProjectsEditorContext.tsx";
 | 
			
		||||
import General from "./tabs/General/General.tsx";
 | 
			
		||||
import Attributes from "./tabs/Attributes/Attributes.tsx";
 | 
			
		||||
import Modules from "./tabs/Modules/Modules.tsx";
 | 
			
		||||
import Tags from "./tabs/Tags/Tags.tsx";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
const ProjectEditDrawer = () => {
 | 
			
		||||
@@ -67,11 +68,17 @@ const ProjectEditDrawer = () => {
 | 
			
		||||
                        leftSection={<IconSubtask />}>
 | 
			
		||||
                        Атрибуты
 | 
			
		||||
                    </Tabs.Tab>
 | 
			
		||||
                    <Tabs.Tab
 | 
			
		||||
                        value={"tags"}
 | 
			
		||||
                        leftSection={<IconTags />}>
 | 
			
		||||
                        Теги
 | 
			
		||||
                    </Tabs.Tab>
 | 
			
		||||
                </Tabs.List>
 | 
			
		||||
 | 
			
		||||
                {getTabPanel("general", <General/>)}
 | 
			
		||||
                {getTabPanel("attributes", <Attributes/>)}
 | 
			
		||||
                {getTabPanel("general", <General />)}
 | 
			
		||||
                {getTabPanel("attributes", <Attributes />)}
 | 
			
		||||
                {getTabPanel("modules", <Modules />)}
 | 
			
		||||
                {getTabPanel("tags", <Tags />)}
 | 
			
		||||
            </Tabs>
 | 
			
		||||
        </Drawer>
 | 
			
		||||
    );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user