Doc | - | Complete | Fully | - | - | Loaded | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Load time | First Byte | Start Render | Speed Index | First Interactive | Time | Requests | Bytes In | Time | Requests | Bytes In | Cost | |
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
$('.backtotop').click(function () { | |
$("html, body").animate({ | |
scrollTop: 0 | |
}, 600); | |
return false; | |
});; $(document).scroll(function(){ | |
$('.navbar').toggleClass('scrolled', $(this).scrollTop() > 1); | |
$('.backtotop').toggleClass('scrolled', $(this).scrollTop() > 1); | |
}); |
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
@-webkit-keyframes fadeInUp { | |
0% { | |
opacity: 0; | |
-webkit-transform: translateY(20px); | |
transform: translateY(20px); | |
} | |
10% { | |
opacity: 1; | |
-webkit-transform: translateY(0); | |
transform: translateY(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
window.onload = function(){ | |
var links = document.getElementsByTagName('a'); | |
for( var i=0,il = links.length; i< il; i ++ ){ | |
links[i].onclick = clickHandler; | |
} | |
function clickHandler(event) { |
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
[push] | |
autoSetupRemote = true | |
[user] | |
name = xxx | |
email = xxx | |
[core] | |
excludesfile = ~/.gitignore | |
[alias] | |
sla = log --oneline --decorate --graph --all | |
whowhen = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
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
<script type="text/javascript"> | |
// Mustard Cutting | |
if ('querySelector' in document && 'addEventListener' in window) { | |
var windowWidth = document.body.clientWidth; | |
if(windowWidth > 768){ | |
// add class to HTML tag | |
(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement); | |
// load scripts - from cdn but with a fallback |
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
// Mustard Cutting | |
if ('querySelector' in document && 'addEventListener' in window) { | |
// add class to HTML tag | |
(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement); | |
// load critical scripts | |
document.write(unescape("%3Cscript src='assets/js/whatcananimate-criticalscripts.min.js' type='text/javascript' defer%3E%3C/script%3E")); | |
// add custard if screen size is big enough |
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
<?php | |
namespace Origin\Theme\Metaboxes; | |
class PageMetaBox extends \Origin\Framework\Objects\Metabox | |
{ | |
/** | |
* A unique id/key for this Meta box. | |
* | |
* @var string |
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
[ | |
{ | |
"_id": "5c4c278665e65c411445a158", | |
"index": 0, | |
"guid": "3d80eb64-3477-408a-997f-eb8fe2e0fb2a", | |
"isActive": true, | |
"about": "Et veniam sunt cillum occaecat dolor in ex sunt nulla anim deserunt cupidatat laborum. Consequat commodo laboris officia labore eiusmod enim pariatur deserunt. Qui minim ipsum incididunt pariatur elit ullamco dolore officia sunt sit cillum.", | |
"highValue": [ | |
"5,763.60", | |
"2,185.52", |
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, {FC} from 'react' | |
import Column from '../Atoms/Column' | |
import Row from '../Atoms/Row' | |
export interface IContentProps { | |
/** | |
* an array of objects with JSX elements | |
* @default <> </> | |
*/ | |
innerContent: JSX.Element |
OlderNewer