add video chip to Odoo speed-run blog card on homepage + JS/CSS for video chips

This commit is contained in:
Oliver
2026-06-14 08:39:26 -03:00
parent 77bd7970e1
commit d6688c82a9
3 changed files with 10 additions and 0 deletions
+5
View File
@@ -1196,6 +1196,11 @@ section {
margin-bottom: 12px;
align-self: flex-start;
}
.blog-card-chip-video {
background: rgba(255, 0, 0, 0.1);
color: #ff4444;
border: 1px solid rgba(255, 0, 0, 0.3);
}
.blog-card-date {
font-size: 0.8rem;
color: var(--text-muted);
+4
View File
@@ -743,6 +743,9 @@ function blogRender() {
var chip = p.agent
? '<span class="blog-card-chip">' + p.agent + "</span>"
: "";
var videoChip = p.video
? '<span class="blog-card-chip blog-card-chip-video">&#9654; video</span>'
: "";
return (
'<a href="' +
p.link +
@@ -758,6 +761,7 @@ function blogRender() {
p.area +
"</span>" +
chip +
videoChip +
"</span>" +
'<span class="blog-card-date">' +
blogFormatDate(p.date) +
+1
View File
@@ -68,6 +68,7 @@
"date": "2026-06-10",
"area": "speed-run",
"agent": "hermes",
"video": true,
"headline": "Speed Run: Create an Odoo Community Agent from Zero",
"teaser": "From signup to an Odoo-connected AI agent in under 10 Minutes. Free trial included.",
"link": "blog/posts/speed-run-odoo-community-agent.html"