Skip to content

Commit 12421e0

Browse files
committed
feat: add UUID dependency and update AboutDialog and PostInfo components
- Added `uuid` as a dependency in `package.json`. - Updated links in `AboutDialog.vue` to reflect new repository. - Modified `PostInfo.vue` to support new data structures and functionalities, including image processing and platform selection. - Introduced new utility functions in `extension.ts` for handling extension interactions and data synchronization.
1 parent 8f65e29 commit 12421e0

File tree

5 files changed

+360
-93
lines changed

5 files changed

+360
-93
lines changed

apps/web/src/components/editor/editor-header/AboutDialog.vue

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ function onUpdate(val: boolean) {
1515
}
1616
1717
const links = [
18-
{ label: `GitHub 仓库`, url: `https://github.com/doocs/md` },
19-
{ label: `Gitee 仓库`, url: `https://gitee.com/doocs/md` },
20-
{ label: `GitCode 仓库`, url: `https://gitcode.com/doocs/md` },
18+
{ label: `GitHub 仓库`, url: `https://github.com/leaper-one/multipost-wechat-markdown-editor` },
19+
{ label: `原项目`, url: `https://github.com/doocs/md` },
2120
]
2221
2322
function onRedirect(url: string) {
@@ -32,16 +31,19 @@ function onRedirect(url: string) {
3231
<DialogTitle>关于</DialogTitle>
3332
</DialogHeader>
3433
<div class="text-center">
35-
<h3>一款高度简洁的微信 Markdown 编辑器</h3>
36-
<p>扫码关注公众号 Doocs,原创技术内容第一时间推送!</p>
34+
<h3>MultiPost - Markdown 编辑器</h3>
35+
<p>适配 MultiPost 文章同步助手</p>
36+
<p class="mt-2 text-sm text-gray-500">
37+
本项目基于 <a href="https://github.com/doocs/md" target="_blank" class="text-blue-500 hover:underline">doocs/md</a> 进行改造,特此感谢!
38+
</p>
3739
<img
3840
class="mx-auto my-5"
39-
src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png"
40-
alt="Doocs Markdown 编辑器"
41+
src="@/assets/images/favicon.png"
42+
alt="MultiPost Markdown 编辑器"
4143
style="width: 40%"
4244
>
4345
</div>
44-
<DialogFooter class="sm:justify-evenly flex flex-wrap gap-2">
46+
<DialogFooter class="sm:justify-evenly">
4547
<Button
4648
v-for="link in links"
4749
:key="link.url"

0 commit comments

Comments
 (0)