mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Stripe, Supabase, Bento, Takeout, seats, licenses and coupons came with the fork of the site and sold nothing here. Identity is Hanzo IAM and there is no store, so the forty-four routes, the purchase flow and the theme-history persistence go, and what remains is a docs site.
40 lines
758 B
TypeScript
40 lines
758 B
TypeScript
import { Brush } from '@hanzogui/lucide-icons-2'
|
|
import { styled, YStack } from '@hanzo/gui'
|
|
import { TooltipLabelLarge } from './TooltipLabelLarge'
|
|
|
|
const Card = styled(YStack, {
|
|
maxH: 120,
|
|
width: 'calc(50% - 6px)',
|
|
flex: 1,
|
|
flexBasis: 'auto',
|
|
rounded: '$4',
|
|
borderWidth: 0.5,
|
|
borderColor: '$color4',
|
|
|
|
$gtXs: {
|
|
width: 'auto',
|
|
maxW: 'calc(min(100%, 257px))',
|
|
},
|
|
})
|
|
|
|
export const PromoCards = ({ less }: { less?: boolean }) => {
|
|
return (
|
|
<>
|
|
<Card>
|
|
<PromoCardTheme />
|
|
</Card>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export const PromoCardTheme = () => {
|
|
return (
|
|
<TooltipLabelLarge
|
|
href="/theme"
|
|
icon={<Brush y={-2} size={20} />}
|
|
title="Theme"
|
|
subtitle="Generate themes using a custom AI."
|
|
/>
|
|
)
|
|
}
|