From cfab2acdece6b146c5895ebb7e56546668e8d111 Mon Sep 17 00:00:00 2001 From: demogorgod Date: Thu, 5 Oct 2023 11:12:51 -0400 Subject: [PATCH] Move blog logic to a composable --- apps/landing/src/App.vue | 11 +- apps/landing/src/composables/blogs.ts | 67 ++++++ apps/landing/src/composables/router.ts | 6 + apps/landing/src/pages/blog/Blog.vue | 222 ++++++------------ .../src/pages/blog/components/SingleBlog.vue | 117 +++++++++ .../landing/src/pages/changelog/Changelog.vue | 3 - 6 files changed, 267 insertions(+), 159 deletions(-) create mode 100644 apps/landing/src/composables/blogs.ts create mode 100644 apps/landing/src/pages/blog/components/SingleBlog.vue diff --git a/apps/landing/src/App.vue b/apps/landing/src/App.vue index 7732282cf..e632401dc 100644 --- a/apps/landing/src/App.vue +++ b/apps/landing/src/App.vue @@ -1,4 +1,13 @@ - +