upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
Showing only changes of commit 484296ae13 - Show all commits

View File

@ -1,3 +1,4 @@
import siteMetadata from '@/data/siteMetadata'
import { useEffect, useState } from 'react' import { useEffect, useState } from 'react'
import smoothscroll from 'smoothscroll-polyfill' import smoothscroll from 'smoothscroll-polyfill'
@ -25,6 +26,7 @@ const ScrollTopAndComment = () => {
<div <div
className={`fixed right-8 bottom-8 hidden flex-col gap-3 ${show ? 'md:flex' : 'md:hidden'}`} className={`fixed right-8 bottom-8 hidden flex-col gap-3 ${show ? 'md:flex' : 'md:hidden'}`}
> >
{siteMetadata.comment.provider && (
<button <button
aria-label="Scroll To Comment" aria-label="Scroll To Comment"
type="button" type="button"
@ -39,6 +41,7 @@ const ScrollTopAndComment = () => {
/> />
</svg> </svg>
</button> </button>
)}
<button <button
aria-label="Scroll To Top" aria-label="Scroll To Top"
type="button" type="button"