import React from "react"; import cn from "classnames"; import { users } from "./users"; import { Logo } from "./Logo"; export function Clients({ linked, staticWidth, companyList, }: { linked?: boolean; staticWidth?: boolean; companyList?: string[]; }) { const showcaseDark = []; const showcaseLight = []; const LogoWrapper = ({ className, children }) => { if (!staticWidth) return children; return (
{children}
); }; users .filter((i) => (companyList ? companyList.includes(i.caption) : true)) .forEach((user) => { if (user.pinned) { showcaseDark.push( ); showcaseLight.push( ); } }); return ( <> {showcaseDark} {showcaseLight} ); }