change layout class
This commit is contained in:
@@ -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,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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user