This file contains 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 styled from 'styled-components'; | |
const breakpoints = { | |
xs: '576px', | |
sm: '768px', | |
md: '992px', | |
lg: '1200px', | |
}; |
This file contains 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 styled, { css } from 'styled-components'; | |
const breakpoints = { | |
xs: '576px', | |
sm: '768px', | |
md: '992px', | |
lg: '1200px', | |
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 * as React from 'react'; | |
import { Formik } from 'formik'; | |
import * as Yup from 'yup'; | |
import CryptoJS from 'crypto-js'; | |
import { FormGeneratorContainer } from './contact-form-form-generator.container'; | |
export const FormGenerator = (props) => { | |
const { data: { formId, apiURL, formFields } } = props; |
This file contains 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 * as React from 'react' | |
import { StickyContainer, Sticky } from 'react-sticky' | |
import { OfferSection, OfferSidebar, OfferInformationForm } from 'components/pages/offer' | |
import { Layout } from 'components/shared' | |
import { OfferPageContext } from 'context' | |
import { getWindowOuterWidth } from 'libs' | |
import { breakpoint } from 'variables' | |
// eslint-disable-next-line import/no-default-export | |
export default class extends React.Component { |
This file contains 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 * as React from 'react' | |
import { navigate } from 'gatsby' | |
import { withFormik } from 'formik' | |
import * as Yup from 'yup' | |
import { | |
OfferInformationFormWrapper, | |
OfferInformationFormInner, | |
OfferInformationFormTitle, | |
OfferInformationFormSection, | |
OfferInformationFormSubtitle, |
This file contains 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 generateMalwareMapPins = () => { | |
const malwareMapData = document.querySelector('.malware-map__data'); | |
const malwareMapDataAsJSON = malwareMapData.dataset.malwareMapData; | |
const malwareMapDataAsArray = JSON.parse(malwareMapDataAsJSON); | |
const sortedMalwareMapData = malwareMapDataAsArray.sort((malwareMapDataItem1, malwareMapDataItem2) => { | |
return malwareMapDataItem1.countryName < malwareMapDataItem2.countryName ? -1 : 1; | |
}); | |
if (malwareMapDataAsArray.length > 0) { | |
const malwareMapWrapper = document.querySelector('.malware-map__map-wrapper'); |
This file contains 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
require('dotenv').config(); | |
const Telegraf = require('telegraf'); | |
const Extra = require('telegraf/extra'); | |
const Markup = require('telegraf/markup'); | |
const bot = new Telegraf(process.env.BOT_TOKEN); | |
bot.action(/delete_message_(.+)/, (context) => { | |
const messageId = context.match[1]; | |
context.deleteMessage(messageId); | |
}); |
This file contains 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
.products-list { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: space-between; | |
margin-bottom: -80px; | |
@include sm-down { | |
margin-bottom: -40px; | |
} |
NewerOlder