All files / apps / web/src / features / shell / components / Logo index.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

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 17 18 19 20 21 22 23 24      19x 42x                                      
import type { ReactElement } from 'react'
 
// The Chattra mark: a speech bubble on the brand gradient. Decorative; the name is always beside it.
export const Logo = ({ className }: { className?: string }): ReactElement => {
  return (
    <svg viewBox="0 0 40 40" aria-hidden="true" className={className}>
      <defs>
        <linearGradient id="chattra-logo" x1="0" y1="0" x2="1" y2="1">
          <stop offset="0" stopColor="#8b5cf6" />
          <stop offset="1" stopColor="#4f6bf5" />
        </linearGradient>
      </defs>
      <rect width="40" height="40" rx="11" fill="url(#chattra-logo)" />
      <path
        fill="#fff"
        d="M20 10.5c-6 0-10.5 3.9-10.5 8.9 0 2.700 1.300 5 3.400 6.600l-.9 3.700 4.300-2c1.100.3 2.400.5 3.700.5 6 0 10.500-3.900 10.500-8.800s-4.500-8.900-10.500-8.900Z"
      />
      <circle cx="15.500" cy="19.500" r="1.500" fill="#6366f1" />
      <circle cx="20" cy="19.500" r="1.500" fill="#6366f1" />
      <circle cx="24.500" cy="19.500" r="1.500" fill="#6366f1" />
    </svg>
  )
}