diff --git a/components/WebMention.js b/components/WebMention.js index a22a6e60..ceee4173 100644 --- a/components/WebMention.js +++ b/components/WebMention.js @@ -1,6 +1,7 @@ import BLOG from '@/blog.config' import { useEffect, useState } from 'react' import { useRouter } from 'next/router' +import Image from 'next/image' /** * 评论插件 @@ -142,8 +143,11 @@ const WebMentionBlock = ({ frontMatter }) => { const tweet = `${frontMatter.title} by @siygle ${url}` return ( -
-
+
+

+ powered by WebMention +

+
This post is using{' '} WebMention.io diff --git a/styles/globals.css b/styles/globals.css index 73e733f6..41a35f37 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -225,12 +225,19 @@ nav { } /* Webmention style */ -.post-footer { +.webmention-block { background: rgba(0, 116, 222, .2); padding: 1rem 2rem; border-radius: 5px; } +.webmention-header { + font-style: italic; + font-weight: 700; + font-size: 16px; + margin-bottom: .5rem; +} + .webmention { margin-top: 1rem; padding-top: 1rem;