This commit is contained in:
sijinhui
2024-05-09 11:23:47 +08:00
parent 40aadf291f
commit b449d87252
6 changed files with 29 additions and 16 deletions

View File

@@ -14,7 +14,8 @@ export function getEmojiUrl(unified: string, style: EmojiStyle) {
// Old CDN broken, so I had to switch to this one
// Author: https://github.com/H0llyW00dzZ
// return `https://fastly.jsdelivr.net/npm/emoji-datasource-apple/img/${style}/64/${unified}.png`;
return `https://cdn.bootcdn.net/ajax/libs/emoji-datasource-apple/15.1.2/img/${style}/64/${unified}.png`;
// return `https://cdn.bootcdn.net/ajax/libs/emoji-datasource-apple/15.1.2/img/${style}/64/${unified}.png`;
return `https://cdn.staticfile.net/emoji-datasource-apple/15.0.1/img/${style}/64/${unified}.png`;
}
export function AvatarPicker(props: {

View File

@@ -27,7 +27,7 @@ export function RewardPage() {
style={{ position: "absolute", top: 0, left: 0, right: 0, bottom: 0 }}
>
<Image
src="https://cos.xiaosi.cc/img/zanshang.jpeg"
src="https://oss.xiaosi.cc/web_img/zanshang.jpeg!webp"
alt="打赏"
layout="fill"
objectFit="cover" // Optional: you can use this if you want the image to cover the entire area without stretching