From db68967feb8805852b90133062015ea4ef920719 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 28 Mar 2016 16:32:21 -0400 Subject: fix links field --- db.json | 11 +++++++++-- index.js | 2 +- public/assets/js/app.js | 11 +++++------ templates/index.liquid | 6 +++--- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/db.json b/db.json index cb0f96a..4efbeca 100644 --- a/db.json +++ b/db.json @@ -5,14 +5,21 @@ "year": 2016, "title": "Annapurna Pictures", "link": "http://annapurna.pictures/", - "NatureOfWork": "DesignProgramming", + "NatureOfWork": "Design\r\nProgramming", "brief": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\r\n", "image": { "uri": "https://ltho.s3.amazonaws.com/ebd3062e-1cf4-4a2d-a7f3-240f66e32258.png", "caption": "" }, "press": [ - "http://asdf.us/" + { + "text": "New York Times", + "uri": "http://nytimes.com/" + }, + { + "text": "WSJ", + "uri": "http://wsj.com/" + } ], "__index": "0", "dateCreated": "Sat, 26 Mar 2016 20:34:21 GMT", diff --git a/index.js b/index.js index 8de3947..5927a34 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,7 @@ var app = okcms.createApp({ title: {type: 'string'}, client: {type: 'string'}, link: {type: 'string'}, - NatureOfWork: {type: 'tag-list'}, + NatureOfWork: {type: 'text'}, brief: {type: 'text'}, image: {type: 'image'}, containImage: {type: 'flag'}, diff --git a/public/assets/js/app.js b/public/assets/js/app.js index 974d51e..278c7e3 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -16,10 +16,9 @@ $('.top').flickity({ pageDots: false, wrapAround: true, arrowShape: { - x0: 10, - x1: 35, y1: 25, - x2: 40, y2: 25, - x3: 15 -} - + x0: 10, + x1: 35, y1: 25, + x2: 40, y2: 25, + x3: 15 + } }); \ No newline at end of file diff --git a/templates/index.liquid b/templates/index.liquid index d48e2ea..f8f4144 100644 --- a/templates/index.liquid +++ b/templates/index.liquid @@ -59,7 +59,7 @@ {{ project.title }}