update blog

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
nurRiyad
2023-01-09 00:47:58 +06:00
parent 5f41fe784d
commit a17ca2999f
6 changed files with 16 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ defineProps<{
<template>
<article class="group border p-5 m-2 rounded-2xl shadow-lg text-zinc-700">
<NuxtLink to="/home" class="grid grid-cols-1 sm:grid-cols-9 gap-5">
<NuxtLink :to="slug" class="grid grid-cols-1 sm:grid-cols-9 gap-5">
<div class="sm:col-span-2">
<img
class="lg:h-48 md:h-36 sm:h-36 w-full object-cover object-center rounded-2xl shadow-lg group-hover:scale-[1.05] transition-all duration-500"

View File

@@ -9,7 +9,7 @@ defineProps<{
<template>
<article class="group border p-5 m-2 rounded-2xl shadow-lg text-zinc-700">
<NuxtLink to="/home" class="">
<NuxtLink :to="slug" class="">
<img
class="lg:h-48 md:h-36 w-full object-cover object-center rounded-2xl shadow-lg group-hover:scale-[1.05] transition-all duration-500"
src="/blogs/hello-world/riyad.jpg"

View File

View File

@@ -0,0 +1,5 @@
<template>
<div class="py-5 px-2 m-2 text-center prose-h1:no-underline">
<slot />
</div>
</template>