2
0

(engine) Improve engine overall robustness

This commit is contained in:
Baptiste Arnaud
2023-01-25 11:27:47 +01:00
parent ff62b922a0
commit 30baa611e5
210 changed files with 1820 additions and 1919 deletions

View File

@@ -20,7 +20,7 @@ import { HelpCircleIcon } from 'assets/icons/HelpCircleIcon'
import { Plan } from 'db'
import Link from 'next/link'
import React, { useEffect, useState } from 'react'
import { chatsLimit, formatPrice, storageLimit } from 'utils'
import { chatsLimit, formatPrice, storageLimit } from 'utils/pricing'
type Props = {
starterPrice: string

View File

@@ -10,7 +10,7 @@ import {
} from '@chakra-ui/react'
import * as React from 'react'
import { useEffect, useState } from 'react'
import { formatPrice } from 'utils'
import { formatPrice } from 'utils/pricing'
import { CheckCircleIcon } from '../../../assets/icons/CheckCircleIcon'
import { Card, CardProps } from './Card'

View File

@@ -14,12 +14,8 @@ import { HelpCircleIcon } from 'assets/icons/HelpCircleIcon'
import { Plan } from 'db'
import Link from 'next/link'
import React, { useEffect, useState } from 'react'
import {
chatsLimit,
computePrice,
parseNumberWithCommas,
storageLimit,
} from 'utils'
import { parseNumberWithCommas } from 'utils'
import { chatsLimit, computePrice, storageLimit } from 'utils/pricing'
import { PricingCard } from './PricingCard'
export const ProPlanCard = () => {

View File

@@ -14,12 +14,8 @@ import { HelpCircleIcon } from 'assets/icons/HelpCircleIcon'
import { Plan } from 'db'
import Link from 'next/link'
import React, { useEffect, useState } from 'react'
import {
chatsLimit,
computePrice,
parseNumberWithCommas,
storageLimit,
} from 'utils'
import { parseNumberWithCommas } from 'utils'
import { chatsLimit, computePrice, storageLimit } from 'utils/pricing'
import { PricingCard } from './PricingCard'
export const StarterPlanCard = () => {

View File

@@ -19,7 +19,7 @@ import { SocialMetaTags } from 'components/common/SocialMetaTags'
import { BackgroundPolygons } from 'components/Homepage/Hero/BackgroundPolygons'
import { PlanComparisonTables } from 'components/PricingPage/PlanComparisonTables'
import { useEffect, useState } from 'react'
import { formatPrice, prices } from 'utils'
import { formatPrice, prices } from 'utils/pricing'
import { StripeClimateLogo } from 'assets/logos/StripeClimateLogo'
import { FreePlanCard } from 'components/PricingPage/FreePlanCard'
import { StarterPlanCard } from 'components/PricingPage/StarterPlanCard'