From 8f292147c930fe333cbff4dac5a0aa7186a31de9 Mon Sep 17 00:00:00 2001 From: Tempe Techie <95053628+tempe-techie@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:55:18 +0100 Subject: [PATCH] search posts feature (only in the general context for now) --- components/search/SearchPosts.vue | 112 ++++++++++++++++++++++++++++ components/sidebars/SidebarLeft.vue | 11 ++- nuxt.config.ts | 1 + pages/search-posts.vue | 37 +++++++++ 4 files changed, 159 insertions(+), 2 deletions(-) create mode 100644 components/search/SearchPosts.vue create mode 100644 pages/search-posts.vue diff --git a/components/search/SearchPosts.vue b/components/search/SearchPosts.vue new file mode 100644 index 00000000..a83268c7 --- /dev/null +++ b/components/search/SearchPosts.vue @@ -0,0 +1,112 @@ + + + \ No newline at end of file diff --git a/components/sidebars/SidebarLeft.vue b/components/sidebars/SidebarLeft.vue index d9ad7429..88cab8ab 100644 --- a/components/sidebars/SidebarLeft.vue +++ b/components/sidebars/SidebarLeft.vue @@ -130,7 +130,14 @@ + + + @@ -172,7 +179,7 @@ diff --git a/nuxt.config.ts b/nuxt.config.ts index 1d48e646..a50edaff 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -121,6 +121,7 @@ export default defineNuxtConfig({ "newsletter": false, "nftLaunchpad": true, "randomMintedPosts": true, + "searchPosts": true, "swap": true, "stake": false, "sendTokens": true, diff --git a/pages/search-posts.vue b/pages/search-posts.vue new file mode 100644 index 00000000..f862544f --- /dev/null +++ b/pages/search-posts.vue @@ -0,0 +1,37 @@ + + + \ No newline at end of file