Skip to content

Commit fa2ddf0

Browse files
committed
style: MonitorBG 컴포넌트의 이미지 변경 및 불필요한 코드 제거
1 parent f821f62 commit fa2ddf0

6 files changed

Lines changed: 2 additions & 5 deletions

File tree

public/images/anvy.png

1.91 MB
Loading

public/images/anvy_profile.png

1.9 MB
Loading

public/images/ellen.png

145 KB
Loading

public/images/yixuan.png

1.96 MB
Loading

public/images/yuzuha.png

1.93 MB
Loading

src/components/MonitorBG.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ export default function MonitorBG() {
2727
}
2828

2929
const Rig = () => {
30-
const [vec] = useState(() => new THREE.Vector3())
31-
const {camera, pointer} = useThree()
32-
// useFrame(() => camera.position.lerp(vec.set(pointer.x * CAM_DISTANCE / 10, CAM_DISTANCE / 10, CAM_DISTANCE), 0.05))
3330
return <CameraShake maxYaw={0.01} maxPitch={0.01} maxRoll={0.01} yawFrequency={0.5} pitchFrequency={0.5} rollFrequency={0.4}/>
3431
}
3532

@@ -44,8 +41,8 @@ const Card = () => {
4441
width: 300,
4542
position: "relative",
4643
}}>
47-
<div style={{width: "100%", height: 120, backgroundImage: "url('/images/belle.png')", backgroundSize: "cover", backgroundPosition: "right 50% bottom 92%"}}/>
48-
<div style={{backgroundImage: "url('/images/bangboo.png')", backgroundSize: "cover", backgroundPosition: "center", position: "absolute", borderRadius: "50%", width: 80, height: 80, left: 12, top: 80}}/>
44+
<div style={{width: "100%", height: 120, backgroundImage: "url('/images/anvy.png')", backgroundSize: "cover", backgroundPosition: "right 50% bottom 100%"}}/>
45+
<div style={{backgroundImage: "url('/images/anvy_profile.png')", backgroundSize: "cover", backgroundPosition: "center", position: "absolute", borderRadius: "50%", width: 80, height: 80, left: 12, top: 80}}/>
4946
<QuickLinks/>
5047
<div style={{display: "flex", flexDirection: "column", padding: "56px 12px 16px 12px", background: "#ededed", width: "100%", gap: 16}}>
5148
<div style={{display: "flex", flexDirection: "column", gap: 4}}>

0 commit comments

Comments
 (0)