import { Component } from "peura-ui";

const supportPopupTemplate = `
	<div class="Popup_Root">
		<div class="Popup_BoxWithImg">
			<img src="support.png" />
			<div class="Popup_Text">Tarvitsetko apua? Ota yhteyttä tukipalveluumme.</div>
			<div class="Popup_Buttons">
				<button class="Login_Butt-Highlight" onclick="{progress}">Avaa chat</button>
				<button class="Login_Butt-Secondary" onclick="{progress}">Sulje</button>
			</div>
		</div>
	</div>
`;

export default class SupportPopupUI extends Component {
	constructor(progress: () => void) {
		super(supportPopupTemplate, { progress });
	}
}