Skip to content

Commit 9319ebf

Browse files
committed
fix: use built-in friend icon & change style
1 parent d634d5e commit 9319ebf

4 files changed

Lines changed: 31 additions & 3 deletions

File tree

app/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function Footer() {
115115
rel="noopener noreferrer"
116116
className="group flex items-center gap-2 transition-colors hover:text-[#c49102] dark:hover:text-[#FFE600]"
117117
>
118-
<span className="rounded-sm border border-black/10 bg-white/90 p-1.5 dark:border-white/15 dark:bg-white/10">
118+
<span className="rounded-sm border border-black/10 bg-white/90 p-0.5 dark:border-white/15 dark:bg-white/10">
119119
<Image
120120
src={friend.iconSrc}
121121
alt={friend.iconAlt}

app/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ export const FRIEND_LINKS: FriendLink[] = [
6060
id: "endfield-terminal",
6161
name: "终末地-协议终端",
6262
href: "https://end.shallow.ink",
63-
iconSrc: "https://end.shallow.ink/icon.svg",
63+
iconSrc: "/friend/endfield-terminal.svg",
6464
iconAlt: "终末地-协议终端",
6565
},
6666
{
6767
id: "zmd-map",
6868
name: "终末地地图站",
6969
href: "https://www.zmdmap.com/",
70-
iconSrc: "https://assets.zmdmap.com/logo.png",
70+
iconSrc: "/friend/zmd-map.png",
7171
iconAlt: "终末地地图站",
7272
},
7373
];

public/friend/endfield-terminal.svg

Lines changed: 28 additions & 0 deletions
Loading

public/friend/zmd-map.png

229 KB
Loading

0 commit comments

Comments
 (0)