Skip to content

Commit 184e8e0

Browse files
committed
udpate frame size and position
1 parent 0cbe80e commit 184e8e0

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function App() {
7878
onClick={() => setOpen(o => !o)}
7979
title="About"
8080
>
81-
greetings!
81+
welcome!
8282
</button>
8383
{open && (
8484
<div className="moon-dropdown" role="dialog">

src/Frame.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function Frame({
1515

1616
// Base card styling
1717
const cardStyle = {
18-
width: '2000px',
18+
width: '2500px',
1919
height: '100%',
2020
borderRadius: '12px',
2121
overflow: 'visible',

src/Scene.jsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,14 @@ const TERRAIN_MAX_HEIGHT = 200 // MUST MATCH displacementScale in Ground (exagge
5050
const SEA_LEVEL = 0.05 // Normalized height threshold (0-1) for 'water'
5151

5252
// Default camera view
53+
// const DEFAULT_VIEW = {
54+
// pos: new THREE.Vector3(128.43009107433818, 45.78024724262386, -864.5800300573438),
55+
// target: new THREE.Vector3(-166.68060974986514, 0, -127.56061427519958)
56+
// }
57+
5358
const DEFAULT_VIEW = {
54-
pos: new THREE.Vector3(128.43009107433818, 45.78024724262386, -864.5800300573438),
55-
target: new THREE.Vector3(-166.68060974986514, 0, -127.56061427519958)
59+
pos: new THREE.Vector3(51.71576006631756, 86.54579460696334, -922.3754110440516),
60+
target: new THREE.Vector3(-271.9365697426206, 0, -155.26313781358206)
5661
}
5762

5863
// ---------------------------------------------------------------------------
@@ -257,7 +262,7 @@ function CameraController({ activeTag, focusCenter, controlsRef, highlighted, te
257262
}
258263

259264
useEffect(() => {
260-
console.log('🎥 Camera Update Triggered - activeTag:', activeTag)
265+
// console.log('🎥 Camera Update Triggered - activeTag:', activeTag)
261266

262267
if (!controlsRef.current) {
263268
const { pos, target } = defaultView

src/data/projects.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ const parseCSV = (csvText) => {
4545
const workType = clean(row[7])
4646

4747
// DEBUG: Log one project to verify parsing
48-
if (title.includes('Care')) {
49-
console.log('UNITS OF CARE DEBUG:', { row, title, year, id, thumbnail, url, rowLength: row.length })
50-
}
48+
// if (title.includes('Care')) {
49+
// console.log('UNITS OF CARE DEBUG:', { row, title, year, id, thumbnail, url, rowLength: row.length })
50+
// }
5151

5252
// Generate ID
5353
// const id = title.toLowerCase().replace(/[^a-z0-9]/g, '-')

0 commit comments

Comments
 (0)