Nuxt Content 3 migration #12

Merged
eggy merged 81 commits from js into master 2022-08-10 18:38:39 -04:00
3 changed files with 12 additions and 4 deletions
Showing only changes of commit 876ef91f63 - Show all commits

View File

@ -58,3 +58,9 @@ const prettyDate = latestDate.format("DD MMM YYYY");
</HomeStatBox>
</div>
</template>
<style scoped>
h2 {
overflow-wrap: break-word;
}
</style>

View File

@ -23,7 +23,7 @@ const imgUrl = `url(/assets/images/projects/${project.img ?? ""})`;
<div class="card-text h-full bg-white p-4 pt-2">
<div>
<h3 class="m-0">{{ project.name }}</h3>
<div class="flex gap-1 items-center">
<div class="flex gap-1 items-center flex-nowrap">
<img
class="h-5 w-5 m-0"
:src="`/assets/images/langs/${lang}.svg`"

View File

@ -52,8 +52,10 @@ const prettyDate = latestDate.format("DD MMM YYYY");
</template>
</ContentRenderer>
-->
<p class="excerpt text-gray-600 dark:text-gray-300 text-base m-0 mt-5">
{{ latest.description }}
<p
class="excerpt text-gray-600 dark:text-gray-300 text-base m-0 mt-5 text-ellipsis"
>
{{ latest.description }} ...
</p>
</HomeStatBox>
</div>
@ -61,6 +63,6 @@ const prettyDate = latestDate.format("DD MMM YYYY");
<style scoped>
h2 {
word-break: break-all;
overflow-wrap: break-word;
}
</style>