All files / Bandstand/src/components/tour DemoBanner.tsx

0% Statements 0/11
0% Branches 0/1
0% Functions 0/1
0% Lines 0/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
import Link from 'next/link'
 
/** Says the page is the tour's sample, not the band's. */
export default function DemoBanner({what}: {what: string}) {
  return (
    <p className="mx-auto mt-3 max-w-[1400px] px-4 md:px-7">
      <span className="block rounded-lg border border-sky/50 bg-panel px-4 py-2 text-sm text-muted">
        A sample {what} for the tour — not one of your band’s.{' '}
        <Link href="/songs" className="text-sky">
          Back to your songs
        </Link>
      </span>
    </p>
  )
}