mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
update not found icons (#7289)
This commit is contained in:
@@ -2075,7 +2075,7 @@ if (!route.name.startsWith('type-project-settings')) {
|
|||||||
ogImage: () =>
|
ogImage: () =>
|
||||||
project.value
|
project.value
|
||||||
? (project.value?.icon_url ?? 'https://cdn-raw.modrinth.com/placeholder-square.png')
|
? (project.value?.icon_url ?? 'https://cdn-raw.modrinth.com/placeholder-square.png')
|
||||||
: 'https://cdn-raw.modrinth.com/not-found-transparent.png',
|
: 'https://cdn-raw.modrinth.com/not-found.png',
|
||||||
ogUrl: createCanonicalUrl,
|
ogUrl: createCanonicalUrl,
|
||||||
robots: () => (project.value?.status === 'approved' ? 'all' : 'noindex'),
|
robots: () => (project.value?.status === 'approved' ? 'all' : 'noindex'),
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ useSeoMeta({
|
|||||||
ogImage: () =>
|
ogImage: () =>
|
||||||
prefetchedUser
|
prefetchedUser
|
||||||
? (prefetchedUser?.avatar_url ?? 'https://cdn-raw.modrinth.com/placeholder-circle.png')
|
? (prefetchedUser?.avatar_url ?? 'https://cdn-raw.modrinth.com/placeholder-circle.png')
|
||||||
: 'https://cdn-raw.modrinth.com/not-found-transparent.png',
|
: 'https://cdn-raw.modrinth.com/not-found-circle.png',
|
||||||
})
|
})
|
||||||
|
|
||||||
const projectCreateModal = ref<InstanceType<typeof ProjectCreateModal> | null>(null)
|
const projectCreateModal = ref<InstanceType<typeof ProjectCreateModal> | null>(null)
|
||||||
|
|||||||
Reference in New Issue
Block a user