Final updates and tweaks in preparation for MVP launch
- Removed unused items from the footer - Fixed language files to cover all variants of English - Added Google Analytics tracking code
This commit is contained in:
parent
98ff78321b
commit
b5014cae5b
@ -14,4 +14,13 @@ $(() => {
|
|||||||
$('textarea').each(function() {
|
$('textarea').each(function() {
|
||||||
$(this).height($(this)[0].scrollHeight)
|
$(this).height($(this)[0].scrollHeight)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Use google analytics in production
|
||||||
|
if (!window.location.hostname.includes('dev')) {
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'UA-167178542-1');
|
||||||
|
}
|
||||||
});
|
});
|
@ -51,14 +51,15 @@ description = "Default Layout"
|
|||||||
<p>Made with <i class="fas fa-heart"></i> in #YYC<br><a href="https://www.madeinyyc.com/"><img src="{{ 'assets/images/madeinyyc.png'|theme }}"></a></p>
|
<p>Made with <i class="fas fa-heart"></i> in #YYC<br><a href="https://www.madeinyyc.com/"><img src="{{ 'assets/images/madeinyyc.png'|theme }}"></a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<p>Recent Projects</p>
|
<!-- <p>Recent Projects</p> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<p>Recent Blog Posts</p>
|
<!-- <p>Recent Blog Posts</p> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
{% if 'dev' not in url('/') %}<script async src="https://www.googletagmanager.com/gtag/js?id=UA-167178542-1"></script>{% endif %}
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js" integrity="sha256-x3YZWtRjM8bJqf48dFAv/qmgL68SI4jqNWeSLMZaMGA=" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js" integrity="sha256-x3YZWtRjM8bJqf48dFAv/qmgL68SI4jqNWeSLMZaMGA=" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha256-OFRAJNoaD8L3Br5lglV7VyLRf0itmoBzWUoM+Sji4/8=" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha256-OFRAJNoaD8L3Br5lglV7VyLRf0itmoBzWUoM+Sji4/8=" crossorigin="anonymous"></script>
|
||||||
|
@ -6,24 +6,23 @@ is_hidden = 0
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>son-williams.ca</title>
|
<title>ja.son-williams.ca</title>
|
||||||
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro|Merriweather:300italic,300' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro|Merriweather:300italic,300' rel='stylesheet' type='text/css'>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
* {margin: 0; padding: 0; box-sizing: border-box;}
|
* {margin: 0; padding: 0; box-sizing: border-box;}
|
||||||
html, body {height: 100%; color: #000000;}
|
html, body {height: 100%; color: #000000;}
|
||||||
#view {height: 100%; width: 100%; overflow: hidden;}
|
#view {height: 100%; width: 100%; overflow: hidden;}
|
||||||
#verticalcenter {margin: 0; position: absolute; top: 50%; width: 100%; transform: translateY(-50%);}
|
#verticalcenter {margin: 0; position: absolute; top: 50%; width: 100%; transform: translateY(-50%);}
|
||||||
#verticalcenter p {font-family: 'Merriweather', serif; text-align: center; font-size: 24px; font-weight: 300; font-style: italic;}
|
#verticalcenter p {font-family: 'Merriweather', serif; text-align: center; font-size: 16px; font-weight: 300; font-style: italic;}
|
||||||
#view p#pilink {position: absolute; bottom: 20px; right: 20px; font-size: 20px;}
|
#verticalcenter p.main {font-size: 36px;}
|
||||||
#view p#pilink a {text-decoration: none; color: #BBC3D0;}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="view">
|
<div id="view">
|
||||||
<div id="verticalcenter">
|
<div id="verticalcenter">
|
||||||
<p>ja.son-williams.ca</p>
|
<p class="main">ja.son-williams.ca</p>
|
||||||
|
<p>Under maintenance. Please check back later.</p>
|
||||||
</div>
|
</div>
|
||||||
<p id="pilink"><a href="/backend">π</a></p>
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user