This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ServiceBadge = dynamic(() => import(‘../Molecules/ServiceBadge’)) | |
const ServiceHeader = ({service, title}: Props) => { | |
const router = useRouter() | |
const isMobile = useBreakpointValue([true, null, false], ‘base’) | |
return ( | |
<HStack> | |
<BackButton onClick={() => router.replace(ROUTE_ROOT)} /> | |
{isMobile && <ServiceBadge {…service} />} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
const Papa = require("papaparse"); | |
const axios = require("axios"); | |
const csvFilePath = "user.csv"; | |
const apiKey = ""; | |
const arrayWeatherFirstLogin = []; | |
const errors = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { Card, Col } from 'antd' | |
import { $, key } from '../../localization/localization' | |
import { Pricing } from '../../models/Pricing' | |
class PricingCol extends Component { | |
render () { | |
const {title, onClick, className, iconType, numberOfPlans, status, hoverable} = this.props |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Button, Col, Divider, Modal, Radio, Row, Spin } from 'antd' | |
import React, { Component } from 'react' | |
import { USER_STATUS_BASIC, USER_STATUS_PREMIUM, USER_STATUS_STARTER } from '../../models/User' | |
import { Pricing } from '../../models/Pricing' | |
import { StripeForm } from './StripeForm' | |
import axios from 'axios' | |
import { track } from '../../helpers/trackerHelper' | |
import withCurrentUser from '../currentUser/withCurrentUser' | |
import { compose } from 'recompose' | |
import _ from 'lodash' |