summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2015-05-19 01:42:56 +0200
committerJulie Lala <jules@okfoc.us>2015-05-19 01:42:56 +0200
commit158aaa8ff7a9698b8a9f90739a1fe48ff2a6807b (patch)
treedf748a77d189f34e79f0ef8fdd0d6baeec1b6b97
parent6e0e1fd1d0dda6c7296b6a03f191c020294e15db (diff)
merge retail section into experiental
-rw-r--r--site/db.json6
-rw-r--r--site/index.js26
-rw-r--r--site/templates/all.liquid6
-rw-r--r--site/templates/index.liquid6
4 files changed, 14 insertions, 30 deletions
diff --git a/site/db.json b/site/db.json
index 4bb50e4..010ad37 100644
--- a/site/db.json
+++ b/site/db.json
@@ -1,6 +1,6 @@
{
"meta": [],
- "retail": [
+ "experiential": [
{
"id": "nicola-s-new-york",
"title": "NICOLA’S NEW YORK",
@@ -109,9 +109,7 @@
"caption": ""
},
"__index": "2"
- }
- ],
- "experiential": [
+ },
{
"id": "gaga-s-workshop-barneys-new-york",
"title": "GAGA'S WORKSHOP + BARNEYS NEW YORK",
diff --git a/site/index.js b/site/index.js
index 04d2455..9e1f568 100644
--- a/site/index.js
+++ b/site/index.js
@@ -30,7 +30,6 @@ var app = okcms.createApp({
advertising: projectSchema,
content: projectSchema,
experiential: projectSchema,
- retail: projectSchema,
shape: {
id: {type: 'string', id: true, hidden: true},
title: {type: 'string'},
@@ -46,7 +45,6 @@ var app = okcms.createApp({
{ type: 'advertising' },
{ type: 'content' },
{ type: 'experiential' },
- { type: 'retail' },
],
services: {
@@ -65,7 +63,7 @@ var app = okcms.createApp({
{type: 'page', query: 'contact'},
// {type: 'shape', query: 'about-images'},
{type: 'shape', query: 'shape-images'},
- {type: 'retail', query: '*'},
+// {type: 'retail', query: '*'},
{type: 'advertising', query: '*'},
{type: 'experiential', query: '*'},
{type: 'content', query: '*'},
@@ -83,23 +81,23 @@ var app = okcms.createApp({
},
'/all': {
data: [
- {type: 'retail', query: '*'},
+// {type: 'retail', query: '*'},
{type: 'advertising', query: '*'},
{type: 'experiential', query: '*'},
{type: 'content', query: '*'},
],
template: 'all'
},
- '/retail/:id': {
- data: {
- type: 'retail',
- as: 'project',
- query: {
- id: ':id'
- }
- },
- template: 'project'
- },
+// '/retail/:id': {
+// data: {
+// type: 'retail',
+// as: 'project',
+// query: {
+// id: ':id'
+// }
+// },
+// template: 'project'
+// },
'/advertising/:id': {
data: {
type: 'advertising',
diff --git a/site/templates/all.liquid b/site/templates/all.liquid
index 97528c2..ca4b83f 100644
--- a/site/templates/all.liquid
+++ b/site/templates/all.liquid
@@ -17,10 +17,4 @@
<span>{{ project.menu }}</span>
</div>
{% endfor %}
- {% for project in retails %}
- <div class="project" data-id="{{ project.id }}" data-type="retail">
- <img src="{{ project.thumbnail.uri }}">
- <span>{{ project.menu }}</span>
- </div>
- {% endfor %}
</div>
diff --git a/site/templates/index.liquid b/site/templates/index.liquid
index 573cfc0..41d64e6 100644
--- a/site/templates/index.liquid
+++ b/site/templates/index.liquid
@@ -103,12 +103,6 @@ WEBSITE BY OKFOCUS, http://okfoc.us, Internet Legends.
<a href="#" data-type="experiential" data-id="{{ project.id }}" data-name="{{ project.menu }}" data-image="{{ project.thumbnail.uri }}">{{ project.menu }}</a>
{% endfor %}
</div>
- <div class="cat" data-type="retail">retail</div>
- <div class="sub" data-type="retail">
- {% for project in retails %}
- <a href="#" data-type="retail" data-id="{{ project.id }}" data-name="{{ project.menu }}" data-image="{{ project.thumbnail.uri }}">{{ project.menu }}</a>
- {% endfor %}
- </div>
</div>
<div class="middle" style="display: none">
<div class="cat index">VIEW ALL PROJECTS</div>