update category

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
nurRiyad
2022-12-19 02:22:32 +06:00
parent 4a0f4870c8
commit 94dcbfcbdd
4 changed files with 22 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
<template>
<div class="bg-white mx-5 my-2 p-6 rounded-md shadow-lg">
<nuxt-link to="/category/js" class="hover:underline">
<div class="bg-white mx-5 my-2 p-6 rounded-md shadow-lg group text-slate-800">
<nuxt-link to="/category/js" class="group-hover:text-sky-500">
<div class="flex items-center">
<h4 class="text-2xl text-slate-800 font-medium py-1">Typescript</h4>
<h4 class="text-2xl font-medium py-1">Typescript</h4>
</div>
</nuxt-link>
@@ -14,8 +14,10 @@
<p>433</p>
</div>
<nuxt-link class="hover:underline" to="/">
<p class="font-medium">All Js Post</p>
<nuxt-link class="group-hover:text-sky-500" to="/">
<p class="font-medium text-sm">
Read All Post <span class="hidden group-hover:inline"> ->> </span>
</p>
</nuxt-link>
</div>
</template>