diff --git a/public/art/house-bar.svg b/public/art/house-bar.svg
new file mode 100644
index 0000000..89dc49f
--- /dev/null
+++ b/public/art/house-bar.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-box.svg b/public/art/house-box.svg
new file mode 100644
index 0000000..2f2b44d
--- /dev/null
+++ b/public/art/house-box.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-column.svg b/public/art/house-column.svg
new file mode 100644
index 0000000..b991e7e
--- /dev/null
+++ b/public/art/house-column.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-leader.svg b/public/art/house-leader.svg
new file mode 100644
index 0000000..52c5bae
--- /dev/null
+++ b/public/art/house-leader.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-panel.svg b/public/art/house-panel.svg
new file mode 100644
index 0000000..91eb0fa
--- /dev/null
+++ b/public/art/house-panel.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-square.svg b/public/art/house-square.svg
new file mode 100644
index 0000000..7e88ba6
--- /dev/null
+++ b/public/art/house-square.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-strip.svg b/public/art/house-strip.svg
new file mode 100644
index 0000000..38e9652
--- /dev/null
+++ b/public/art/house-strip.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-tile.svg b/public/art/house-tile.svg
new file mode 100644
index 0000000..ac4732d
--- /dev/null
+++ b/public/art/house-tile.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/art/house-tower.svg b/public/art/house-tower.svg
new file mode 100644
index 0000000..de74203
--- /dev/null
+++ b/public/art/house-tower.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/assets/zones-screen.js b/public/assets/zones-screen.js
index c8f7250..3049003 100644
--- a/public/assets/zones-screen.js
+++ b/public/assets/zones-screen.js
@@ -21,7 +21,7 @@
$('rows').querySelectorAll('[data-del]').forEach(b => b.addEventListener('click', async () => { if (!await dialog({ title: 'Remove this zone?', text: 'The tag on your site stops showing ads. Credits already earned stay.', ok: 'Remove', danger: true })) return; try { await api('/api/my/zones/' + b.dataset.del, { remove: true }); SEL = null; $('tagPanel').hidden = true; load(); } catch (e) { toast(e.message, true); } }));
if (SEL && Z.find(z => z.id === SEL)) showTag(SEL);
}
- function showTag(id) { const z = Z.find(x => x.id === id); if (!z) return; SEL = id; $('tagPanel').hidden = false; $('tagTitle').textContent = 'Embed tag · ' + z.name; $('tagCode').textContent = tag(z); $('tagNote').textContent = 'Paste it where the banner should appear (' + z.size + '). It sizes itself and never loads more than one ad.'; $('tagCopy').onclick = () => CR.copy(tag(z)); $('tagCheck').onclick = async () => { await load(); const zz = Z.find(x => x.id === id); toast(zz && zz.lastSeen && Date.now() - zz.lastSeen < 3600e3 ? 'Live: last view ' + ago(zz.lastSeen) : 'No view in the last hour. Is the tag on a page people open?', !(zz && zz.lastSeen && Date.now() - zz.lastSeen < 3600e3)); }; }
+ function showTag(id) { const z = Z.find(x => x.id === id); if (!z) return; SEL = id; $('tagPanel').hidden = false; $('tagTitle').textContent = 'Embed tag · ' + z.name; $('tagCode').textContent = tag(z); $('tagNote').textContent = 'Paste it where the banner should appear (' + z.size + '). It sizes itself and never loads more than one ad. Tip: do not wrap it in an element whose class or id contains "ad", "banner" or "sponsor" (ad blockers hide those), and if you test with an ad blocker on, pause it for your own site first.'; $('tagCopy').onclick = () => CR.copy(tag(z)); $('tagCheck').onclick = async () => { await load(); const zz = Z.find(x => x.id === id); toast(zz && zz.lastSeen && Date.now() - zz.lastSeen < 3600e3 ? 'Live: last view ' + ago(zz.lastSeen) : 'No view in the last hour. Is the tag on a page people open?', !(zz && zz.lastSeen && Date.now() - zz.lastSeen < 3600e3)); }; }
$('newBtn').addEventListener('click', async () => {
const v = await dialog({ title: 'Add a zone', text: 'One zone per spot on a page. Paid ads only serve on the site you name here; anywhere else the tag shows the house banner.', fields: [{ k: 'name', label: 'Name', placeholder: 'My blog · sidebar', max: 60 }, { k: 'site', label: 'Site it lives on (required)', placeholder: 'myblog.com', max: 80 }, { k: 'size', label: 'Size: ' + (SIZES.join(', ') || '728x90, 468x60, 300x250, 160x600, 320x50'), value: '728x90', mono: true }], ok: 'Create' });
if (!v) return; try { const r = await api('/api/my/zones', v); SEL = r.zone.id; toast('Zone created. Copy the tag.'); load(); } catch (e) { toast(e.message, true); }
diff --git a/public/zones.html b/public/zones.html
index 726c542..c0c0373 100644
--- a/public/zones.html
+++ b/public/zones.html
@@ -31,6 +31,6 @@
-
+