import { Component } from "peura-ui";

const advertisementTemplate = `
	<div class="ListPage_Advertisement">
		Paid content
		<img src="{image}"/>
	</div>
`;

export default class AdvertisementUI extends Component {
	constructor(adId: number) {
		const images = [
			"iq-test.png",
			"kaljaa.png",
			"alyttomat-hinnat.png",
			"kahvia.png"
		];
		const image = images[adId % images.length];
		super(advertisementTemplate, { image });
	}
}
