change layout class

This commit is contained in:
2025-10-01 20:05:16 +07:00
parent 00c6d873e9
commit 4184918a5d
11 changed files with 46 additions and 28 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
<template>
<template v-if="post">
<NuxtLink class="project-card" :to="post.path">
<NuxtLink class="post-card" :to="post.path">
<img :src="baseUrl + '/portal/f/assets/' + post.coverImage" :alt="post?.title + 's cover image'"/>
<div class="project-card-content">
<div class="post-card-content">
<h3>{{ post.title }}</h3>
<p :title="post.description">{{ post.description }}</p>
<p class="mt-4 text-xs" :title="useFormatDate(post.dateUpdated)">{{ useRelativeDate(post.dateUpdated) }}</p>
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<section class="project-cards">
<section class="post-card-container">
<template v-for="post in posts" :key="post.id">
<PostCard :post="post" />
</template>
+5
View File
@@ -15,6 +15,11 @@ import WebThemeToggle from './web-theme-toggle.vue';
Powered by <a class="link" href="https://dailitation.xyz">dailitation.xyz</a>, <a class="link" href="https://github.com/TechitWinner/web">Source Code</a>.
</small>
</p>
<p>
<small>
More from me: <a class="link" href="https://unix.in.th">unix.in.th</a>, <NuxtLink class="link" href="/portal">Portal</NuxtLink> and <a class="link" href="https://uptime.dailitation.xyz">Network Status</a>
</small>
</p>
<WebThemeToggle/>
</section>
</div>