From 04492c3813dd0eaae85b51e32fb878e7c7548ba7 Mon Sep 17 00:00:00 2001 From: Logan Date: Fri, 18 Oct 2024 11:54:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=B0=86=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=90=8D=E7=A7=B0=E6=8A=BD=E5=8F=96=E5=88=B0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.config.ts | 6 ++++++ components/dashboard/Breadcrumb.vue | 3 ++- components/home/Hero.vue | 4 ++-- components/home/Twitter.vue | 4 +++- components/layouts/Footer.vue | 28 +++++++++++++++------------- components/layouts/Header.vue | 17 +++++++++-------- 6 files changed, 37 insertions(+), 25 deletions(-) diff --git a/app.config.ts b/app.config.ts index 919ec00..ae92df8 100644 --- a/app.config.ts +++ b/app.config.ts @@ -1,5 +1,11 @@ export default defineAppConfig({ title: 'Sink', + twitter: 'https://x.com/0xKaiBi', + github: 'https://github.com/ccbikai/sink', + email: 'sink.cool@miantiao.me', + telegram: 'https://t.me/htmlzone', + mastodon: 'https://miantiao.me/@chi', + blog: 'https://mt.ci', description: 'A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.', image: 'https://sink.cool/banner.png', previewTTL: 24 * 3600, // 24h diff --git a/components/dashboard/Breadcrumb.vue b/components/dashboard/Breadcrumb.vue index ad84c85..5cd5077 100644 --- a/components/dashboard/Breadcrumb.vue +++ b/components/dashboard/Breadcrumb.vue @@ -7,6 +7,7 @@ defineProps({ required: true, }, }) +const { title } = useAppConfig()