Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions apps/web/src/app/(main)/(landing)/pricing/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
"use client";
import Footer from "@/components/landing-sections/footer";
import Header from "@/components/ui/header";
import { ShineBorder } from "@/components/ui/shine-borders";
import { motion } from "framer-motion";
import { Check, CornerDownRight, Target, Terminal } from "lucide-react";
import Image from "next/image";
import Link from "next/link";
import React, { useEffect } from "react";
import { useEffect } from "react";
import PrimaryButton from "@/components/ui/custom-button";
import PaymentFlow from "@/components/payment/PaymentFlow";
import { ActiveTag } from "@/components/ui/ActiveTag";
Expand Down Expand Up @@ -158,8 +157,8 @@ const Pricing = () => {
{opensoxFeatures.map((feature, index) => {
return (
<motion.li
initial={{ opacity: 0, y: 30, filter: "blur(10px)" }}
animate={{ opacity: 1, y: 0, filter: "blur(0px)" }}
initial={{ opacity: 0, y: 30 }}
animate={{ opacity: 1, y: 0 }}
transition={{
duration: 0.6,
ease: "easeOut",
Expand Down Expand Up @@ -239,8 +238,8 @@ const Pricing = () => {
{whySub.map((sub, index) => {
return (
<motion.p
initial={{ opacity: 0, y: 30, filter: "blur(10px)" }}
animate={{ opacity: 1, y: 0, filter: "blur(0px)" }}
initial={{ opacity: 0, y: 30 }}
animate={{ opacity: 1, y: 0 }}
transition={{
duration: 0.6,
ease: "easeOut",
Expand Down Expand Up @@ -298,8 +297,7 @@ const PricingCard = () => {
<div className="py-2">
<div className=" border-border-primary w-full mx-auto flex h-full">
<div className="border-dashed border-border-primary w-full lg:w-max mx-auto relative h-full">
<div className="w-full h-full lg:w-[500px] relative overflow-hidden mx-auto py-10 pb-14 flex flex-col rounded-3xl">
<ShineBorder shineColor={["#7150E7", "#C89BFF", "#432BA0"]} />
<div className="w-full h-full lg:w-[500px] relative overflow-hidden mx-auto py-10 pb-14 flex flex-col rounded-3xl isolate before:absolute before:inset-0 before:rounded-3xl before:p-[1.5px] before:bg-border-gradient before:[-webkit-mask:linear-gradient(#fff_0_0)_content-box,linear-gradient(#fff_0_0)] before:[-webkit-mask-composite:xor] before:[mask-composite:exclude] before:content-['']">
<Image
src="/assets/card_bg.svg"
alt="background"
Expand Down Expand Up @@ -379,8 +377,7 @@ const SecondaryPricingCard = ({ callbackUrl }: { callbackUrl: string }) => {
<div className="py-2">
<div className=" border-border-primary w-full mx-auto flex h-full">
<div className="border-dashed border-border-primary w-full lg:w-max mx-auto relative h-full">
<div className=" w-full lg:w-[500px] relative overflow-hidden mx-auto py-10 pb-14 flex flex-col h-full rounded-3xl">
<ShineBorder shineColor={["#7150E7", "#C89BFF", "#432BA0"]} />
<div className="w-full h-full lg:w-[500px] relative overflow-hidden mx-auto py-10 pb-14 flex flex-col rounded-3xl isolate before:absolute before:inset-0 before:rounded-3xl before:p-[1.5px] before:bg-border-gradient before:[-webkit-mask:linear-gradient(#fff_0_0)_content-box,linear-gradient(#fff_0_0)] before:[-webkit-mask-composite:xor] before:[mask-composite:exclude] before:content-['']">
<Image
src="/assets/card_bg.svg"
alt="background"
Expand Down
5 changes: 5 additions & 0 deletions apps/web/src/lib/design-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export const colors = {
// Effects
glow: "rgba(145, 89, 226, 0.5)",
grid: "#3f1fbc", // For flickering grid effect
borderGradient: {
start: "#7150E7",
middle: "#C89BFF",
end: "#432BA0"
}, // Gradient used for the border of pricing cards
},
},

Expand Down
9 changes: 9 additions & 0 deletions apps/web/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ const config: Config = {
],
theme: {
extend: {
backgroundImage: {
// Gradient used for card borders (pricing cards), sourced from brand design tokens
"border-gradient": `linear-gradient(
135deg,
${colors.brand.purple.borderGradient.start},
${colors.brand.purple.borderGradient.middle},
${colors.brand.purple.borderGradient.end}
)`,
},
colors: {
// Base colors
background: colors.background.primary,
Expand Down