From 1776f229fc0d9ae936e71d34022facdf7a854a5a Mon Sep 17 00:00:00 2001 From: npmrun <1549469775@qq.com> Date: Sat, 18 Apr 2026 23:16:00 +0800 Subject: [PATCH] feat(profile): add optional icon support for social links and update related components --- app/components/PostBodyMarkdownEditor.vue | 23 +- app/composables/usePublicHomeLayout.ts | 2 +- app/pages/@[publicSlug]/index.vue | 441 +++++++++++++++++------------- app/pages/me/posts/[id].vue | 13 +- app/pages/me/profile/index.vue | 12 +- app/utils/social-link-icon.ts | 87 ++++++ packages/drizzle-pkg/db.sqlite | Bin 143360 -> 143360 bytes server/api/me/profile.put.ts | 2 +- server/service/profile/index.ts | 17 ++ 9 files changed, 391 insertions(+), 206 deletions(-) create mode 100644 app/utils/social-link-icon.ts diff --git a/app/components/PostBodyMarkdownEditor.vue b/app/components/PostBodyMarkdownEditor.vue index 7a4bf65..e99df00 100644 --- a/app/components/PostBodyMarkdownEditor.vue +++ b/app/components/PostBodyMarkdownEditor.vue @@ -1,6 +1,5 @@