Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
refactor(web): use shared Rive module in pricing art components
Richie McIlroy0edd376d88d0
diff --git a/apps/web/components/pages/HomePage/Pricing/CommercialArt.tsx b/apps/web/components/pages/HomePage/Pricing/CommercialArt.tsxindex 277ea937c..0be73f590 100644--- a/apps/web/components/pages/HomePage/Pricing/CommercialArt.tsx+++ b/apps/web/components/pages/HomePage/Pricing/CommercialArt.tsx@@ -1,6 +1,6 @@import { classNames } from "@cap/utils";-import { Alignment, Fit, Layout, useRive } from "@rive-app/react-canvas";import { forwardRef, memo, useImperativeHandle } from "react";+import { Alignment, Fit, Layout, useRive } from "@/lib/rive";export interface CommercialArtRef {playHoverAnimation: () => void;diff --git a/apps/web/components/pages/HomePage/Pricing/EnterpriseArt.tsx b/apps/web/components/pages/HomePage/Pricing/EnterpriseArt.tsxindex 2cb173c0f..7129dfea8 100644--- a/apps/web/components/pages/HomePage/Pricing/EnterpriseArt.tsx+++ b/apps/web/components/pages/HomePage/Pricing/EnterpriseArt.tsx@@ -1,6 +1,6 @@import { classNames } from "@cap/utils";-import { Alignment, Fit, Layout, useRive } from "@rive-app/react-canvas";import { forwardRef, memo, useImperativeHandle } from "react";+import { Alignment, Fit, Layout, useRive } from "@/lib/rive";export interface EnterpriseArtRef {playHoverAnimation: () => void;diff --git a/apps/web/components/pages/HomePage/Pricing/ProArt.tsx b/apps/web/components/pages/HomePage/Pricing/ProArt.tsxindex 12e9e80de..61e13395d 100644--- a/apps/web/components/pages/HomePage/Pricing/ProArt.tsx+++ b/apps/web/components/pages/HomePage/Pricing/ProArt.tsx@@ -1,6 +1,6 @@import { classNames } from "@cap/utils";-import { Alignment, Fit, Layout, useRive } from "@rive-app/react-canvas";import { forwardRef, memo, useImperativeHandle } from "react";+import { Alignment, Fit, Layout, useRive } from "@/lib/rive";export interface ProArtRef {playHoverAnimation: () => void;