Skip to content

Commit

Permalink
update banner
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjyang committed Feb 29, 2024
1 parent 9e8e165 commit 364d57b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions website/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ const config: DocsThemeConfig = {
}
span:hover {
mask-position: 100%;
transition: mask-position 1s ease, -webkit-mask-position 1s ease;
transition:
mask-position 1s ease,
-webkit-mask-position 1s ease;
}
`}</style>
</span>
Expand Down Expand Up @@ -221,9 +223,9 @@ const config: DocsThemeConfig = {
if (isWrapped) {
const name = query?.name ?? 'My React app';
const id = (query.id as string).split('.')[0];
ogUrl = `https://telemetry.million.dev/api/v1/og/wrapped/${
id
}.mp4?name=${encodeURIComponent(name as any)}`;
ogUrl = `https://telemetry.million.dev/api/v1/og/wrapped/${id}.mp4?name=${encodeURIComponent(
name as any,
)}`;
title = name + ' Wrapped | Million.js';
}

Expand Down Expand Up @@ -265,8 +267,8 @@ const config: DocsThemeConfig = {
dismissible: true,
key: `version-${packageJson.version}`,
text: (
<a href="https://million.dev/blog/million-3" target="_blank">
Announcing Million 3
<a href="https://million.dev/blog/lint" target="_blank">
Million Lint is in public beta
</a>
),
},
Expand Down

0 comments on commit 364d57b

Please sign in to comment.