diff --git a/bookstore-api/.idea/workspace.xml b/bookstore-api/.idea/workspace.xml index 28b59f1..cfbff25 100644 --- a/bookstore-api/.idea/workspace.xml +++ b/bookstore-api/.idea/workspace.xml @@ -1007,12 +1007,12 @@ - + - diff --git a/store-front/src/app/app.module.ts b/store-front/src/app/app.module.ts index 056fdee..5313b52 100644 --- a/store-front/src/app/app.module.ts +++ b/store-front/src/app/app.module.ts @@ -31,6 +31,9 @@ import { BookDetailComponent } from './components/book-detail/book-detail.compon import { ShoppingCartComponent } from './components/shopping-cart/shopping-cart.component'; import { OrderComponent } from './components/order/order.component'; import { OrderSummaryComponent } from './components/order-summary/order-summary.component'; +import { BestSellerComponent } from './components/best-seller/best-seller.component'; +import { HoursComponent } from './components/hours/hours.component'; +import { FaqComponent } from './components/faq/faq.component'; @NgModule({ declarations: [ @@ -44,7 +47,10 @@ import { OrderSummaryComponent } from './components/order-summary/order-summary. BookDetailComponent, ShoppingCartComponent, OrderComponent, - OrderSummaryComponent + OrderSummaryComponent, + BestSellerComponent, + HoursComponent, + FaqComponent ], imports: [ BrowserModule, diff --git a/store-front/src/app/app.routing.ts b/store-front/src/app/app.routing.ts index c88bada..09738b6 100644 --- a/store-front/src/app/app.routing.ts +++ b/store-front/src/app/app.routing.ts @@ -12,6 +12,8 @@ import {BookDetailComponent} from './components/book-detail/book-detail.componen import {ShoppingCartComponent} from './components/shopping-cart/shopping-cart.component'; import {OrderComponent} from './components/order/order.component'; import { OrderSummaryComponent } from './components/order-summary/order-summary.component'; +import { HoursComponent } from './components/hours/hours.component'; +import { FaqComponent } from './components/faq/faq.component'; const appRoutes: Routes = [ @@ -51,6 +53,14 @@ const appRoutes: Routes = [ { path: 'orderSummary', component: OrderSummaryComponent + }, + { + path: 'hours', + component: HoursComponent + }, + { + path: 'faq', + component: FaqComponent } ]; diff --git a/store-front/src/app/components/best-seller/best-seller.component.css b/store-front/src/app/components/best-seller/best-seller.component.css new file mode 100644 index 0000000..e69de29 diff --git a/store-front/src/app/components/best-seller/best-seller.component.html b/store-front/src/app/components/best-seller/best-seller.component.html new file mode 100644 index 0000000..b87bf93 --- /dev/null +++ b/store-front/src/app/components/best-seller/best-seller.component.html @@ -0,0 +1,3 @@ +

+ best-seller works! +

diff --git a/store-front/src/app/components/best-seller/best-seller.component.spec.ts b/store-front/src/app/components/best-seller/best-seller.component.spec.ts new file mode 100644 index 0000000..0c3ad24 --- /dev/null +++ b/store-front/src/app/components/best-seller/best-seller.component.spec.ts @@ -0,0 +1,28 @@ +/* tslint:disable:no-unused-variable */ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { By } from '@angular/platform-browser'; +import { DebugElement } from '@angular/core'; + +import { BestSellerComponent } from './best-seller.component'; + +describe('BestSellerComponent', () => { + let component: BestSellerComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ BestSellerComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(BestSellerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/store-front/src/app/components/best-seller/best-seller.component.ts b/store-front/src/app/components/best-seller/best-seller.component.ts new file mode 100644 index 0000000..0671a20 --- /dev/null +++ b/store-front/src/app/components/best-seller/best-seller.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-best-seller', + templateUrl: './best-seller.component.html', + styleUrls: ['./best-seller.component.css'] +}) +export class BestSellerComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/store-front/src/app/components/faq/faq.component.css b/store-front/src/app/components/faq/faq.component.css new file mode 100644 index 0000000..e69de29 diff --git a/store-front/src/app/components/faq/faq.component.html b/store-front/src/app/components/faq/faq.component.html new file mode 100644 index 0000000..70251f3 --- /dev/null +++ b/store-front/src/app/components/faq/faq.component.html @@ -0,0 +1,72 @@ +
+
+
+

My Account

+
+
+ +
+ +
+ +
+
+

Shopping

+
+

Q: How do I place an order?

+

A: First you need to set up an account, once that is created you are ready to place an order.

+

Q: How do I set up an account? 

+

A: Click on the login button in the upper right hand corner of the main page and then click on create an + account.

+

Q: How long does it take to process and ship orders?

+

A: Please allow 1 - 3 business days (Monday-Friday) for order processing regardless of the shipping + method chosen. Once shipped you should receive your order within 2 - 10 business days. Please note that + 2 day and Overnight services refer to business days (Monday - Friday). +

+

Q: Are all of the items guaranteed in stock?

+

A: We try to update the website as often as possible to reflect out of stock conditions. However, the + ability to order an item does not guarantee that it will be in stock when your order is processed. You + will be notified if an order is not available. +

+

Q: Why can't I choose the size and color I want?

+

A: If you are unable to select a specific size or color, it typically means that the item is out of + stock. Try checking back in 2 - 3 weeks to see if your size or color is available. +

+

Q: I can't find a specific item on the website, are there items available that are not listed on the + website?

+

A: The items that are currently shown on our website represent what is currently available to view + and order online. There is a wider selection of merchandise available at the UVM Bookstore and the + Catamount Store. Please visit our stores when you are in the Burlington area. +

+

Q: How can I check the status of my order?

+

A: If you have registered for an account at the UVM Bookstore, click on "My Account" and login with your + email address and password. You can view the status of any orders that were made while you were signed + in. You can also contact us at 1.800.331.7305 with your name, order number, and a request for + status of your order. Our office hours are Monday - Friday 8am -4:30pm EST +

+

Q: How can I cancel or change my order?

+

A: You can cancel your order or make a change to it by contacting us at 1.999.999.9999 as soon as + possible after your order is placed with your name, order number, and a request for cancellation or a + description of the requested change. Our office hours are Monday Friday 8am 4:30pm. We will do our best + to cancel or modify your order, but we will not be able to complete the cancellation if your order has + been processed or shipped. +

+ +

Shipping 

+
+

The UVM Bookstore is proud to offer you competitive shipping rates. All of our shipments are + professionally packed to ensure the safety of your items in route.

+

Q: How much is the shipping charge on orders?

+

A: The shipping charge depends on the total amount of the merchandise ordered as well as the shipping + method chosen. There are some items that incur additional charges such as diploma frames $19.99 for an + oversized box and maple syrup $1.00 for double-boxing. The rate for chairs and rockers is $35.00 for + shipments east of the Mississippi and $45.00 west of the Mississippi.

+

Q. What is your shipping method?

+

A: We ship UPS, FedEx or US mail . +

+

Q: When will I receive my order?

+

A: On average, your order will be received in 7 - 10 working days. During August and January, delivery + time may take longer. 

+
+
+
\ No newline at end of file diff --git a/store-front/src/app/components/faq/faq.component.spec.ts b/store-front/src/app/components/faq/faq.component.spec.ts new file mode 100644 index 0000000..92a9124 --- /dev/null +++ b/store-front/src/app/components/faq/faq.component.spec.ts @@ -0,0 +1,28 @@ +/* tslint:disable:no-unused-variable */ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { By } from '@angular/platform-browser'; +import { DebugElement } from '@angular/core'; + +import { FaqComponent } from './faq.component'; + +describe('FaqComponent', () => { + let component: FaqComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ FaqComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(FaqComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/store-front/src/app/components/faq/faq.component.ts b/store-front/src/app/components/faq/faq.component.ts new file mode 100644 index 0000000..870d5b9 --- /dev/null +++ b/store-front/src/app/components/faq/faq.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-faq', + templateUrl: './faq.component.html', + styleUrls: ['./faq.component.css'] +}) +export class FaqComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/store-front/src/app/components/home/home.component.html b/store-front/src/app/components/home/home.component.html index c016306..3275dfe 100644 --- a/store-front/src/app/components/home/home.component.html +++ b/store-front/src/app/components/home/home.component.html @@ -15,21 +15,21 @@
- +
- +
- +
diff --git a/store-front/src/app/components/hours/hours.component.css b/store-front/src/app/components/hours/hours.component.css new file mode 100644 index 0000000..e69de29 diff --git a/store-front/src/app/components/hours/hours.component.html b/store-front/src/app/components/hours/hours.component.html new file mode 100644 index 0000000..0e5103d --- /dev/null +++ b/store-front/src/app/components/hours/hours.component.html @@ -0,0 +1,16 @@ +
+
+
+

My Account

+
+
+ +
+ +
+
+
+ +
+
+
\ No newline at end of file diff --git a/store-front/src/app/components/hours/hours.component.spec.ts b/store-front/src/app/components/hours/hours.component.spec.ts new file mode 100644 index 0000000..af14f00 --- /dev/null +++ b/store-front/src/app/components/hours/hours.component.spec.ts @@ -0,0 +1,28 @@ +/* tslint:disable:no-unused-variable */ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { By } from '@angular/platform-browser'; +import { DebugElement } from '@angular/core'; + +import { HoursComponent } from './hours.component'; + +describe('HoursComponent', () => { + let component: HoursComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ HoursComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(HoursComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/store-front/src/app/components/hours/hours.component.ts b/store-front/src/app/components/hours/hours.component.ts new file mode 100644 index 0000000..586bc35 --- /dev/null +++ b/store-front/src/app/components/hours/hours.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-hours', + templateUrl: './hours.component.html', + styleUrls: ['./hours.component.css'] +}) +export class HoursComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +}