diff --git a/public/qrcode.png b/public/qrcode.png new file mode 100644 index 0000000..d2b5018 Binary files /dev/null and b/public/qrcode.png differ diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index bc0fecd..a70a46e 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -128,12 +128,12 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url width: 100%; } /* 确保所有图片不会溢出容器 */ - img { + .prose img { margin-left: auto; margin-right: auto; max-width: 100%; } - iframe { + .prose iframe { margin-left: auto; margin-right: auto; max-width: 100%; diff --git a/src/components/ContentFooter.astro b/src/components/ContentFooter.astro new file mode 100644 index 0000000..b471190 --- /dev/null +++ b/src/components/ContentFooter.astro @@ -0,0 +1,14 @@ +
+
+
感谢阅读到这里,期待收到更多的反馈
+
+
欢迎关注公众号
+
kazoottt
+ 公众号二维码 +
+
+
diff --git a/src/components/layout/Footer.astro b/src/components/layout/Footer.astro index 5eea6e8..6b5a08c 100644 --- a/src/components/layout/Footer.astro +++ b/src/components/layout/Footer.astro @@ -11,6 +11,16 @@ const year = new Date().getFullYear(); © {siteConfig.author} {year}. 🚀 {siteConfig.title} +
+ +
公众号:kazoottt
+