first commit
This commit is contained in:
9
src/components/Footer.jsx
Normal file
9
src/components/Footer.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { useRef } from 'react'
|
||||
import footerHtml from '../data/layout-footer.html?raw'
|
||||
import { useNavFix } from '../hooks/useNavFix'
|
||||
|
||||
export default function Footer() {
|
||||
const ref = useRef(null)
|
||||
useNavFix(ref)
|
||||
return <div ref={ref} dangerouslySetInnerHTML={{ __html: footerHtml }} />
|
||||
}
|
||||
Reference in New Issue
Block a user