feat: use h1 for site name

This commit is contained in:
DIYgod
2023-05-16 16:48:59 +01:00
parent 13d1300c23
commit ad2d3bf7d5
+2 -2
View File
@@ -250,9 +250,9 @@ export const SiteHeader: React.FC<{
)}
<div className="flex-1 min-w-0 relative">
<div className="flex items-center justify-between">
<div className="xlog-site-name text-2xl sm:text-3xl font-bold text-zinc-900 leading-snug break-words min-w-0">
<h1 className="xlog-site-name text-2xl sm:text-3xl font-bold text-zinc-900 leading-snug break-words min-w-0">
{site.data?.metadata?.content?.name}
</div>
</h1>
<div className="ml-0 sm:ml-8 space-x-3 sm:space-x-4 flex items-center sm:static absolute -bottom-0 right-0">
<div className="xlog-site-more-menu relative inline-block align-middle">
<MoreActions>