Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: add faqs page and update pricing page

Dillion Vermabe5bff5a7328
diff --git a/app/(marketing)/faqs/page.tsx b/app/(marketing)/faqs/page.tsx
new file mode 100644
index 00000000..70409d9d
--- /dev/null
+++ b/app/(marketing)/faqs/page.tsx
@@ -0,0 +1,12 @@
+import Faq from "@/components/pricing/faq";
+import { absoluteUrl, constructMetadata } from "@/lib/utils";
+
+export const metadata = constructMetadata({
+ title: "Frequently Asked Questions",
+ description: "Frequently Asked Questions about Magic UI",
+ image: absoluteUrl(`/api/og`),
+});
+
+export default function FAQS() {
+ return <Faq />;
+}
diff --git a/app/(marketing)/pricing/page.tsx b/app/(marketing)/pricing/page.tsx
index bd46c133..05b1c797 100644
--- a/app/(marketing)/pricing/page.tsx
+++ b/app/(marketing)/pricing/page.tsx
@@ -13,7 +13,7 @@ export const metadata = constructMetadata({
image: absoluteUrl(`/api/og`),
});
-export default function Buy() {
+export default function Pricing() {
return (
<>
<section id="pricing" className="py-14">
diff --git a/config/pricing.tsx b/config/pricing.tsx
index 5bacd5c3..02fe7844 100644
--- a/config/pricing.tsx
+++ b/config/pricing.tsx
@@ -3,6 +3,7 @@ import { User2Icon, Users2Icon } from "lucide-react";
export const plans = [
{
+ stripePriceId: "price_1ODMUcKqaLcdpMYsOJ4j8XtA",
Icon: <User2Icon className="flex h-10 w-10 rounded-full stroke-white/40" />,
name: "Personal",
sub: "For individual developers and freelancers.",
diff --git a/registry/components/magicui/marquee.tsx b/registry/components/magicui/marquee.tsx
index 162dc449..778ffa88 100644
--- a/registry/components/magicui/marquee.tsx
+++ b/registry/components/magicui/marquee.tsx
@@ -25,10 +25,13 @@ const Marquee = ({
)}
>
<div
- className={cn("flex w-max animate-marquee items-stretch gap-[--gap]", {
- "[animation-direction:reverse]": reverse,
- "hover:[animation-play-state:paused]": pauseOnHover,
- })}
+ className={cn(
+ "flex w-max transform-gpu animate-marquee items-stretch gap-[--gap]",
+ {
+ "[animation-direction:reverse]": reverse,
+ "hover:[animation-play-state:paused]": pauseOnHover,
+ },
+ )}
>
{Children.map(children, (child) => cloneElement(child as any))}
{Children.map(children, (child) => cloneElement(child as any))}