This commit is contained in:
Wyatt Miller 2018-05-21 00:11:33 -04:00
parent 1bfbf37c4a
commit 2d95354cf0
3 changed files with 29 additions and 0 deletions

14
src/analytics.js Normal file
View File

@ -0,0 +1,14 @@
/*
Google Analytics shit because I'm paranoid
Created by Wyatt J. Miller, published by Entourage Solutions
*/
window.dataLayer = window.dataLayer || [];
function gtag(){
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-119564631-1');

View File

@ -8,7 +8,9 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script> <script src="main.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script> <script src="main.js"></script>
<script async src = "https://www.googletagmanager.com/gtag/js?id=UA-119564631-1"></script>
<script src="main.js"></script> <script src="main.js"></script>
<script src="analytics.js"></script>
</head> </head>
<body> <body>
<?php require "header.php"; ?> <?php require "header.php"; ?>

View File

@ -24,4 +24,17 @@ function mediaDetect(){
} else { } else {
console.log("what do you spend your money on?") console.log("what do you spend your money on?")
} }
}
function whatTimeIsIt(){
var death = new Date();
function isPastNoon(){
if (death.getHours > 12) {
death.getHours()-12;
} else {
death.getHours();
}}
console.log(isPastNoon(), ":", death.getMinutes(), ":", death.getSeconds());
} }