diff --git a/.vscode/settings.json b/.vscode/settings.json index 6c394569d..4ff1db327 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,6 +16,7 @@ "cSpell.words": [ "afterbegin", "afterend", + "akari", "BALH", "Bangumi", "bevo", diff --git a/registry/lib/components/style/custom-navbar/user-info/UserFace.vue b/registry/lib/components/style/custom-navbar/user-info/UserFace.vue index fdbf15140..3f790034f 100644 --- a/registry/lib/components/style/custom-navbar/user-info/UserFace.vue +++ b/registry/lib/components/style/custom-navbar/user-info/UserFace.vue @@ -9,9 +9,9 @@ import { getUserInfo } from '@/core/user-info' import { getDpiSourceSet } from '@/core/utils' import { EmptyImageUrl } from '@/core/utils/constants' +import notLoginFaceUrl from './akari.jpg' const noFaceUrl = '//static.hdslb.com/images/member/noface.gif' -const notLoginFaceUrl = 'https://static.hdslb.com/images/akari.jpg' export default Vue.extend({ name: 'UserFace', data() { diff --git a/registry/lib/components/style/custom-navbar/user-info/akari.jpg b/registry/lib/components/style/custom-navbar/user-info/akari.jpg new file mode 100644 index 000000000..5e5ea0bc9 Binary files /dev/null and b/registry/lib/components/style/custom-navbar/user-info/akari.jpg differ diff --git a/src/shims.d.ts b/src/shims.d.ts index 3375deaf6..96d641bf3 100644 --- a/src/shims.d.ts +++ b/src/shims.d.ts @@ -23,3 +23,7 @@ declare module '*.svg' { const svg: string export default svg } +declare module '*.jpg' { + const jpg: string + export default jpg +}