Skip to content

Commit 63be29f

Browse files
committed
Added Spline component for 404 logo to remove spline logo
1 parent 9dfa995 commit 63be29f

File tree

3 files changed

+41
-8
lines changed

3 files changed

+41
-8
lines changed

apps/webapp/app/components/ErrorDisplay.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { friendlyErrorDisplay } from "~/utils/httpErrors";
55
import { LinkButton } from "./primitives/Buttons";
66
import { Header1 } from "./primitives/Headers";
77
import { Paragraph } from "./primitives/Paragraph";
8+
import Spline from "@splinetool/react-spline";
89

910
type ErrorDisplayOptions = {
1011
button?: {
@@ -55,18 +56,13 @@ export function ErrorDisplay({ title, message, button }: DisplayOptionsProps) {
5556
{button ? button.title : "Go to homepage"}
5657
</LinkButton>
5758
</div>
58-
<div className="pointer-events-none absolute bottom-4 right-4 z-10 h-[70px] w-[200px] bg-[rgb(24,26,30)]" />
5959
<motion.div
6060
className="pointer-events-none absolute inset-0 overflow-hidden"
6161
initial={{ opacity: 0 }}
6262
animate={{ opacity: 1 }}
6363
transition={{ delay: 0.5, duration: 2, ease: "easeOut" }}
6464
>
65-
<iframe
66-
src="https://my.spline.design/untitled-a6f70b5ebc46bdb2dcc0f21d5397e8ac/"
67-
className="pointer-events-none absolute inset-0 h-full w-full object-cover"
68-
style={{ border: "none" }}
69-
/>
65+
<Spline scene="https://prod.spline.design/wRly8TZN-e0Twb8W/scene.splinecode" />
7066
</motion.div>
7167
</div>
7268
);

apps/webapp/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"@remix-run/v1-meta": "^0.1.3",
9090
"@slack/web-api": "^6.8.1",
9191
"@socket.io/redis-adapter": "^8.3.0",
92+
"@splinetool/react-spline": "^2.2.6",
9293
"@tabler/icons-react": "^2.39.0",
9394
"@tailwindcss/container-queries": "^0.1.1",
9495
"@tanstack/react-virtual": "^3.0.4",
@@ -254,4 +255,4 @@
254255
"engines": {
255256
"node": ">=16.0.0"
256257
}
257-
}
258+
}

pnpm-lock.yaml

Lines changed: 37 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)