From a11944ac629b0a432137093217ff79b31d741221 Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Tue, 25 Apr 2023 10:51:39 +0200 Subject: [PATCH] Support movie covers as avatars --- src/App.vue | 2 +- src/api/instance.ts | 2 +- src/components/Avatar.vue | 4 ++-- src/components/ProfileCard.vue | 2 +- src/components/StaticPage.vue | 4 ++-- src/composables/instance.ts | 2 +- src/utils/ethereum.ts | 2 +- src/views/About.vue | 6 +++--- src/views/Ethereum.vue | 10 ++-------- src/views/LandingPage.vue | 31 ++++--------------------------- src/views/Profile.vue | 4 ++-- 11 files changed, 20 insertions(+), 49 deletions(-) diff --git a/src/App.vue b/src/App.vue index 23ad91b..d0c7de7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,7 +18,7 @@ loadInstanceInfo() watch($$(currentUser), () => { const title = currentUser ? `@${currentUser.username}` : "Federated social network" - document.title = `Mitra | ${title}` + document.title = `FediMovies.rocks | ${title}` }, { immediate: true }) diff --git a/src/api/instance.ts b/src/api/instance.ts index f3bd539..9c87cd0 100644 --- a/src/api/instance.ts +++ b/src/api/instance.ts @@ -41,7 +41,7 @@ export interface InstanceInfo { }, }, login_message: string; - blockchains: BlockchainInfo[]; + blockchains: BlockchainInfo[] | null; ipfs_gateway_url: string | null; } diff --git a/src/components/Avatar.vue b/src/components/Avatar.vue index 7c8dfa4..cbd2f6d 100644 --- a/src/components/Avatar.vue +++ b/src/components/Avatar.vue @@ -32,11 +32,11 @@ const avatarUrl = computed(() => {