Skip to content

Commit 28c14b6

Browse files
committed
few minors fixs
1 parent e0d1b06 commit 28c14b6

20 files changed

+335
-587
lines changed

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
<body>
1111
<div id="root"></div>
12-
<script src="./index.tsx"></script>
12+
<script src="./src/index.js"></script>
1313
</body>
1414
</html>

example/index.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

example/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
"license": "MIT",
55
"description": "",
66
"keywords": [],
7-
"main": "index.js",
7+
"main": "src/index.js",
88
"dependencies": {
99
"@juggle/resize-observer": "^3.2.0",
1010
"@pmndrs/branding": "0.0.4",
1111
"@react-spring/three": "^9.0.0-rc.3",
1212
"@react-spring/web": "^9.0.0-rc.3",
1313
"@react-three/drei": "2.2.13",
14+
"drei": "^2.2.13",
15+
"react": ">=16.13",
16+
"react-dom": ">=16.13",
1417
"react-scripts": "4.0.1",
15-
"styled-components": "5.2.1",
16-
"wouter": "2.7.0"
18+
"react-three-fiber": ">=5.0"
1719
},
1820
"alias": {
1921
"react": "../node_modules/react",

example/public/ao.jpg

-188 KB
Binary file not shown.

example/public/bomb-gp.glb

-157 KB
Binary file not shown.

example/public/diamond.glb

16.4 KB
Binary file not shown.

example/public/height.png

-84.5 KB
Binary file not shown.

example/public/index.html

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8" />
5-
<meta
6-
name="viewport"
7-
content="width=device-width, initial-scale=1, shrink-to-fit=no"
8-
/>
9-
<meta name="theme-color" content="#000000" />
10-
<!--
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="theme-color" content="#000000">
8+
<!--
119
manifest.json provides metadata used when your web app is added to the
1210
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
1311
-->
14-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
15-
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
16-
<!--
12+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
13+
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
14+
<!--
1715
Notice the use of %PUBLIC_URL% in the tags above.
1816
It will be replaced with the URL of the `public` folder during the build.
1917
Only files inside the `public` folder can be referenced from the HTML.
@@ -22,15 +20,15 @@
2220
work correctly both with client-side routing and a non-root public URL.
2321
Learn how to configure a non-root public URL by running `npm run build`.
2422
-->
25-
<title>React App</title>
26-
</head>
23+
<title>React App</title>
24+
</head>
2725

28-
<body>
29-
<noscript>
30-
You need to enable JavaScript to run this app.
31-
</noscript>
32-
<div id="root"></div>
33-
<!--
26+
<body>
27+
<noscript>
28+
You need to enable JavaScript to run this app.
29+
</noscript>
30+
<div id="root"></div>
31+
<!--
3432
This HTML file is a template.
3533
If you open it directly in the browser, you will see an empty page.
3634
@@ -40,5 +38,6 @@
4038
To begin the development, run `npm start` or `yarn start`.
4139
To create a production bundle, use `npm run build` or `yarn build`.
4240
-->
43-
</body>
44-
</html>
41+
</body>
42+
43+
</html>

example/public/normal.jpg

-36.9 KB
Binary file not shown.

example/public/photo_studio_01_1k.hdr

-1.52 MB
Binary file not shown.

0 commit comments

Comments
 (0)