diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 6e4cee7..3c4d451 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -14,6 +14,7 @@ import { MenuItemsComponent } from './menu-items/menu-items.component'; import { SchedulesComponent } from './schedules/schedules.component'; import { CustomSelectorComponent } from './custom-selector/custom-selector.component'; import { FaqComponent } from './faq/faq.component'; +import { SupportComponent } from './support/support.component'; @NgModule({ declarations: [ @@ -25,7 +26,8 @@ import { FaqComponent } from './faq/faq.component'; MenuItemsComponent, SchedulesComponent, CustomSelectorComponent, - FaqComponent + FaqComponent, + SupportComponent ], imports: [ BrowserModule, diff --git a/src/app/support/support.component.html b/src/app/support/support.component.html new file mode 100644 index 0000000..fe9b0d7 --- /dev/null +++ b/src/app/support/support.component.html @@ -0,0 +1,57 @@ +
+
+
Are you facing any problem?
+

+ If you need instant support then use live chat option to reach us quickly. Our support will relpy + as soon as possible after you send us a message. +

+
Or you can contact at
+ +
+ +
+
Start Live Chat
+
+
Ask us anything!
+

Our team typically replies in few minutes

+
+ +
+ +
+
+
diff --git a/src/app/support/support.component.scss b/src/app/support/support.component.scss new file mode 100644 index 0000000..41d51ff --- /dev/null +++ b/src/app/support/support.component.scss @@ -0,0 +1,168 @@ +.container { + width: 95%; + margin-left: auto; + display: flex; +} + +.contact-details { + width: 65%; + text-align: center; + margin-top: 100px; + letter-spacing: 1px; + + header { + font-size: 20px; + color: var(--dark-grey); + font-weight: 500; + } + + p { + color: var(--grey); + font-size: 13px; + line-height: 1.5; + margin: 20px 0; + } + + .sub-header { + font-size: 16px; + color: var(--dark-grey); + font-weight: 500; + margin-bottom: 20px; + } + + .contact-links-holder { + a { + font-weight: 600; + background-color: #dce9f5; + padding: 7px 10px; + margin: 0 10px; + border-radius: 5px; + color: var(--brand-blue); + font-size: 13px; + + label { + color: var(--dark-grey); + } + } + } +} + +.chat { + background-color: white; + width: 30%; + margin-left: auto; + letter-spacing: 1px; + position: relative; + + .heading { + font-size: 16px; + color: var(--dark-grey); + font-weight: 500; + margin: 30px 0 20px; + padding-left: 25px; + + i { + color: var(--brand-blue); + font-size: 20px; + margin-right: 10px; + } + } + + .sub-header { + background-color: #f5f9fd; + padding: 15px 25px; + + header { + font-size: 14px; + color: var(--dark-grey); + font-weight: 500; + } + + p { + font-size: 12px; + color: var(--grey); + line-height: 1.5; + margin-top: 5px; + } + } + + .conversation { + list-style: none; + padding: 10px 25px; + height: calc(100vh - 275px); + overflow: auto; + + &:hover { + &::-webkit-scrollbar { + display: block; + } + } + + &::-webkit-scrollbar { + width: 8px; + display: none; + } + + /* Track */ + &::-webkit-scrollbar-track { + background-color: white; + } + /* Handle */ + &::-webkit-scrollbar-thumb { + background-color: rgba(black, 0.2); + } + /* Handle on hover */ + &::-webkit-scrollbar-thumb:hover { + background-color: rgba(black, 0.5); + } + + li { + background-color: #efefef; + color: var(--dark-grey); + font-size: 13px; + padding: 10px; + border-radius: 10px; + margin: 20px 0; + font-weight: 500; + text-align: right; + + &.received-message { + background-color: #dce9f5; + text-align: left; + } + } + } + + .chat-input-holder { + margin: 0 auto; + width: 90%; + height: 50px; + display: flex; + align-items: center; + border-radius: 5px; + box-shadow: inset 0px 0px 5px #cecece; + padding: 10px; + background: white; + + input { + height: 100%; + flex-grow: 1; + border: 0; + font-weight: 500; + letter-spacing: 1px; + color: var(--grey); + padding-right: 10px; + } + + button { + width: 30px; + height: 30px; + border-radius: 50%; + color: var(--brand-blue); + font-size: 15px; + background-color: white; + border: 1px solid #cecece; + box-shadow: 0px 0px 5px #cecece; + } + } +} diff --git a/src/app/support/support.component.spec.ts b/src/app/support/support.component.spec.ts new file mode 100644 index 0000000..9b84302 --- /dev/null +++ b/src/app/support/support.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SupportComponent } from './support.component'; + +describe('SupportComponent', () => { + let component: SupportComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ SupportComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SupportComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/support/support.component.ts b/src/app/support/support.component.ts new file mode 100644 index 0000000..c340667 --- /dev/null +++ b/src/app/support/support.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-support', + templateUrl: './support.component.html', + styleUrls: ['./support.component.scss'] +}) +export class SupportComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/widgets-holder/widgets-holder.component.html b/src/app/widgets-holder/widgets-holder.component.html index 6d60931..1afc6b0 100644 --- a/src/app/widgets-holder/widgets-holder.component.html +++ b/src/app/widgets-holder/widgets-holder.component.html @@ -48,5 +48,6 @@ + diff --git a/src/app/widgets-holder/widgets-holder.component.ts b/src/app/widgets-holder/widgets-holder.component.ts index bc3dd68..a29932c 100644 --- a/src/app/widgets-holder/widgets-holder.component.ts +++ b/src/app/widgets-holder/widgets-holder.component.ts @@ -6,7 +6,7 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./widgets-holder.component.scss'] }) export class WidgetsHolderComponent implements OnInit { - selected_nav: string = 'faq'; + selected_nav: string = 'support'; constructor() { }