1542
apps/builder/public/templates/product-recommendation.json
Normal file
1542
apps/builder/public/templates/product-recommendation.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,7 @@ type Props = {
|
||||
}
|
||||
|
||||
export const TemplatesModal = ({ isOpen, onClose, onTypebotChoose }: Props) => {
|
||||
const templateCardBackgroundColor = useColorModeValue(undefined, 'gray.800')
|
||||
const templateCardBackgroundColor = useColorModeValue('white', 'gray.800')
|
||||
const [typebot, setTypebot] = useState<Typebot>()
|
||||
const [selectedTemplate, setSelectedTemplate] = useState<TemplateProps>(
|
||||
templates[0]
|
||||
@@ -197,7 +197,7 @@ export const TemplatesModal = ({ isOpen, onClose, onTypebotChoose }: Props) => {
|
||||
spacing="4"
|
||||
align="center"
|
||||
pb="4"
|
||||
bgColor="white"
|
||||
bgColor={selectedTemplate.backgroundColor ?? 'white'}
|
||||
>
|
||||
{typebot && (
|
||||
<Standard
|
||||
|
||||
@@ -41,6 +41,15 @@ export const templates: TemplateProps[] = [
|
||||
description:
|
||||
'Provide a free content to your prospects in exchange for their contact information.',
|
||||
},
|
||||
{
|
||||
name: 'Product recommendation',
|
||||
emoji: '🍫',
|
||||
fileName: 'product-recommendation.json',
|
||||
category: 'marketing',
|
||||
description:
|
||||
'Näak is a company that sells energy bars, hydration mix and recovery prodcuts. This bot helps a visitor choosing the right product. It helps you qualify your lead and provide a personalized recommendation.',
|
||||
backgroundColor: '#010000',
|
||||
},
|
||||
{
|
||||
name: 'NPS Survey',
|
||||
emoji: '⭐',
|
||||
|
||||
@@ -6,4 +6,5 @@ export type TemplateProps = {
|
||||
category?: 'marketing' | 'product'
|
||||
isComingSoon?: boolean
|
||||
isNew?: boolean
|
||||
backgroundColor?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user