add category topic page

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
nurRiyad
2023-01-08 22:12:33 +06:00
parent 306a0e001f
commit acac2aff61
3 changed files with 31 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ const randbgcolor = ref(`${color.at(getRandomInt(0, 8))}`)
<template>
<div class="text-white px-5 py-3 rounded hover:underline randbgcolor">
<NuxtLink to="/" class="text-xl font-extrabold">
<NuxtLink :to="`/categories/${title}`" class="text-xl font-extrabold">
<h1>#{{ title }}</h1>
</NuxtLink>
</div>