Files
formbricks/packages/feedback-widget/test-div.html

35 lines
966 B
HTML

<head>
<script src="./dist/index.umd.js" charset="UTF-8" defer></script>
<script>
window.formbricks = {
...window.formbricks,
config: {
hqUrl: "http://localhost:3000",
formId: "clcxavrfm0006yz11frfb0ms2",
divId: "test-div",
contact: {
name: "Peer",
position: "Co-Founder",
imgUrl: "https://avatars.githubusercontent.com/u/8019099?v=4",
},
customer: {
id: "test@cal.com",
name: "Test Customer",
email: "test@cal.com",
},
style: {
brandColor: "#0E1420",
headerBGColor: "#E5E7EB",
headerTitleColor: "#4B5563",
boxBGColor: "#F9FAFB",
textColor: "#374151",
buttonHoverColor: "#F3F4F6",
},
},
};
</script>
</head>
<body style="background-color: #ccc">
<div id="test-div" style="background-color: #fff; width: 40rem; height: 30rem"></div>
</body>