-
Notifications
You must be signed in to change notification settings - Fork 1
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
0c3969d
commit 5967883
Showing
8 changed files
with
36 additions
and
32 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
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 |
---|---|---|
@@ -1,28 +1,32 @@ | ||
<template> | ||
<div> | ||
<span class="blog-aside-title mb-2 block">Continue Reading</span> | ||
<ul class="list-none"> | ||
<template v-for="(other, index) in surround" :key="index"> | ||
<li v-if="other" class="first:mt-0 mt-4 md:mt-1"> | ||
<NuxtLink | ||
:to="other._path + '/'" | ||
class="hover:underline hover:text-brand_primary_light dark:hover:text-brand_primary_dark" | ||
:aria-label="other.headline" | ||
> | ||
{{ other.headline }} | ||
</NuxtLink> | ||
<p class="!no-underline md:hidden text-sm leading-sm md:text-xs md:leading-xs mt-1">{{ other.excerpt }}</p> | ||
</li> | ||
</template> | ||
</ul> | ||
</div> | ||
<div> | ||
<span class="blog-aside-title mb-2 block">Continue Reading</span> | ||
<ul class="list-none"> | ||
<template v-for="(other, index) in surround" :key="index"> | ||
<li v-if="other" class="first:mt-0 mt-4 md:mt-1"> | ||
<NuxtLink | ||
:to="other._path + '/'" | ||
class="hover:underline hover:text-brand_primary_light dark:hover:text-brand_primary_dark" | ||
:aria-label="other.headline" | ||
> | ||
{{ other.headline }} | ||
</NuxtLink> | ||
<p | ||
class="!no-underline md:hidden text-sm leading-sm md:text-xs md:leading-xs mt-1" | ||
> | ||
{{ other.description }} | ||
</p> | ||
</li> | ||
</template> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
defineProps({ | ||
surround: { | ||
type: Array, | ||
required: true | ||
} | ||
surround: { | ||
type: Array, | ||
required: true, | ||
}, | ||
}); | ||
</script> |
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
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
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