chore(demo): add analytics, social links, contact email

This commit is contained in:
KostyaDanovsky 2017-09-22 18:24:52 +03:00
parent 71927729e4
commit 73d358d64b
4 changed files with 40 additions and 4 deletions

View file

@ -20,10 +20,10 @@ import { PAGES_MENU } from './pages.menu';
<div class="al-footer-main clearfix">
<div class="al-copy">&copy; <a href="http://akveo.com" translate>{{'general.akveo'}}</a> 2016</div>
<ul class="al-share clearfix">
<li><i class="socicon socicon-facebook"></i></li>
<li><i class="socicon socicon-twitter"></i></li>
<li><i class="socicon socicon-google"></i></li>
<li><i class="socicon socicon-github"></i></li>
<li><a href="https://www.facebook.com/akveo" target="_blank"><i class="socicon socicon-facebook"></i></a></li>
<li><a href="https://twitter.com/akveo_inc" target="_blank"><i class="socicon socicon-twitter"></i></a></li>
<li><a href="mailto:contact@akveo.com"><i class="socicon socicon-google"></i></a></li>
<li><a href="https://github.com/akveo" target="_blank"><i class="socicon socicon-github"></i></a></li>
</ul>
</div>
</footer>

View file

@ -21,4 +21,5 @@
</div>
<ba-msg-center></ba-msg-center>
</div>
<div class="questions-section">Have questions? <a href="mailto:contact@akveo.com">contact@akveo.com</a></div>
</div>

View file

@ -83,6 +83,22 @@
}
}
.questions-section {
position: absolute;
right: 200px;
top: 0;
height: $top-height;
line-height: $top-height;
color: $default;
font-weight: $font-light;
a {
color: $primary;
&:active, &:hover, &:focus {
color: $primary-light;
}
}
}
a.refresh-data {
color: $sidebar-text;
font-size: 13px;
@ -168,6 +184,12 @@
}
}
@media screen and (max-width: $resM) {
.questions-section {
display: none;
}
}
@media screen and (max-width: $resS) {
.search {
display: none;

View file

@ -7,6 +7,19 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ng2-admin</title>
<script type="javascript">
/* <![CDATA[ */
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-61945105-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
(function(b){(function(a){"__CF"in b&&"DJS"in b.__CF?b.__CF.DJS.push(a):"addEventListener"in b?b.addEventListener("load",a,!1):b.attachEvent("onload",a)})(function(){"FB"in b&&"Event"in FB&&"subscribe"in FB.Event&&(FB.Event.subscribe("edge.create",function(a){_gaq.push(["_trackSocial","facebook","like",a])}),FB.Event.subscribe("edge.remove",function(a){_gaq.push(["_trackSocial","facebook","unlike",a])}),FB.Event.subscribe("message.send",function(a){_gaq.push(["_trackSocial","facebook","send",a])}));"twttr"in b&&"events"in twttr&&"bind"in twttr.events&&twttr.events.bind("tweet",function(a){if(a){var b;if(a.target&&a.target.nodeName=="IFRAME")a:{if(a=a.target.src){a=a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);b=0;for(var c;c=a[b];++b)if(c.indexOf("url")===0){b=unescape(c.split("=")[1]);break a}}b=void 0}_gaq.push(["_trackSocial","twitter","tweet",b])}})})})(window);
/* ]]> */
</script>
</head>
<body>