import { OrderedList, ListItem, Tag, Text, Stack } from '@chakra-ui/react'
type WebflowInstructionsProps = {
type: 'standard' | 'popup' | 'bubble'
}
export const WebflowInstructions = ({ type }: WebflowInstructionsProps) => {
switch (type) {
case 'standard': {
return
}
case 'popup': {
return
}
case 'bubble': {
return
}
default:
return <>>
}
}
const StandardInstructions = () => (
In the Webflow editor:
Press A to open the Add elements panel
Add an embed element from the components
section and paste this code:
{/* sendWebflowCopyEvent('standard')}
/> */}
)
const PopupInstructions = () => {
// const [inputValue, setInputValue] = useState(0)
return (
In the Webflow editor
Press A to open the Add elements panel
Add an embed element from the components
section and paste this code:
{/* setInputValue(settings.delay ?? 0)}
mt={4}
/>
sendWebflowCopyEvent('popup')}
/> */}
)
}
const BubbleInstructions = () => {
// const [inputValues, setInputValues] = useState<
// Pick
// >({
// proactiveMessage: undefined,
// button: {
// color: '',
// iconUrl: '',
// },
// })
return (
In the Webflow editor
Press A to open the Add elements panel
Add an embed element from the components
section and paste this code:
{/* setInputValues({ ...settings })}
mt={4}
/>
sendWebflowCopyEvent('bubble')}
/> */}
)
}