mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 11:36:05 +00:00
update not found icons (#7289)
This commit is contained in:
@@ -2075,7 +2075,7 @@ if (!route.name.startsWith('type-project-settings')) {
|
||||
ogImage: () =>
|
||||
project.value
|
||||
? (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,
|
||||
robots: () => (project.value?.status === 'approved' ? 'all' : 'noindex'),
|
||||
})
|
||||
|
||||
@@ -112,7 +112,7 @@ useSeoMeta({
|
||||
ogImage: () =>
|
||||
prefetchedUser
|
||||
? (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)
|
||||
|
||||
Reference in New Issue
Block a user