Running Prettier in Project
This commit is contained in:
@@ -1,44 +1,42 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {NgcCookieConsentConfig, NgcCookieConsentModule} from "ngx-cookieconsent";
|
||||
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import {
|
||||
NgcCookieConsentConfig,
|
||||
NgcCookieConsentModule,
|
||||
} from 'ngx-cookieconsent';
|
||||
|
||||
const cookieConfig: NgcCookieConsentConfig = {
|
||||
"cookie": {
|
||||
"domain": "tinesoft.github.io"
|
||||
cookie: {
|
||||
domain: 'tinesoft.github.io',
|
||||
},
|
||||
"position": "bottom-left",
|
||||
"theme": "classic",
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#4e4e4e",
|
||||
"text": "#ffffff",
|
||||
"link": "#ffffff"
|
||||
position: 'bottom-left',
|
||||
theme: 'classic',
|
||||
palette: {
|
||||
popup: {
|
||||
background: '#4e4e4e',
|
||||
text: '#ffffff',
|
||||
link: '#ffffff',
|
||||
},
|
||||
button: {
|
||||
background: '#fa2f22',
|
||||
text: '#ffffff',
|
||||
border: 'transparent',
|
||||
},
|
||||
"button": {
|
||||
"background": "#fa2f22",
|
||||
"text": "#ffffff",
|
||||
"border": "transparent"
|
||||
}
|
||||
},
|
||||
"type": "opt-in",
|
||||
"content": {
|
||||
"message": "This website uses cookies to ensure you get the best experience on our website.",
|
||||
"dismiss": "Got it!",
|
||||
"deny": "Refuse cookies",
|
||||
"link": "",
|
||||
"href": "",
|
||||
"policy": "Cookie Policy"
|
||||
}
|
||||
type: 'opt-in',
|
||||
content: {
|
||||
message:
|
||||
'This website uses cookies to ensure you get the best experience on our website.',
|
||||
dismiss: 'Got it!',
|
||||
deny: 'Refuse cookies',
|
||||
link: '',
|
||||
href: '',
|
||||
policy: 'Cookie Policy',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
NgcCookieConsentModule.forRoot(cookieConfig)
|
||||
]
|
||||
imports: [CommonModule, NgcCookieConsentModule.forRoot(cookieConfig)],
|
||||
})
|
||||
export class CookieConsentModule {
|
||||
}
|
||||
export class CookieConsentModule {}
|
||||
|
||||
Reference in New Issue
Block a user