Skip to content

Commit 6ad7061

Browse files
committed
add temporary loader
1 parent cb0809e commit 6ad7061

File tree

4 files changed

+109
-1
lines changed

4 files changed

+109
-1
lines changed

Diff for: components/Background.tsx

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Spline from "@splinetool/react-spline";
2+
3+
const Background = () => {
4+
return <Spline className="absolute" scene="https://prod.spline.design/thPGkOvNXu8XjGlk/scene.splinecode" />;
5+
};
6+
7+
export default Background;

Diff for: components/Landing/index.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
import Background from "../Background";
12
import Navbar from "../Navbar";
23

34
const Landing = () => {
45
return (
5-
<section className="flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5" id="landing">
6+
<section className="flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden" id="landing">
67
<Navbar />
8+
<Background />
79
<div className="flex justify-between items-end">
810
<div>
911
<div className="font-semibold">

Diff for: package-lock.json

+98
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12+
"@splinetool/react-spline": "^2.2.6",
1213
"@types/node": "20.5.9",
1314
"@types/react": "18.2.21",
1415
"@types/react-dom": "18.2.7",

0 commit comments

Comments
 (0)