feat: Add lazy loading for images in Home page
This commit is contained in:
parent
a0311f54e9
commit
9bdb2900f6
@ -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
8
src/components/Test.jsx
Normal file
@ -0,0 +1,8 @@
|
||||
export default function Test() {
|
||||
return (
|
||||
<>
|
||||
<h1>Test Component</h1>
|
||||
<p>테스트 컴포넌트 입니다.</p>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user