Skip to content

Commit

Permalink
fix: avatar & activity icon load failed (#105)
Browse files Browse the repository at this point in the history
fixed #104
  • Loading branch information
zhuozhiyongde authored Oct 9, 2023
1 parent 8e2efef commit 11ccb0d
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 49 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"markdown-to-jsx": "npm:@innei/markdown-to-jsx@7.2.1-beta.0",
"medium-zoom": "1.0.8",
"mermaid": "10.5.0",
"next": "13.5.4",
"next": "13.5.2",
"next-themes": "0.2.1",
"openai": "4.11.1",
"qrcode.react": "3.1.0",
Expand All @@ -86,7 +86,7 @@
"@iconify/tailwind": "0.1.3",
"@innei/eslint-config-react-ts": "0.11.1",
"@innei/prettier": "0.11.1",
"@next/bundle-analyzer": "13.5.4",
"@next/bundle-analyzer": "13.5.2",
"@tailwindcss/typography": "0.5.10",
"@types/js-cookie": "3.0.4",
"@types/markdown-escape": "1.1.1",
Expand Down
104 changes: 59 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/components/layout/header/internal/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const appLabels: { [app: string]: string } = {
IINA: 'iina',
Warp: 'warp',
RemNote: 'remnote',
Goodnotes: 'goodnotes',

访达: 'finder',
邮件: 'mail',
Expand Down
3 changes: 1 addition & 2 deletions src/components/layout/header/internal/SiteOwnerAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import { useQuery } from '@tanstack/react-query'
import { useCallback } from 'react'
import Image from 'next/image'

import { clsxm } from '~/lib/helper'
import {
Expand Down Expand Up @@ -47,7 +46,7 @@ export const SiteOwnerAvatar: Component = ({ className }) => {
className,
)}
>
<Image
<img
src={avatar}
alt="Site Owner Avatar"
width={40}
Expand Down

1 comment on commit 11ccb0d

@vercel
Copy link

@vercel vercel bot commented on 11ccb0d Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

springtide.vercel.app
shiro-git-main-innei.vercel.app
shiro-innei.vercel.app
innei.in

Please sign in to comment.