Read all static data from one file
Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import { categoryPage } from '~/data'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="container mx-auto">
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 items-center">
|
||||
<div class="px-6">
|
||||
<h1 class="text-black dark:text-zinc-300 font-semibold leading-tight text-4xl md:text-5xl my-5">
|
||||
Categories
|
||||
{{ categoryPage.title }}
|
||||
</h1>
|
||||
<p class="dark:text-zinc-300">
|
||||
Blow this category is generated from all the tags are mentioned in the different blog post
|
||||
{{ categoryPage.description }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-6 justify-self-center">
|
||||
|
||||
Reference in New Issue
Block a user