import React, { DetailedHTMLProps, ReactNode, SVGProps, useRef } from "react";
import clsx from "clsx";
import {
Atlassian,
AuthJs,
Auth0,
AwsCognito,
AzureActiveDirectory,
Clerk,
Expo,
Google,
Okta,
Wordpress,
Joomla,
Drupal,
Magento,
Presta,
Nextcloud,
//Nuxtjs,
//Gridsome,
Laravel
} from "../assets/integration-icons";
import { useInView } from "framer-motion";
export const EnterpriseIAMServices = ({
className,
}: {
className?: string;
}) => {
return (
Run your favorite Applications and Services!
We support all your favorite applications and frameworks without any additional configuration.
{[...list, ...list].map(
({ icon: Icon, label, tooltip }, index) => (
}
/>
),
)}
);
};
const PackagesContainer = ({
children,
className,
animDirection,
...props
}: DetailedHTMLProps, HTMLDivElement> & {
animDirection: "left" | "right";
}) => {
const ref = useRef(null);
const inView = useInView(ref);
return (
);
};
const PackageItem = (props: {
icon: ReactNode;
label: string;
tooltip: string | null;
}) => {
const { tooltip, icon, label } = props;
return (
{icon}
{label}
{tooltip && (
)}
);
};
const list = [
{
icon: (props: SVGProps) => ,
label: "WordPress",
tooltip: null,
},
{
icon: (props: SVGProps) => ,
label: "Magento",
tooltip: null,
},
{
icon: (props: SVGProps) => ,
label: "Joomla",
tooltip: null,
},
{
icon: (props: SVGProps) => ,
label: "Drupal",
tooltip: null,
},
{
icon: (props: SVGProps) => ,
label: "Laravel",
tooltip: null,
},
{
icon: (props: SVGProps) => ,
label: "NextCloud",
tooltip: null,
},
{
icon: (props: SVGProps) => ,
label: "PrestaShop",
tooltip: null,
},
/* {
icon: (props: SVGProps) => ,
label: "Nuxt.js",
tooltip: null,
},
{
icon: (props: SVGProps) => ,
label: "Gridsome",
tooltip: null,
},
*/
] as const;