// @ts-nocheck import React from "react" import { Img, Row, Html, Link, Body, Head, Button, Column, Preview, Section, Container } from "@jsx-email/all" import { Hr, Text, Fonts, SplitString, Title, A, Span } from "../components" import { unit, body, code, frame, medium, heading, container, headingHr, footerLink, breadcrumb, compactText, buttonPrimary, breadcrumbColonSeparator, } from "../styles" const LOCAL_ASSETS_URL = "/static" const CONSOLE_URL = "https://opencode.ai/" const DOC_URL = "https://opencode.ai/docs/zen" interface InviteEmailProps { workspace: string assetsUrl: string } export const InviteEmail = ({ workspace, assetsUrl = LOCAL_ASSETS_URL }: InviteEmailProps) => { const subject = `Join the ${workspace} workspace` const messagePlain = `You've been invited to join the ${workspace} workspace in the OpenCode Zen Console.` const url = `${CONSOLE_URL}workspace/${workspace}` return ( {`OpenCode Zen — ${messagePlain}`} {messagePlain}
OpenCode Zen Logo
OpenCode Zen : {workspace}
You've been invited to join the{" "} {workspace} {" "} workspace in the{" "} OpenCode Zen Console .

Console About
) } export default InviteEmail