Page designer on the Branded Voice design system: palette x design (dark/light/editorial/ignition) x layout (stacked/split hero) + six niche presets with house hero images, procedural split visual with price chip, Look panel in the editor; ad zones + banner campaigns gain 336x280, 250x250, 125x125, 120x600 with house banners
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -8,8 +8,8 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const crypto = require('crypto');
|
||||
let DATA_DIR = null, ads = null, siteHost = 'linkspin.app';
|
||||
const SIZES = { '728x90': [728, 90], '468x60': [468, 60], '300x250': [300, 250], '160x600': [160, 600], '320x50': [320, 50] };
|
||||
const HOUSE = { '728x90': '/banners/linkspin-728x90.svg', '468x60': '/banners/linkspin-468x60.svg', '300x250': '/banners/linkspin-300x250.svg', '160x600': '/banners/linkspin-160x600.svg', '320x50': '/banners/linkspin-320x50.svg' };
|
||||
const SIZES = { '728x90': [728, 90], '468x60': [468, 60], '300x250': [300, 250], '336x280': [336, 280], '250x250': [250, 250], '125x125': [125, 125], '160x600': [160, 600], '120x600': [120, 600], '320x50': [320, 50] }; // + 336x280 / 250x250 / 125x125 / 120x600 (Marty 2026-10-07)
|
||||
const HOUSE = { '728x90': '/banners/linkspin-728x90.svg', '468x60': '/banners/linkspin-468x60.svg', '300x250': '/banners/linkspin-300x250.svg', '336x280': '/banners/linkspin-336x280.svg', '250x250': '/banners/linkspin-250x250.svg', '125x125': '/banners/linkspin-125x125.svg', '160x600': '/banners/linkspin-160x600.svg', '120x600': '/banners/linkspin-120x600.svg', '320x50': '/banners/linkspin-320x50.svg' };
|
||||
const NAS_SIZES = new Set(['728x90', '468x60']); // the sizes Network Ad Space serves through its showadss.php tag
|
||||
const NAS_TAG = (w, h) => '<script src="https://www.networkadspace.com/showadss.php?w=' + w + '&h=' + h + '&n=1&bw=' + w + '&bh=' + h + '&c=999"></script>';
|
||||
const BOT = /bot|crawl|spider|slurp|facebookexternalhit|preview|telegrambot|whatsapp|curl|wget|python-requests|headless/i;
|
||||
|
||||
Reference in New Issue
Block a user