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