From 752d481e83bb1ee98b963f5146fd29e008e6504d Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 10 Jun 2026 06:14:22 -0300 Subject: [PATCH] Blog: add blog950/blog1750 coupons, agent field + chip rendering in grid cards --- add.html | 2 +- blog/index.json | 1 + index.html | 19 ++++++++++++++++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/add.html b/add.html index bf29ac6..d60d01c 100644 --- a/add.html +++ b/add.html @@ -629,7 +629,7 @@ } /* ── Coupon Badges ──────────────────────────────────────── */ - const COUPONS = { friends499: 499, friends950: 950, creator950: 950, friends1750: 1750, blog499: 499 }; + const COUPONS = { friends499: 499, friends950: 950, creator950: 950, friends1750: 1750, blog499: 499, blog950: 950, blog1750: 1750 }; const PLAN_PRICES = { trainee: 499, junior: 950, senior: 1750 }; function centsToDollar(c) { return '$' + (c / 100).toFixed(2); } function updateCouponBadges() { diff --git a/blog/index.json b/blog/index.json index c154392..77d35d4 100644 --- a/blog/index.json +++ b/blog/index.json @@ -4,6 +4,7 @@ "id": "speed-run-odoo-community-agent", "date": "2026-06-10", "area": "speed-run", + "agent": "hermes", "headline": "Speed Run: Create an Odoo Community Agent from Zero", "teaser": "From signup to an Odoo-connected AI agent in under 5 minutes. Free trial included.", "link": "blog/posts/speed-run-odoo-community-agent.html" diff --git a/index.html b/index.html index 8b3276a..8cf2963 100644 --- a/index.html +++ b/index.html @@ -1144,6 +1144,20 @@ .blog-card-area.area-video-scripts { background: #00ff88; } .blog-card-area.area-speed-run { background: #f472b6; } .blog-card-area.area-default { background: #a78bfa; } + .blog-card-chip { + display: inline-block; + background: rgba(0,245,255,0.08); + color: #00f5ff; + border: 1px solid rgba(0,245,255,0.25); + font-size: 0.65rem; + font-weight: 600; + padding: 2px 10px; + border-radius: 20px; + text-transform: uppercase; + letter-spacing: 0.5px; + margin-bottom: 12px; + align-self: flex-start; + } .blog-card-date { font-size: 0.8rem; color: var(--text-muted); @@ -2858,7 +2872,7 @@ })(); /* ── Coupon Badges ──────────────────────────────────── */ - const COUPONS = { friends499: 499, friends950: 950, creator950: 950, friends1750: 1750, blog499: 499 }; + const COUPONS = { friends499: 499, friends950: 950, creator950: 950, friends1750: 1750, blog499: 499, blog950: 950, blog1750: 1750 }; const PLAN_PRICES = { trainee: 499, junior: 950, senior: 1750 }; function centsToDollar(c) { return '$' + (c / 100).toFixed(2); } function updateCouponBadges() { @@ -2912,8 +2926,11 @@ } grid.innerHTML = pagePosts.map(function(p) { + var chip = p.agent ? '' + p.agent + '' : ''; return '' + + '' + '' + p.area + '' + + chip + '' + '' + blogFormatDate(p.date) + '' + '

' + p.headline + '

' + '

' + p.teaser + '

' +