summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-04-05 18:23:25 -0400
committerJules Laplace <jules@okfoc.us>2016-04-05 18:23:25 -0400
commitb0e406f3fcbc9c41ef2a0b5b626064b340743e92 (patch)
tree6943b9917bc1eb86020a0b5ac2c02000fdbafde8
parentaeca3e15d00b8715e6d07880c2aea7465f6b55f0 (diff)
putting intro in db
-rw-r--r--.gitignore1
-rw-r--r--Gruntfile.js30
-rwxr-xr-xbuild.sh3
-rw-r--r--db.json43
-rw-r--r--index.js16
-rw-r--r--templates/index.liquid23
6 files changed, 83 insertions, 33 deletions
diff --git a/.gitignore b/.gitignore
index 7bf8949..c86fefb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,4 +13,5 @@ restart
.env
*.sqlite3
app.concat.js
+app.min.js
diff --git a/Gruntfile.js b/Gruntfile.js
index d6a4504..5155857 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -9,23 +9,23 @@ module.exports = function(grunt) {
separator: "\n;\n"
},
src: [
- "public/js/vendor/fastclick.js",
- "public/js/vendor/flickity.pkfg.js",
- "public/js/vendor/iscroll.js",
- "public/js/vendor/loader.js",
- "public/js/vendor/lodash.min.js",
- "public/js/vendor/util.js",
+ "public/assets/js/vendor/fastclick.js",
+ "public/assets/js/vendor/flickity.pkfg.js",
+ "public/assets/js/vendor/iscroll.js",
+ "public/assets/js/vendor/loader.js",
+ "public/assets/js/vendor/lodash.min.js",
+ "public/assets/js/vendor/util.js",
- "public/js/vendor/View.js",
- "public/js/vendor/Router.js",
+ "public/assets/js/vendor/View.js",
+ "public/assets/js/vendor/Router.js",
- "public/js/lib/SiteRouter.js",
- "public/js/lib/HeaderView.js",
- "public/js/lib/NavView.js",
- "public/js/lib/ProjectView.js",
- "public/js/lib/Scroller.js",
+ "public/assets/js/lib/SiteRouter.js",
+ "public/assets/js/lib/HeaderView.js",
+ "public/assets/js/lib/NavView.js",
+ "public/assets/js/lib/ProjectView.js",
+ "public/assets/js/lib/Scroller.js",
- "public/js/app.js",
+ "public/assets/js/app.js",
],
dest: 'public/app.concat.js',
},
@@ -37,7 +37,7 @@ module.exports = function(grunt) {
},
index: {
src: 'public/app.concat.js',
- dest: 'public/app.min.js'
+ dest: 'public/assets/js/app.min.js'
}
},
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..60a2646
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+git pull && grunt && pm2 restart anna
+
diff --git a/db.json b/db.json
index 73a1c4c..5d13c93 100644
--- a/db.json
+++ b/db.json
@@ -1283,5 +1283,48 @@
"__index": 0,
"dateCreated": "Mon, 28 Mar 2016 22:13:55 GMT"
}
+ ],
+ "intro": [
+ {
+ "id": "introduction",
+ "title": "Introduction",
+ "body": "Form without function is bad. Being an artist these days has a lot to do with who you hangout with. Both my parents have their portraits by Warhol. I was born in 1986. I create physical work to freeze a moment of internet time. Being antisocial is cool now. People no longer look up from screens. I love animals, especially cats and llamas. OKFocus was started in 2011 after I creative directed VFiles and before I bought a 1987 BMW convertible but after I rewrote Ginsberg's Howl for the internet generation. I invented sea-punk as well as vapor-wave. I made a site in 2010 that allowed people to communicate in real-time with images, it hosts over 2 million images and is still running, Facebook probably got the idea of real-time fav notifications from us. Before that in 2009 I created an online museum for early internet graphics, after that I worked for M.I.A. pontificating online with her many nights at 2am. My girlfriend says I should be less braggy in this writing. I am considering writing a passage about her as a response. Tweets killed books. Images killed tweets. Clickbait killed images. I played Doom through a dial-up modem in 1995. I made earnest 3d graphics of dolphins jumping through hoops in Adobe Photoshop 3.0.I rewrote Ginsberg’s Howl for the internet generation. You can not call yourself a creative director unless you could take the place of anyone under your command, someone one told me that. I write CSS because it’s efficient. We create our own backends because templates don’t understand us as individuals. I strive to be understood as a human and as media. Good work exists outside of trends. Trends are just over simplifications of a pithy new things. I once tried to create luxury email in 2008. When asked to make Burberry “cooler” on the internet in I thought about what between luxury goods and the internet were at odds. I told a creative director that a luxury good is something those with enough money can stroll into a store and buy, while status online isn’t as the same. Online clout comes from having a lot of followers or a Wikipedia entry, things that have little connection to what an individual can or can not afford. I explained this and introduced a concept that I felt was genius. I told him that we needed to merge these two disparate worlds, and create luxury email. That’s right, for $30,000 consumers could purchase a Burberry email address, to flaunt their wealth and status within the virtual world. The creative director looked me right in the eye, with inexcusable disgust and plainly said, “that’s the worst idea i’ve ever heard” the following day I quit working at that agency and have been my own boss since – still on a mission to make luxury email a thing and innovate culture through multiple disciplines online. I had asthma, then I quit smoking. On my desk I have a large piece of driftwood. I am the only person you will ever meet who has spoken at RISD and never been fly fishing. Who has worked with Kanye West, The Wolfsonian Museum, Mike Will Made-It and spoken at The Smithsonian. I am not a rapper... ",
+ "press": [
+ {
+ "text": "New York Times",
+ "uri": "http://www.nytimes.com/2014/07/10/fashion/ryder-ripps-an-artist-of-the-internet.html"
+ },
+ {
+ "text": "Details Magazine",
+ "uri": ""
+ },
+ {
+ "text": "Vice",
+ "uri": ""
+ },
+ {
+ "text": "Creators Project",
+ "uri": "http://thecreatorsproject.vice.com/okfocus/okfocus"
+ },
+ {
+ "text": "The Fader",
+ "uri": "http://www.thefader.com/2013/12/04/creative-agency-okfocus-jogging-tobe/"
+ }
+ ],
+ "speakers": "RISD, AIGA, Semi-Permanent, SXSW, Sotheby’s, Goethe Institut, Smithsonian, OTIS College",
+ "clients": "M.I.A., Smirnoff, MOCA, New Museum, Kanye West, Mike Will Made-It, Nike, Instagram, Bruno Mars, Atlantic Records, Universal Records, Liberty Science Center, Stone Island, Diesel, Red Bull, Kenzo, FOX, HBO, VFILES, Been Trill, Tumblr, Paddles 8, Google",
+ "__index": 0,
+ "dateCreated": "Tue, 05 Apr 2016 22:16:32 GMT",
+ "accolades": [
+ {
+ "text": "Forbes Magazine, 30 Under 30",
+ "uri": ""
+ },
+ {
+ "text": "Advertising Age, Creativity 50",
+ "uri": ""
+ }
+ ]
+ }
]
} \ No newline at end of file
diff --git a/index.js b/index.js
index d1defae..746f42d 100644
--- a/index.js
+++ b/index.js
@@ -6,7 +6,7 @@ var viewConfig = {
template: 'index',
data: [
{type: 'project', query: '*'},
- {type: 'page', query: '*'},
+ {type: 'intro', query: 'introduction'},
]
}
@@ -14,14 +14,18 @@ var app = okcms.createApp({
project: 'OKFocus Portfolio',
- debug: true, // !isProduction,
- production: false, // isProduction,
+ debug: !isProduction,
+ production: isProduction,
schemas: {
- page: {
+ intro: {
id: {type: 'string', hidden: true},
title: {type: 'string'},
- body: {type: 'string'},
+ body: {type: 'text'},
+ accolades: {type: 'link-list'},
+ press: {type: 'link-list'},
+ speakers: {type: 'text'},
+ clients: {type: 'text'},
},
project: {
id: {type: 'string', hidden: true},
@@ -43,7 +47,7 @@ var app = okcms.createApp({
resources: [
{ type: 'project' },
- { type: 'page' },
+ { type: 'intro' },
],
views: {
diff --git a/templates/index.liquid b/templates/index.liquid
index 39142cf..8c7fdc1 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -92,28 +92,27 @@
<h3>
Accolades –
<br>
- <a href="">Forbes Magazine, 30 under 30</a>
- <a href="">Advertising Age, Creativity 50</a>
+ {% for link in intro.accolades %}
+ <a href="{{ link.uri }}">{{ link.text }}</a>
+ {% endfor %}
<br><br>
Press –
<br>
- <a href="">New York Times</a>
- <a href="">Details Magazine</a>
- <a href="">Vice</a>
- <a href="">Creators Project</a>
- <a href="">The Fader</a>
+ {% for link in intro.press %}
+ <a href="{{ link.uri }}">{{ link.text }}</a>
+ {% endfor %}
<br><br>
Speaker At –
<br>
- RISD, AIGA, Semi-Permanent, SXSW, Sotheby’s, Goethe Institut, Smithsonian, OTIS College
- <br>
- Clients ––
+ {{ intro.speakers }}
<br><br>
- M.I.A., Smirnoff, MOCA, New Museum, Kanye West, Mike Will Made-It, Nike, Instagram, Bruno Mars, Atlantic Records, Universal Records, Liberty Science Center, Stone Island, Diesel, Red Bull, Kenzo, FOX, HBO, VFILES, Been Trill,Tumblr, Paddles 8, Google
+ Clients –
+ <br>
+ {{ intro.clients }}
</h3>
</div>
<div class="text">
- Form without function is bad. Being an artist these days has a lot to do with who you hangout with. Both my parents have their portraits by Warhol. I was born in 1986. I create physical work to freeze a moment of internet time. Being antisocial is cool now. People no longer look up from screens. I love animals, especially cats and llamas. OKFocus was started in 2011 after I creative directed VFiles and before I bought a 1987 BMW convertible but after I rewrote Ginsberg's Howl for the internet generation. I invented sea-punk as well as vapor-wave. I made a site in 2010 that allowed people to communicate in real-time with images, it hosts over 2 million images and is still running, Facebook probably got the idea of real-time fav notifications from us. Before that in 2009 I created an online museum for early internet graphics, after that I worked for M.I.A. pontificating online with her many nights at 2am. My girlfriend says I should be less braggy in this writing. I am considering writing a passage about her as a response. Tweets killed books. Images killed tweets. Clickbait killed images. I played Doom through a dial-up modem in 1995. I made earnest 3d graphics of dolphins jumping through hoops in Adobe Photoshop 3.0.I rewrote Ginsberg’s Howl for the internet generation. You can not call yourself a creative director unless you could take the place of anyone under your command, someone one told me that. I write CSS because it’s efficient. We create our own backends because templates don’t understand us as individuals. I strive to be understood as a human and as media. Good work exists outside of trends. Trends are just over simplifications of a pithy new things. I once tried to create luxury email in 2008. When asked to make Burberry “cooler” on the internet in I thought about what between luxury goods and the internet were at odds. I told a creative director that a luxury good is something those with enough money can stroll into a store and buy, while status online isn’t as the same. Online clout comes from having a lot of followers or a Wikipedia entry, things that have little connection to what an individual can or can not afford. I explained this and introduced a concept that I felt was genius. I told him that we needed to merge these two disparate worlds, and create luxury email. That’s right, for $30,000 consumers could purchase a Burberry email address, to flaunt their wealth and status within the virtual world. The creative director looked me right in the eye, with inexcusable disgust and plainly said, “that’s the worst idea i’ve ever heard” the following day I quit working at that agency and have been my own boss since – still on a mission to make luxury email a thing and innovate culture through multiple disciplines online. I had asthma, then I quit smoking. On my desk I have a large piece of driftwood. I am the only person you will ever meet who has spoken at RISD and never been fly fishing. Who has worked with Kanye West, The Wolfsonian Museum, Mike Will Made-It and spoken at The Smithsonian. I am not a rapper...
+ {{ intro.body }}
</div>
<div class="right"></div>
</div>