mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
parent
480a90b8c2
commit
9381d8c81e
4 changed files with 33 additions and 0 deletions
|
|
@ -8,6 +8,24 @@ import { throwIfAlreadyLoaded } from './module-import-guard';
|
|||
import { DataModule } from './data/data.module';
|
||||
import { AnalyticsService } from './utils/analytics.service';
|
||||
|
||||
const socialLinks = [
|
||||
{
|
||||
url: 'https://github.com/akveo/nebular',
|
||||
target: '_blank',
|
||||
icon: 'socicon-github',
|
||||
},
|
||||
{
|
||||
url: 'https://www.facebook.com/akveo/',
|
||||
target: '_blank',
|
||||
icon: 'socicon-facebook',
|
||||
},
|
||||
{
|
||||
url: 'https://twitter.com/akveo_inc',
|
||||
target: '_blank',
|
||||
icon: 'socicon-twitter',
|
||||
},
|
||||
];
|
||||
|
||||
const NB_CORE_PROVIDERS = [
|
||||
...DataModule.forRoot().providers,
|
||||
...NbAuthModule.forRoot({
|
||||
|
|
@ -22,6 +40,14 @@ const NB_CORE_PROVIDERS = [
|
|||
},
|
||||
},
|
||||
},
|
||||
forms: {
|
||||
login: {
|
||||
socialLinks: socialLinks,
|
||||
},
|
||||
register: {
|
||||
socialLinks: socialLinks,
|
||||
},
|
||||
},
|
||||
}).providers,
|
||||
NbSecurityModule.forRoot({
|
||||
accessControl: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue