// ** Next Imports import dynamic from 'next/dynamic' // ** React Imports import { useContext } from 'react' // ** Context Imports import { AbilityContext } from '~/layouts/components/acl/Can' // ** MUI Imports import Grid from '@mui/material/Grid' import Card from '@mui/material/Card' import CardHeader from '@mui/material/CardHeader' import Typography from '@mui/material/Typography' import CardContent from '@mui/material/CardContent' // ** ThreeDGarden Imports import ThreeDGarden from '~/components/threed/ThreeDGarden' // const ThreeDGarden = dynamic(() => import('~/components/threed/ThreeDGarden'), { // ssr: false, // }) const ParticipatePage = () => { // ** Hooks const ability = useContext(AbilityContext) return ( {/* [MM] HEY HEY HEY */} {/* [MM] HEY HEY HEY */} No user role 'ability' is required to view this card This card is visible to both 'user' and 'admin' {ability?.can('read', 'analytics') && ( User with "analytics: read" ability can view this card This card is visible to 'admin' only )} ) } ParticipatePage.acl = { action: 'read', subject: 'participate-page' } export default ParticipatePage