From c273cadba219ed954af7d2076e2c32e00b38ad03 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 11 Sep 2015 17:03:42 -0400 Subject: sketch out html based on mock --- README | 3 - README.md | 3 + StoneIsland/www/index.html | 282 +++++++++++++++++++++++++++++++ StoneIsland/www/js/vendor/view/router.js | 8 +- 4 files changed, 291 insertions(+), 5 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index ea0b56f4..00000000 --- a/README +++ /dev/null @@ -1,3 +0,0 @@ -stone island -============ - diff --git a/README.md b/README.md new file mode 100644 index 00000000..ea0b56f4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +stone island +============ + diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 6deac067..c0c5b331 100644 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -20,6 +20,288 @@ Stone Island + +
+
+ STORE + HUB + STORY + ARCHIVE + +40.589060 -74.044636 +
+ + + +
+ + + + +
+

STORY

+ +
+ +
+

COLLECTION NAME

+ + + + + + +
+ + +
+ + + + + + + + + + + +
+
+
+ + +
+ +
+ X-SMALL + SMALL + MEDIUM + LARGE + X-LARGE +
+
+ + +
+ + + +
+ + + SIGN IN +
+
+ + +
+

YOUR CART / 2 ITEMS

+ +
+ SUMMARY + SHIPPING + BILLING +
+ +
+
+ +
+
+ SUB TOTAL + +
+
+ ESTIMATED SHIPPING
& HANDLING
+ +
+
+ TAX + +
+
+ TOTAL + +
+
+ +
+
+ ADDRESS +
+
+
+ + +
+
+ + + +
+
+ + +
+
+ + +
+
+ + +
+
+ +

SHIPPING METHOD

+ +
+
+ STANDARD $10 + (DELIVERY IN 5-8 WORKING DAYS) +
+ +
+
+ EXPRESS $20 + (DELIVERY IN 2-4 WORKING DAYS) +
+
+ +
+
+ +
+ +
+ diff --git a/StoneIsland/www/js/vendor/view/router.js b/StoneIsland/www/js/vendor/view/router.js index 36f86b5d..82cf9e12 100644 --- a/StoneIsland/www/js/vendor/view/router.js +++ b/StoneIsland/www/js/vendor/view/router.js @@ -1,12 +1,16 @@ var Router = View.extend({ + routeByHash: false, + go: function(url){ this.parseRoute(url) }, route: function(){ - this.originalPath = window.location.pathname - this.parseRoute(window.location.pathname) + var path = this.routeByHash ? window.location.hash.substr(0) : window.location.pathname + path = path || "/" + this.originalPath = path + this.parseRoute(path) }, parseRoute: function(pathname){ -- cgit v1.2.3-70-g09d2