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 React from 'react'; | |
import { findDOMNode } from 'react-dom'; | |
import { connect } from 'react-redux'; | |
import { createSelector } from 'reselect'; | |
import throttle from 'lodash/throttle'; | |
import { isHidden } from 'lib/dom'; | |
import * as adActions from 'app/actions/ads'; | |
import { TOP_NAV_HEIGHT } from 'app/constants'; |
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
export const formatToStandardDate = (unixTimeStamp, format) => { | |
// *1000 to convert unix timestamp in ms to s | |
const currentDate = new Date(unixTimeStamp*1000); | |
const mon=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']; | |
const fullMon=['January','February','March','April','May','June','July','August','September','October','November','December']; | |
const days=['Sun','Mon','Tue','Wed','Thu','Fri','Sat']; | |
const fullDays=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']; | |
let regex=new RegExp("DDDD","g"); |
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
{ | |
"extends": [ | |
"airbnb", | |
"prettier", | |
"prettier/react" | |
], | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaVersion": 8, | |
"ecmaFeatures": { |
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 React from "react"; | |
const Error404 = () => { | |
return ( | |
<div | |
style={{ | |
backgroundColor: "#111111", | |
position: "absolute", | |
top: 0, | |
bottom: 0, |
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
.table [data-sort]:after { | |
content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 0L6 4H0L3 0ZM3 10L0 6H6L3 10Z' fill='%2395AAC9'/></svg>"); | |
margin-left: .25rem | |
} | |
.table [data-sort="asc"]:after { | |
content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 0L6 4H0L3 0ZM3 10L 10Z' fill='%2395AAC9'/></svg>"); | |
} | |
.table [data-sort="desc"]:after { |
OlderNewer