-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from henrynoowah/feature/spline-look-at-bot
Added new Spline 3D bot with `look at` animation
- Loading branch information
Showing
5 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,14 +77,24 @@ const Home = () => { | |
<div className="w-full h-[100vh] flex justify-center relative overflow-hidden"> | ||
{/* Background Component */} | ||
<div className="relative flex justify-center w-full h-full bg-gradient-to-tl bg-primary/80"> | ||
<div | ||
{/* <div | ||
className="absolute w-full h-full | ||
flex justify-center items-center z-30" | ||
> | ||
<h1 className="text-[42px] font-semibold opacity whitespace-nowrap z-20 text-light">NoowaH</h1> | ||
</div> | ||
</div> */} | ||
</div> | ||
|
||
<div | ||
className="absolute w-full h-full | ||
flex justify-center items-center z-30 top-[120px]" | ||
> | ||
<script async type="module" src="https://unpkg.com/@splinetool/[email protected]/build/spline-viewer.js"></script> | ||
<spline-viewer | ||
loading-anim-type="spinner-small-dark" | ||
url="https://prod.spline.design/rcSs4mw7jnwh5xZG/scene.splinecode" | ||
/> | ||
</div> | ||
{navList.map((nav, i) => ( | ||
<NavModal selected={selected === nav.name} {...nav} key={`nav-modal-${nav}-${i}`} /> | ||
))} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
declare namespace JSX { | ||
interface IntrinsicElements { | ||
'spline-viewer': any | ||
} | ||
} |
File renamed without changes.