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 fields = [{ name: "email", value: "" }]; | |
const hiddenFields = [ | |
{ name: "lists", value: "waitlist" }, | |
{ name: "source", value: "twitter" }, | |
{ name: "medium", value: "social" }, | |
{ name: "campaign", value: "header" }, | |
{ name: "campaign_type", value: "website" }, | |
]; | |
const urlParams = new URLSearchParams(window.location.search); |
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 MyComponent: React.FC<{ theme: MyTheme }> = styled(({ theme, ...props }) => <Box {...props} />)` | |
&& { | |
text-align: center; | |
padding-top: ${props => props.theme.spacing(2)}px; | |
} | |
` | |
export const Wrapper: React.FC<WrapperProps> = ({ ...props }) => { | |
const theme: MyTheme = useTheme() | |
return ( |
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
[{ | |
"org": "EZ3D", | |
"image": "/img/ez3dShowcase.jpg", | |
"summary": "Use EZRoof reports to view roof condition and generate measurements for creating precise estimates to repair or modify roofs.", | |
"segments": ["Developer"] | |
}, { | |
"org": "SLANTRANGE", | |
"image": "/img/slantrangeShowcase.jpg", | |
"summary": "Download field boundaries from flight plans & import directly into SLANTRANGE analytics software for automatic cropping of maps.", | |
"segments": ["Agriculture", "Developer"] |
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
/** | |
* @file Eloqua visitor tracking (jQuery flavor). | |
*/ | |
var Eloqua = window.Eloqua || {}; | |
(function(Eloqua, $, window, _elqQ) { | |
Eloqua.timerId = null; | |
Eloqua.timeout = 5; |
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
/** | |
* @file Eloqua visitor tracking. | |
*/ | |
var Eloqua = Eloqua || {}; | |
(function(Eloqua, window, _elqQ) { | |
Eloqua.timerId = null; | |
Eloqua.timeout = 5; |
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
/** | |
* @file Plugin template. | |
* | |
* @example | |
* var myPlugin = require('./plugins/my-plugin'); | |
* Metalsmith(__dirname) | |
* .source('./src') | |
* .destination('./build') | |
* .use(myPlugin()) | |
* .build(function(err) {}); |
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
<html> | |
<head> | |
<link rel="stylesheet" href="css/odometer-theme-default.css" media="screen" charset="utf-8"> | |
<style> | |
.odometer.odometer-animating-up .odometer-ribbon-inner, | |
.odometer.odometer-animating-down.odometer-animating .odometer-ribbon-inner { | |
transition-duration: 1s !important; | |
} | |
</style> | |
</head> |
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
/** | |
* Close video popup at the end automatically. | |
*/ | |
(function () { | |
window._wq = window._wq || []; | |
// Access video object on page by ID. | |
_wq.push({id: "MY_VIDEO_ID", onReady: function (video) { | |
video.bind("end", function (t) { | |
video.popover.hide(); | |
}); |
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
/** | |
* Reveal content based on param value. | |
* | |
* @param {object} options | |
* @property {string} paramName | |
* @property {string} regex | |
* @property {string} selector | |
*/ | |
function paramVisible(options) { | |
var urlObj = Tabia.util.parseUrl(), |
NewerOlder