Skip to content
Launch offerSolo $19 $49 · Team $39 $79Launch pricing ends Sunday
Mailblocks

Minimal signature

Name, role, company and one link — the signature that never looks wrong.

0.6 KB

Code

import * as React from "react";
import { domain, resolve, sans, T, type SignatureProps } from "./_person";

export default function SignatureMinimal(props: SignatureProps) {
  const { person: p, brand: b } = resolve(props);
  return (
    <T style={{ fontFamily: sans }}>
      <tr>
        <td style={{ paddingTop: 8, fontSize: 14, lineHeight: "20px", color: "#111418", fontWeight: 600 }}>{p.name}</td>
      </tr>
      <tr>
        <td style={{ fontSize: 13, lineHeight: "19px", color: "#5B616B" }}>
          {p.role}, {b.name}
        </td>
      </tr>
      <tr>
        <td style={{ paddingTop: 4, fontSize: 13, lineHeight: "19px" }}>
          <a href={b.url} style={{ color: b.primary, textDecoration: "none" }}>{domain(b.url)}</a>
        </td>
      </tr>
    </T>
  );
}