Skip to content

The open alternative to Salesforce, designed for AI.

499 B
Raw Blame
import { styled } from '@linaria/react';

import { fontFamily, fontSize, semanticColor } from '@/tokens';

const Prose = styled.p`
  color: ${semanticColor.inkMuted};
  font-family: ${fontFamily('sans')};
  font-size: ${fontSize(5)};
  line-height: ${fontSize(7)};
  max-width: 62ch;
  text-wrap: pretty;
  white-space: pre-wrap;
`;

export function PartnerProfileIntro({
  introduction,
}: {
  introduction: string;
}) {
  if (!introduction) return null;

  return <Prose>{introduction}</Prose>;
}