Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 486bb760 authored by Gabin Aureche's avatar Gabin Aureche
Browse files

refactor: move competitors const to its own file

parent cc1916b4
No related branches found
No related tags found
1 merge request!119Resolve "create price comparaison component"
Pipeline #44487 passed
......@@ -5,23 +5,7 @@ import styles from "./PricingComparator.module.css";
import { Dropdown } from "../Dropdown";
import formatNumber from "@site/src/utils/formatNumber";
import plans from "@site/src/constants/plans";
const competitors = {
lab: [
{
name: "GitHub",
paidMonthly: 3.62,
paidAnnually: 3.62,
},
],
chat: [
{
name: "Slack",
paidMonthly: 18.25,
paidAnnually: 16.75,
},
],
};
import competitors from "@site/src/constants/competitors";
function getPrices(users, paidAnnually, labCompetitor, chatCompetitor) {
const plan = [
......
export default {
lab: [
{
name: "GitHub",
paidMonthly: 3.62,
paidAnnually: 3.62,
},
],
chat: [
{
name: "Slack",
paidMonthly: 18.25,
paidAnnually: 16.75,
},
],
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment