diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index efe13bc..610f920 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -2,7 +2,6 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { MainListComponent } from './components/main-list/main-list.component'; import { AdminFormCreateEventComponent } from './components/admin-form-create-event/admin-form-create-event.component'; -import { AdminFormManageEventComponent } from './components/admin-form-manage-event/admin-form-manage-event.component'; const routes: Routes = [ @@ -11,7 +10,7 @@ const routes: Routes = [ path: 'event/:id/present', component: MainListComponent }, { path: 'new/advertisingconfig', component: AdminFormCreateEventComponent }, - { path: 'manage/advertisingconfig', component: AdminFormManageEventComponent} + // { path: 'manage/advertisingconfig', component: AdminFormManageEventComponent} diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 30742fc..a171255 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -7,15 +7,13 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { HttpClientModule } from '@angular/common/http'; import { TranslocoRootModule } from './transloco-root.module'; import { ReactiveFormsModule } from '@angular/forms'; -import { CurrencyPipe } from '@angular/common'; +import { CurrencyPipe, + CommonModule +} from '@angular/common'; +import { AdminFormCreateEventComponent } from './components/admin-form-create-event/admin-form-create-event.component'; +import { DragDropModule } from '@angular/cdk/drag-drop' import { MainListComponent } from './components/main-list/main-list.component'; import { NextUpComponent } from './components/next-up/next-up.component'; -import { - AdminFormCreateEventComponent -} from './components/admin-form-create-event/admin-form-create-event.component'; -import { - AdminFormManageEventComponent -} from './components/admin-form-manage-event/admin-form-manage-event.component'; import { MatButtonModule, MatTabsModule, @@ -26,16 +24,16 @@ import { MatInputModule, MatGridListModule, } from '@angular/material'; -import { DragDropModule } from '@angular/cdk/drag-drop'; + @NgModule({ declarations: [ AppComponent, + AdminFormCreateEventComponent, MainListComponent, NextUpComponent, AdminFormCreateEventComponent, - AdminFormManageEventComponent, ], imports: [ BrowserModule, @@ -55,6 +53,7 @@ import { DragDropModule } from '@angular/cdk/drag-drop'; FormsModule, DragDropModule, MatCardModule, + CommonModule ], providers: [CurrencyPipe], bootstrap: [AppComponent] diff --git a/src/app/campaigns.service.spec.ts b/src/app/campaigns.service.spec.ts new file mode 100644 index 0000000..f92c725 --- /dev/null +++ b/src/app/campaigns.service.spec.ts @@ -0,0 +1,12 @@ +import { TestBed } from '@angular/core/testing'; + +import { CampaignsService } from './campaigns.service'; + +describe('CampaignsService', () => { + beforeEach(() => TestBed.configureTestingModule({})); + + it('should be created', () => { + const service: CampaignsService = TestBed.get(CampaignsService); + expect(service).toBeTruthy(); + }); +}); diff --git a/src/app/campaigns.service.ts b/src/app/campaigns.service.ts new file mode 100644 index 0000000..d1d56d5 --- /dev/null +++ b/src/app/campaigns.service.ts @@ -0,0 +1,20 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from "@angular/common/http"; + +@Injectable({ + providedIn: 'root' +}) +export class CampaignsService { + + constructor(private _http : HttpClient) { } + events: any = []; + + getCampaigns(){ + this._http.get("assets/events/fakerdata.json").subscribe(data =>{ + console.log(data); + this.events = data; + }) + } + + +} diff --git a/src/app/components/admin-form-create-event/admin-form-create-event.component.html b/src/app/components/admin-form-create-event/admin-form-create-event.component.html index 0b8baff..2194593 100644 --- a/src/app/components/admin-form-create-event/admin-form-create-event.component.html +++ b/src/app/components/admin-form-create-event/admin-form-create-event.component.html @@ -1,82 +1,192 @@ - - - + -

Welcome, User!

- - - - +

Welcome, User!

- Event Name - - - -
- -
-
-
- - Timing -
Display Time (in seconds): - - -
-
Frequency (in seconds): - - -
-
- - -
-
- - - Content + + + + Campaign Name + + + +
+ +
+ +
+ + Timing +
Display Time (in seconds): + + +
+
Frequency (in seconds): + + +
+
+ + +
+
+ + + Content +
+ Add Content + + +
-
- Add Content - - -
- -
- Event Line Up - -
- -
- Gallery - - -
+ +

Campaign Line-Up

+
+
+ +
+
+
+ +
+ Gallery +
+ +
+
+
+
+ +
+
- -
+
+ +
- + + +
+

Welcome, User!

+ Campaigns List: +
+ {{event.name}} + + + +
+
+ +

You are editing!

+
+ + + +
+ Campaign: {{event.name}} + + + +
+ + +
+
+
+ + Timing +
Display Time (in seconds): + + +
+
Frequency (in seconds): + + +
+
+ + +
+
+ + + Content + +
+ Add Content + + +
+ +

Campaign Line-Up

+
+
+ +
+
+
+ +
+ Gallery +
+ +
+
+
+
+ +
+
+
+
+ \ No newline at end of file diff --git a/src/app/components/admin-form-create-event/admin-form-create-event.component.scss b/src/app/components/admin-form-create-event/admin-form-create-event.component.scss index 2716ee5..c0076ad 100644 --- a/src/app/components/admin-form-create-event/admin-form-create-event.component.scss +++ b/src/app/components/admin-form-create-event/admin-form-create-event.component.scss @@ -7,3 +7,30 @@ p { padding-top: 1.5em; } +.images-layout { + height: 100px; + width: 100px; +} + +.row { + display: flex; + flex-wrap: wrap; + } + + .col { + margin: 5px; + height: 150px; + color: white; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + cursor: move; + } + + .selected { + border-style: solid; + border-width: 10px; + border-color: blue; + } + diff --git a/src/app/components/admin-form-create-event/admin-form-create-event.component.ts b/src/app/components/admin-form-create-event/admin-form-create-event.component.ts index eefc3f6..74c2edd 100644 --- a/src/app/components/admin-form-create-event/admin-form-create-event.component.ts +++ b/src/app/components/admin-form-create-event/admin-form-create-event.component.ts @@ -2,6 +2,7 @@ import { Component, OnInit } from '@angular/core'; import {FormBuilder, FormGroup, Validators} from '@angular/forms'; import { Router } from '@angular/router' import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop'; +import { CampaignsService } from '../../../app/campaigns.service' @Component({ selector: 'app-admin-form-create-event', @@ -17,50 +18,92 @@ export class AdminFormCreateEventComponent implements OnInit { freqMin = 10; displayMax = 120; freqMax = 600; - images1 = [ - { src : "https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*" - }, - { - src : "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg" - } - ] - - images2 = [ - { src : "https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*" - }, - { - src : "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg" - } - ] + showEventDetails : boolean = false; + manageButton : boolean = true; + editingButton : boolean = false; + disabled: boolean; + event: any; + + constructor(private _formBuilder: FormBuilder, private _router: Router, private _campaigns: CampaignsService) { } - constructor(private _formBuilder: FormBuilder, private _router: Router ) { } ngOnInit() { - this.nameFormGroup = this._formBuilder.group({ - eventName: ['', Validators.required] + this._campaigns.getCampaigns() + + this.nameFormGroup = this._formBuilder.group({ + campaignName: [null, [Validators.required]], + value: [null, [Validators.required, Validators.min(2), Validators.max(120)]], + value2: [null, [Validators.required, Validators.min(10), Validators.max(600)]] }) + this.nameFormGroup.valueChanges.subscribe(_ => console.log(this.nameFormGroup.errors)) } - drop(event: CdkDragDrop) { - if (event.previousContainer === event.container) { - moveItemInArray(event.container.data, event.previousIndex, event.currentIndex); + displayOptions(arg){ + this.showEventDetails = !this.showEventDetails; + this.manageButton =!this.manageButton; + this.editingButton =!this.editingButton; + this.event = arg; + this.nameFormGroup.patchValue({ + arg}); + console.log(this.event.campaignImages) + } + + + gallery = [ + { + id: 1, + path: 'https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg' + }, + { + id: 2, + path: 'https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg', + }, + { + id: 3, + path: 'https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg' + }, + ]; + + campaignImages; + + selectedImages = {}; + + + onSelect({id, path}) { + if (this.selectedImages[id]) { + delete this.selectedImages[id] } else { - transferArrayItem(event.previousContainer.data, - event.container.data, - event.previousIndex, - event.currentIndex); + this.selectedImages[id] = path; } + this.campaignImages = Object.values(this.selectedImages) } + - createEvent(){ - + drop(event: CdkDragDrop) { + moveItemInArray(this.campaignImages, event.previousIndex, event.currentIndex); } - goToManage(){ - this._router.navigate(['/admin-manage']) + + createCampaign(){ + console.log(this.nameFormGroup.value.value) + console.log(this.nameFormGroup.value.value2) + console.log(this.nameFormGroup.value.campaignName) + } + renameCampaign(){ + console.log(this.nameFormGroup.value.campaignName) + } + updateCampaign(){ + console.log(this.nameFormGroup.value.value) + console.log(this.nameFormGroup.value.value2) + console.log(this.nameFormGroup.value.campaignName) + + } + } + + diff --git a/src/app/components/admin-form-manage-event/admin-form-manage-event.component.html b/src/app/components/admin-form-manage-event/admin-form-manage-event.component.html deleted file mode 100644 index 9706601..0000000 --- a/src/app/components/admin-form-manage-event/admin-form-manage-event.component.html +++ /dev/null @@ -1 +0,0 @@ -

admin-form-manage-event works!

diff --git a/src/app/components/admin-form-manage-event/admin-form-manage-event.component.scss b/src/app/components/admin-form-manage-event/admin-form-manage-event.component.scss deleted file mode 100644 index e69de29..0000000 diff --git a/src/app/components/admin-form-manage-event/admin-form-manage-event.component.spec.ts b/src/app/components/admin-form-manage-event/admin-form-manage-event.component.spec.ts deleted file mode 100644 index 06147a3..0000000 --- a/src/app/components/admin-form-manage-event/admin-form-manage-event.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { AdminFormManageEventComponent } from './admin-form-manage-event.component'; - -describe('AdminFormManageEventComponent', () => { - let component: AdminFormManageEventComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ AdminFormManageEventComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(AdminFormManageEventComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/src/app/components/admin-form-manage-event/admin-form-manage-event.component.ts b/src/app/components/admin-form-manage-event/admin-form-manage-event.component.ts deleted file mode 100644 index d4dc870..0000000 --- a/src/app/components/admin-form-manage-event/admin-form-manage-event.component.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Component, OnInit } from '@angular/core'; - -@Component({ - selector: 'app-admin-form-manage-event', - templateUrl: './admin-form-manage-event.component.html', - styleUrls: ['./admin-form-manage-event.component.scss'] -}) -export class AdminFormManageEventComponent implements OnInit { - - constructor() { } - - ngOnInit() { - } - -} diff --git a/src/assets/events/fakerdata.json b/src/assets/events/fakerdata.json new file mode 100644 index 0000000..d9b8b8b --- /dev/null +++ b/src/assets/events/fakerdata.json @@ -0,0 +1,121 @@ +[{ + "name": "Colorado", + "displayTime": 101, + "freqTime": 313, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Savings Account", + "displayTime": 76, + "freqTime": 48, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "deposit", + "displayTime": 45, + "freqTime": 333, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Games", + "displayTime": 114, + "freqTime": 303, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Kids", + "displayTime": 97, + "freqTime": 19, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Compatible", + "displayTime": 66, + "freqTime": 42, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Chips", + "displayTime": 57, + "freqTime": 302, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "challenge", + "displayTime": 2, + "freqTime": 560, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "cultivate", + "displayTime": 39, + "freqTime": 239, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "deposit", + "displayTime": 32, + "freqTime": 553, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "users", + "displayTime": 86, + "freqTime": 105, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "invoice", + "displayTime": 104, + "freqTime": 60, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Officer", + "displayTime": 107, + "freqTime": 374, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Uruguay", + "displayTime": 8, + "freqTime": 391, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Sports", + "displayTime": 36, + "freqTime": 502, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Rubber", + "displayTime": 37, + "freqTime": 44, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Intuitive", + "displayTime": 35, + "freqTime": 114, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Tasty Wooden Chicken", + "displayTime": 70, + "freqTime": 325, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Montana", + "displayTime": 94, + "freqTime": 415, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}, { + "name": "Optimization", + "displayTime": 55, + "freqTime": 156, + "campaignImages": ["https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg", "https://www.gardendesign.com/pictures/images/263x300Exact_62x0/site_3/helianthus-yellow-flower-pixabay_11863.jpg"], + "galleryImages": ["https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/colorful-of-dahlia-pink-flower-in-beautiful-garden-royalty-free-image-825886130-1554743243.jpg?crop=0.669xw:1.00xh;0.331xw,0&resize=640:*"] +}] \ No newline at end of file