Skip to content

Commit 78beae7

Browse files
committed
fix unused translation and move authors above article to match incoming pr
1 parent 35d0a85 commit 78beae7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

app/components/AuthorList.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const { resolvedAuthors } = useAuthorProfiles(props.authors)
2121
:href="author.profileUrl"
2222
target="_blank"
2323
rel="noopener noreferrer"
24+
:aria-label="$t('blog.author.view_profile', { name: author.name })"
2425
class="text-xs text-fg-muted hover:text-primary transition-colors"
2526
>
2627
@{{ author.blueskyHandle }}

app/components/BlogPostWrapper.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ const blueskyPostUri = computed(() => blueskyLink.value?.postUri ?? null)
2222

2323
<template>
2424
<main class="container w-full py-8">
25+
<div v-if="frontmatter.authors" class="mb-12 max-w-prose mx-auto">
26+
<div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
27+
<AuthorList :authors="frontmatter.authors" variant="expanded" />
28+
</div>
29+
</div>
2530
<article class="max-w-prose mx-auto p-2 border-b border-border prose dark:prose-invert">
2631
<div class="text-sm text-fg-muted font-mono mb-4">
2732
<DateTime :datetime="frontmatter.date" year="numeric" month="short" day="numeric" />
2833
</div>
2934
<slot />
3035
</article>
31-
<article v-if="frontmatter.authors" class="mt-12 max-w-prose mx-auto">
32-
<div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
33-
<AuthorList :authors="frontmatter.authors" variant="expanded" />
34-
</div>
35-
</article>
3636

3737
<!--
3838
- Only renders if Constellation found a Bluesky post linking to this slug

0 commit comments

Comments
 (0)