feat: Add lazy loading for images in Home page

This commit is contained in:
yoosangwook 2024-09-02 14:27:22 +09:00
parent a0311f54e9
commit 9bdb2900f6
2 changed files with 13 additions and 0 deletions

View File

@ -1,8 +1,13 @@
import Test from '@/components/Test'
export default function Home() {
return (
<>
<h1>Hello World</h1>
<div className="test">style test</div>
<div>
<Test />
</div>
</>
)
}

8
src/components/Test.jsx Normal file
View File

@ -0,0 +1,8 @@
export default function Test() {
return (
<>
<h1>Test Component</h1>
<p>테스트 컴포넌트 입니다.</p>
</>
)
}