Skip to content

Instantly share code, notes, and snippets.

@lukaspili
Last active August 10, 2023 20:56
Show Gist options
  • Save lukaspili/70b6298f5371d7113d9ede5b7093e4d8 to your computer and use it in GitHub Desktop.
Save lukaspili/70b6298f5371d7113d9ede5b7093e4d8 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Blucare Widget Example</title>
<style type="text/css">
html,
body {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
#blucare-calculator {
width: 100%;
height: 100%;
overflow: auto;
}
header {
width: 100%;
background: #a2bdbe;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
}
footer {
width: 100%;
background: #a2bdbe;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
}
</style>
</head>
<body>
<header>
<h1>Blucare Demo Header</h1>
</header>
<!-- `data-locale` can be "fr" or "en" -->
<div id="blucare-calculator" data-locale="fr"></div>
<script src="https://blucare-calc.vercel.app/widget/index.js"></script>
<link href="https://blucare-calc.vercel.app/widget/index.css" rel="stylesheet" />
<header>
<p>Footer</p>
</header>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment