feat(page): google analytics, app rename & favicon

This commit is contained in:
Dmitry Nehaychik 2017-09-20 13:44:22 +03:00
parent 731b184e76
commit 3eee634861
6 changed files with 13 additions and 3 deletions

View file

@ -3,7 +3,7 @@
[class.right]="position === 'inverse'">
<div class="logo-containter">
<a (click)="toggleSidebar()" href="#" class="navigation"><i class="nb-menu"></i></a>
<div class="logo" (click)="goToHome()">NgX&nbsp;<span>Admin</span></div>
<div class="logo" (click)="goToHome()">ngx-<span>admin</span></div>
</div>
<ngx-theme-switcher></ngx-theme-switcher>
</div>

View file

@ -48,6 +48,7 @@
font-size: 1.75rem;
font-weight: nb-theme(font-weight-bolder);
border-left: 1px solid nb-theme(separator);
white-space: nowrap;
span {
font-weight: nb-theme(font-weight-normal);

View file

@ -74,7 +74,7 @@ const PIPES = [
const NB_THEME_PROVIDERS = [
...NbThemeModule.forRoot(
{
name: 'default',
name: 'cosmic',
},
[ DEFAULT_THEME, COSMIC_THEME ],
).providers,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before After
Before After

BIN
src/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -2,10 +2,19 @@
<html>
<head>
<meta charset="utf-8">
<title>NgX Admin Demo</title>
<title>ngx-admin Demo Application</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-102084081-3', 'auto');
</script>
</head>
<body>
<ngx-app>Loading...</ngx-app>