--- import { Icon } from 'astro-icon/components' import { VAPID_PUBLIC_KEY } from 'astro:env/server' import { SUPPORT_EMAIL } from '../constants/project' import { cn } from '../lib/cn' import Button from './Button.astro' import type { Prisma } from '@prisma/client' import type { HTMLAttributes } from 'astro/types' type Props = HTMLAttributes<'div'> & { dismissable?: boolean hideIfEnabled?: boolean pushSubscriptions: Prisma.PushSubscriptionGetPayload<{ select: { endpoint: true userAgent: true } }>[] } const { class: className, dismissable = false, pushSubscriptions, hideIfEnabled, ...props } = Astro.props ---
Get notifications on this device.