Skip to content

Commit

Permalink
✨ Add social info
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosimon committed Sep 6, 2021
1 parent fbf264d commit 66a2825
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Experience/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class Navigation
this.view.spherical.smoothed = this.view.spherical.value.clone()
this.view.spherical.smoothing = 0.005
this.view.spherical.limits = {}
this.view.spherical.limits.radius = { min: 5, max: 50 }
this.view.spherical.limits.radius = { min: 10, max: 50 }
this.view.spherical.limits.phi = { min: 0.01, max: Math.PI * 0.5 }
this.view.spherical.limits.theta = { min: - Math.PI * 0.5, max: 0 }

Expand Down
16 changes: 16 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Room in 3D</title>

<meta itemprop="name" content="My Room in 3D — Experiment">
<meta itemprop="description" content="Creative WebGL experiment with Three.js">
<meta itemprop="image" content="https://https://my-room-in-3d.vercel.app/social/share-1200x630.png">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="My Room in 3D — Experiment">
<meta name="twitter:description" content="Creative WebGL experiment with Three.js">
<meta name="twitter:image" content="https://https://my-room-in-3d.vercel.app/social/share-1200x630.png">

<meta property="og:site_name" content="My Room in 3D — Experiment">
<meta property="og:type" content="website">
<meta property="og:url" content="https://https://my-room-in-3d.vercel.app">
<meta property="og:title" content="My Room in 3D — Experiment">
<meta property="og:description" content="Creative WebGL experiment with Three.js">
<meta property="og:image" content="https://https://my-room-in-3d.vercel.app/social/share-1200x630.png">
</head>
<body>
<div class="experience"></div>
Expand Down
Binary file added static/social/share-1200x630.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 66a2825

@vercel
Copy link

@vercel vercel bot commented on 66a2825 Sep 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.