generated from halo-dev/plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35ab602
commit 07595dc
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import AvatarProvider from './avatar-provider'; | ||
|
||
class Cravatar extends AvatarProvider { | ||
override getAvatarSrc(emailHash: string | undefined): string { | ||
return `${this.url}/avatar/${emailHash}`; | ||
} | ||
} | ||
|
||
export default new Cravatar('Cravatar', 'https://cravatar.cn'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import AvatarProvider from './avatar-provider'; | ||
|
||
class Weavatar extends AvatarProvider { | ||
override getAvatarSrc(emailHash: string | undefined): string { | ||
return `${this.url}/avatar/${emailHash}`; | ||
} | ||
} | ||
|
||
export default new Weavatar('Weavatar', 'https://weavatar.com'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters