--- import type { Props as BaseProps } from "../CopyRightNotice.astro"; interface Props extends BaseProps {} let { title, website, author, dateCreated, license } = Astro.props; const publicdomain = license === "CC0"; const sa = /SA/.test(license); const nd = /ND/.test(license); const nc = /NC/.test(license); const licenseURL = `https://creativecommons.org/licenses/${ license.slice(3).toLowerCase() }/4.0/`; ---