feat(registry): add avatar promo and Slack notification templates (#3279)

* feat(registry): add avatar promo and Slack notification templates

* fix(registry): remove local emoji font dependency

* fix(docs): regenerate Slack template catalog source
This commit is contained in:
James Russo
2026-08-14 23:07:41 -07:00
committed by GitHub
parent de4062a933
commit b9a4dfcbe5
32 changed files with 3722 additions and 2 deletions
@@ -0,0 +1,93 @@
Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12) EBGaramond-Italic[wght].ttf: Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,93 @@
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 17 KiB

@@ -0,0 +1,352 @@
<!doctype html>
<html lang="en" data-resolution="portrait">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=1080, height=1920" />
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<style>
/* The source project used proprietary HeyGen brand fonts. These OFL faces
keep the public catalog block self-contained and redistributable. */
@font-face {
font-family: "AvatarDisplay";
src: url("assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
font-weight: 400 600;
font-display: block;
}
@font-face {
font-family: "AvatarDisplay";
src: url("assets/fonts/eb-garamond-latin-700-normal.woff2") format("woff2");
font-weight: 700 900;
font-display: block;
}
@font-face {
font-family: "AvatarSans";
src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
font-weight: 400;
font-display: block;
}
@font-face {
font-family: "AvatarSans";
src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2");
font-weight: 500;
font-display: block;
}
@font-face {
font-family: "AvatarSans";
src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
font-weight: 600 900;
font-display: block;
}
html,
body {
margin: 0;
padding: 0;
background: #000;
font-family: "AvatarSans", sans-serif;
}
/* palette: canvas #EAF6FA · ink #0A1418 · light tile #F7FCFE · dark tile #0B1215 ·
cyan #00C3FF (fills / dark-bg display only) · subhead #47545B */
#heygen-avatar-promo-card {
position: relative;
width: 1080px;
height: 1920px;
overflow: hidden;
}
.bgfill {
position: absolute;
inset: 0;
background: #eaf6fa;
}
.hdr {
position: absolute;
left: 0;
width: 1080px;
text-align: center;
color: #0a1418;
}
#apc-hdr-logo {
top: 118px;
height: 44px;
}
#apc-hdr-logo img {
height: 44px;
}
#apc-hdr-title {
top: 205px;
font-family: "AvatarDisplay", serif;
font-weight: 700;
font-size: 148px;
line-height: 150px;
letter-spacing: -0.02em;
}
#apc-hdr-subhead {
top: 524px;
font-family: "AvatarSans", sans-serif;
font-weight: 500;
font-size: 37px;
color: #47545b;
letter-spacing: -0.01em;
}
#apc-hdr-pills {
top: 1590px;
display: flex;
justify-content: center;
gap: 28px;
}
.pill {
border: 2px solid #0a1418;
border-radius: 999px;
padding: 0 42px;
height: 92px;
line-height: 88px;
font-family: "AvatarSans", sans-serif;
font-weight: 600;
font-size: 27px;
letter-spacing: 0.12em;
color: #0a1418;
}
#apc-belt-linear {
position: absolute;
top: 640px;
left: 0;
width: 2600px;
height: 784px;
}
#apc-belt-entry {
position: absolute;
inset: 0;
}
.tile {
position: absolute;
width: 362px;
height: 380px;
border-radius: 30px;
overflow: hidden;
display: block;
}
.row1 {
top: 0;
}
.row2 {
top: 404px;
}
.tile video {
width: 362px;
height: 380px;
object-fit: cover;
display: block;
}
.light {
background: #f7fcfe;
}
.dark {
background: #0b1215;
}
.cyan {
background: #00c3ff;
}
.serif-tile {
display: flex;
align-items: center;
justify-content: center;
font-family: "AvatarDisplay", serif;
font-weight: 500;
font-size: 165px;
color: #0a1418;
}
.brand-tile {
display: flex;
align-items: center;
justify-content: center;
}
.brand-tile img {
width: 240px;
}
.code-tile {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 26px;
}
.code-tile .code {
font-family: "AvatarSans", sans-serif;
font-weight: 600;
font-size: 26px;
letter-spacing: 0.42em;
color: #8fa3ad;
text-indent: 0.42em;
}
.code-tile .promo {
font-family: "AvatarSans", sans-serif;
font-weight: 800;
font-size: 92px;
letter-spacing: -0.01em;
}
.code-tile .promo .gen {
color: #00c3ff;
}
.code-tile .promo .n25 {
color: #fbfcfc;
}
</style>
</head>
<body>
<div
id="heygen-avatar-promo-card"
data-composition-id="heygen-avatar-promo-card"
data-start="0"
data-width="1080"
data-height="1920"
data-duration="10"
data-fps="25"
>
<div class="bgfill"></div>
<!-- belt: geometry + motion law measured from the reference (see reversal spec) -->
<div id="apc-belt-linear">
<div id="apc-belt-entry">
<!-- row 1 -->
<div class="tile row1 cyan brand-tile" style="left: 139.1px">
<img src="assets/heygen-logo.svg?t=1" alt="" />
</div>
<video
class="tile row1 clip"
id="apc-v-r1k1"
src="assets/av_r1k1.mp4"
style="left: 523.4px"
data-start="0"
data-duration="8.60"
data-track-index="1"
muted
playsinline
></video>
<div class="tile row1 light serif-tile" style="left: 907.7px">25%</div>
<video
class="tile row1 clip"
id="apc-v-r1k3"
src="assets/av_r1k3.mp4"
style="left: 1292px"
data-start="1.44"
data-duration="8.56"
data-track-index="2"
muted
playsinline
></video>
<video
class="tile row1 clip"
id="apc-v-r1k4"
src="assets/av_r1k4.mp4"
style="left: 1676.3px"
data-start="5.56"
data-duration="4.44"
data-track-index="3"
muted
playsinline
></video>
<div class="tile row1 cyan" style="left: 2060.6px"></div>
<!-- row 2 -->
<video
class="tile row2 clip"
id="apc-v-r2k0"
src="assets/av_r2k0.mp4"
style="left: 139.1px"
data-start="0"
data-duration="4.48"
data-track-index="4"
muted
playsinline
></video>
<div class="tile row2 light serif-tile" style="left: 523.4px; font-size: 146px">OFF</div>
<video
class="tile row2 clip"
id="apc-v-r2k2"
src="assets/av_r2k2.mp4"
style="left: 907.7px"
data-start="0"
data-duration="10"
data-track-index="5"
muted
playsinline
></video>
<div class="tile row2 dark code-tile" style="left: 1292px">
<div class="code">CODE</div>
<div class="promo"><span class="gen">GEN</span><span class="n25">25</span></div>
</div>
<div class="tile row2 light brand-tile" style="left: 1676.3px">
<img src="assets/heygen-logo.svg?t=2" alt="" />
</div>
<div class="tile row2 dark" style="left: 2060.6px"></div>
</div>
</div>
<!-- header block -->
<div class="hdr" id="apc-hdr-logo"><img src="assets/heygen-logo.svg" alt="HeyGen" /></div>
<div class="hdr" id="apc-hdr-title">
Your avatar,
<div>by HeyGen.</div>
</div>
<div class="hdr" id="apc-hdr-subhead">AI video, camera-free.</div>
<div class="hdr" id="apc-hdr-pills">
<div class="pill">4K AVATARS</div>
<div class="pill">NO CAMERA NEEDED</div>
</div>
<audio
id="apc-bgm"
class="clip"
src="assets/bgm.m4a"
data-start="0"
data-duration="10"
data-track-index="0"
></audio>
</div>
<script>
const tl = gsap.timeline({ paused: true });
// Belt conveyor — measured from reference: 93.601 px/s constant, leftward
tl.fromTo("#apc-belt-linear", { x: 0 }, { x: -936.01, duration: 10, ease: "none" }, 0);
// Belt entry — measured offset table, one keyframe per source frame, linear between
const entryX = [
0, -11.39, -21.64, -30.9, -39.04, -46.29, -52.55, -57.98, -62.72, -66.71, -69.99, -72.75,
-74.86, -76.52, -77.85, -78.8, -79.36, -79.75, -79.87, -79.94, -80.0,
];
for (let i = 1; i < entryX.length; i++) {
tl.fromTo(
"#apc-belt-entry",
{ x: entryX[i - 1] },
{ x: entryX[i], duration: 0.04, ease: "none", immediateRender: i === 1 },
(i - 1) * 0.04,
);
}
// Header waterfall — measured fades
tl.fromTo(
"#apc-hdr-logo",
{ autoAlpha: 0 },
{ autoAlpha: 1, duration: 0.4, ease: "power2.out" },
0.0,
);
tl.fromTo(
"#apc-hdr-title",
{ autoAlpha: 0 },
{ autoAlpha: 1, duration: 0.6, ease: "power2.out" },
0.1,
);
tl.fromTo(
"#apc-hdr-subhead",
{ autoAlpha: 0 },
{ autoAlpha: 1, duration: 0.4, ease: "power2.out" },
0.5,
);
// pills static from frame 0
window.__timelines = window.__timelines || {};
window.__timelines["heygen-avatar-promo-card"] = tl;
</script>
</body>
</html>
@@ -0,0 +1,91 @@
{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "heygen-avatar-promo-card",
"type": "hyperframes:block",
"title": "HeyGen Avatar Promo Card",
"description": "A portrait HeyGen offer card pairs a moving avatar mosaic with bold promotional typography and a branded callout",
"tags": ["showcase", "avatar", "promotion", "vertical", "ad-template"],
"author": "HeyGen",
"dimensions": {
"width": 1080,
"height": 1920
},
"duration": 10,
"files": [
{
"path": "heygen-avatar-promo-card.html",
"target": "compositions/heygen-avatar-promo-card.html",
"type": "hyperframes:composition"
},
{
"path": "assets/av_r1k1.mp4",
"target": "assets/av_r1k1.mp4",
"type": "hyperframes:asset"
},
{
"path": "assets/av_r1k3.mp4",
"target": "assets/av_r1k3.mp4",
"type": "hyperframes:asset"
},
{
"path": "assets/av_r1k4.mp4",
"target": "assets/av_r1k4.mp4",
"type": "hyperframes:asset"
},
{
"path": "assets/av_r2k0.mp4",
"target": "assets/av_r2k0.mp4",
"type": "hyperframes:asset"
},
{
"path": "assets/av_r2k2.mp4",
"target": "assets/av_r2k2.mp4",
"type": "hyperframes:asset"
},
{
"path": "assets/bgm.m4a",
"target": "assets/bgm.m4a",
"type": "hyperframes:asset"
},
{
"path": "assets/heygen-logo.svg",
"target": "assets/heygen-logo.svg",
"type": "hyperframes:asset"
},
{
"path": "assets/fonts/inter-latin-400-normal.woff2",
"target": "assets/fonts/inter-latin-400-normal.woff2",
"type": "hyperframes:asset"
},
{
"path": "assets/fonts/inter-latin-500-normal.woff2",
"target": "assets/fonts/inter-latin-500-normal.woff2",
"type": "hyperframes:asset"
},
{
"path": "assets/fonts/inter-latin-600-normal.woff2",
"target": "assets/fonts/inter-latin-600-normal.woff2",
"type": "hyperframes:asset"
},
{
"path": "assets/fonts/inter-LICENSE.txt",
"target": "assets/fonts/inter-LICENSE.txt",
"type": "hyperframes:asset"
},
{
"path": "assets/fonts/eb-garamond-latin-400-normal.woff2",
"target": "assets/fonts/eb-garamond-latin-400-normal.woff2",
"type": "hyperframes:asset"
},
{
"path": "assets/fonts/eb-garamond-latin-700-normal.woff2",
"target": "assets/fonts/eb-garamond-latin-700-normal.woff2",
"type": "hyperframes:asset"
},
{
"path": "assets/fonts/eb-garamond-LICENSE.txt",
"target": "assets/fonts/eb-garamond-LICENSE.txt",
"type": "hyperframes:asset"
}
]
}