fixes and refinements

This commit is contained in:
Cory Dransfeldt 2022-06-06 11:43:22 -07:00
parent ca85e2923e
commit 38247187ee
30 changed files with 29 additions and 1470 deletions

View file

@ -20,6 +20,7 @@ export default function AuthorLayout({ children, frontMatter }: Props) {
twitter,
spotify,
applemusic,
bandcamp,
lastfm,
} = frontMatter
@ -49,6 +50,7 @@ export default function AuthorLayout({ children, frontMatter }: Props) {
<SocialIcon kind="twitter" href={twitter} size={6} />
<SocialIcon kind="spotify" href={spotify} size={6} />
<SocialIcon kind="applemusic" href={applemusic} size={6} />
<SocialIcon kind="bandcamp" href={bandcamp} size={6} />
<SocialIcon kind="lastfm" href={lastfm} size={6} />
</div>
</div>

View file

@ -103,13 +103,6 @@ export default function PostLayout({ frontMatter, authorDetails, next, prev, chi
</dl>
<div className="divide-y divide-gray-200 dark:divide-gray-700 xl:col-span-3 xl:row-span-2 xl:pb-0">
<div className="prose max-w-none pt-10 pb-8 dark:prose-dark">{children}</div>
<div className="pt-6 pb-6 text-sm text-gray-700 dark:text-gray-300">
<Link href={discussUrl(slug)} rel="nofollow">
{'Discuss on Twitter'}
</Link>
{``}
<Link href={editUrl(fileName)}>{'View on GitHub'}</Link>
</div>
<Comments frontMatter={frontMatter} />
</div>
<footer>