diff --git a/src/middleware/redirect.global.ts b/src/middleware/redirect.global.ts index f6c0a5e..5a70fb1 100644 --- a/src/middleware/redirect.global.ts +++ b/src/middleware/redirect.global.ts @@ -1,6 +1,6 @@ /* eslint-disable node/prefer-global/process */ export default defineNuxtRouteMiddleware((to) => { - if (to.path === '/bookmarks' || to.path === '/writing' && process.env.NODE_ENV !== 'development') { + if (to.path === '/writing' && process.env.NODE_ENV !== 'development') { return navigateTo('/', { redirectCode: 301, }) diff --git a/src/pages/bookmarks.vue b/src/pages/bookmarks.vue index f5c4da8..be518f9 100644 --- a/src/pages/bookmarks.vue +++ b/src/pages/bookmarks.vue @@ -99,49 +99,47 @@ function getColor() { -
-
+
+
-
+
-
-

-
- - -
-

- {{ bookmark.name }} -

- - - -
-
-

-
+

+
+ + +
+

+ {{ bookmark.name }} +

+ + + +
+
+

+
+
+ + {{ category.category.name }} +
-
- - {{ category.category.name }} - -
-

+

{{ bookmark.website.replace('https://', '') }}

diff --git a/src/pages/talents.vue b/src/pages/talents.vue index 71c2b61..0f91824 100644 --- a/src/pages/talents.vue +++ b/src/pages/talents.vue @@ -190,7 +190,7 @@ async function suggest() {
-
+