'use client' import { FC, type HTMLAttributes } from 'react' import { PktConsent } from '../consent/Consent' import { PktIcon } from '../icon/Icon' export interface IPktFooterSimple extends HTMLAttributes { links?: Array<{ href: string text: string external?: boolean openInNewTab?: boolean }> personvernOgInfoLink?: string tilgjengelighetLink?: string openLinksInNewTab?: boolean includeConsent?: boolean hotjarId?: string | null googleAnalyticsId?: string | null devMode?: boolean cookieDomain?: string | null cookieSecure?: string | null cookieExpiryDays?: string | null onToggleConsent?: (e: CustomEvent) => void } export const PktFooterSimple: FC = ({ links = [], openLinksInNewTab = false, personvernOgInfoLink = 'https://www.oslo.kommune.no/personvern-og-informasjonskapsler/', tilgjengelighetLink = 'https://www.oslo.kommune.no/tilgjengelighet/', includeConsent = false, hotjarId = null, googleAnalyticsId = null, devMode = false, cookieDomain = null, cookieSecure = null, cookieExpiryDays = null, onToggleConsent = (e: CustomEvent) => { // eslint-disable-next-line no-console console.log(e.detail) }, className, }) => { const classNames = [className, 'pkt-footer-simple'].filter(Boolean).join(' ') return ( ) }