diff --git a/src/components/services/group.jsx b/src/components/services/group.jsx index 945570647..2f94fc77f 100644 --- a/src/components/services/group.jsx +++ b/src/components/services/group.jsx @@ -1,9 +1,12 @@ import classNames from "classnames"; +import { Disclosure, Transition } from '@headlessui/react'; +import { MdKeyboardArrowDown } from "react-icons/md"; import List from "components/services/list"; import ResolvedIcon from "components/resolvedicon"; -export default function ServicesGroup({ group, services, layout, fiveColumns }) { +export default function ServicesGroup({ group, services, layout, fiveColumns, disableCollapse}) { + return (
-
- {layout?.icon && -
- -
- } -

{services.name}

-
- + + {({ open }) => ( + <> + + {layout?.icon && +
+ +
+ } +

{services.name}

+ +
+ + + + + + + )} +
); } diff --git a/src/pages/index.jsx b/src/pages/index.jsx index d91a83398..5106e07cc 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -294,7 +294,13 @@ function Home({ initialSettings }) { {services?.length > 0 && (
{services.map((group) => ( - + ))}
)} diff --git a/tailwind.config.js b/tailwind.config.js index b981051b7..a075f6e94 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -9,6 +9,11 @@ module.exports = { "./src/components/**/*.{js,ts,jsx,tsx}", "./src/widgets/**/*.{js,ts,jsx,tsx}", ], + variants: { + extend: { + display: ["group-hover"], + }, + }, theme: { extend: { colors: {