From 4e1acb6af686bf4461eccc8716289d8d96adf209 Mon Sep 17 00:00:00 2001 From: nurRiyad Date: Sun, 2 Jun 2024 13:59:08 +0600 Subject: [PATCH] Read all static data from one file Signed-off-by: nurRiyad --- app.vue | 56 ++-------------------- components/archive/hero.vue | 8 +++- components/category/hero.vue | 8 +++- components/footer/connect.vue | 7 ++- components/footer/developer.vue | 9 ++-- components/footer/site.vue | 6 ++- components/main/footer.vue | 1 - components/main/header.vue | 4 +- components/main/hero.vue | 9 ++-- data/index.ts | 84 +++++++++++++++++++++++++++++++++ pages/about.vue | 8 ++-- pages/blogs/[blog].vue | 7 +-- 12 files changed, 133 insertions(+), 74 deletions(-) create mode 100644 data/index.ts diff --git a/app.vue b/app.vue index df88d5e..24b1152 100644 --- a/app.vue +++ b/app.vue @@ -1,61 +1,11 @@ diff --git a/components/archive/hero.vue b/components/archive/hero.vue index 7a0e6de..8b04d14 100644 --- a/components/archive/hero.vue +++ b/components/archive/hero.vue @@ -1,12 +1,16 @@ + +