Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
faf1883
bunch of stuff
martincli Jul 17, 2015
d6a79ff
nile setup
ddcast Jul 17, 2015
1311305
nile.json update
ddcast Jul 17, 2015
d406643
Merge branch 'master' into develop
ddcast Jul 17, 2015
f332943
Merge branch 'release/1.0.0'
ddcast Jul 17, 2015
a298462
nile.json update
ddcast Jul 17, 2015
23752f1
Merge branch 'master' into develop
ddcast Jul 17, 2015
cb7fc79
Merge branch 'release/1.0.0'
ddcast Jul 17, 2015
7a66a38
nile.json update
ddcast Jul 17, 2015
d6cb697
Merge branch 'master' into develop
ddcast Jul 17, 2015
b14c700
Merge branch 'release/1.0.0'
ddcast Jul 17, 2015
edfee0f
moving project into a containing folder to play nice with docker+nile
ddcast Jul 17, 2015
d069d38
Merge branch 'master' into develop
ddcast Jul 17, 2015
68fdfd7
Merge branch 'release/1.0.0'
ddcast Jul 17, 2015
2eba950
dockerfile update
ddcast Jul 17, 2015
d9b70bb
Merge branch 'master' into develop
ddcast Jul 17, 2015
4904735
Merge branch 'release/1.0.0'
ddcast Jul 17, 2015
cf25292
docker file update
ddcast Jul 17, 2015
8f23615
Merge branch 'master' into develop
ddcast Jul 17, 2015
6b1f794
Merge branch 'release/1.0.0'
ddcast Jul 17, 2015
2093f19
docker updates
ddcast Jul 17, 2015
dd6fbe6
Merge branch 'tom' into develop
ddcast Jul 17, 2015
effc36e
Merge branch 'develop'
ddcast Jul 17, 2015
5623c56
nile update
ddcast Jul 17, 2015
e7d1081
Merge branch 'master' into develop
ddcast Jul 17, 2015
ee55ee8
Merge branch 'release/1.0.0'
ddcast Jul 17, 2015
6cef5d2
bottom text editable
martincli Jul 20, 2015
b5a76f4
remove image button + gradient overlays
martincli Jul 21, 2015
8701a82
slight changes to ui
martincli Jul 22, 2015
da4657a
added fonts
martincli Jul 24, 2015
c578818
font change again
martincli Jul 24, 2015
144ef9e
slight text styling change
martincli Jul 24, 2015
67facc0
font size changes
martincli Jul 24, 2015
d13a368
font change
martincli Jul 24, 2015
daaef35
font size changes
martincli Jul 24, 2015
a8f848d
updates for candidate faces for debate
martincli Jul 29, 2015
b0e9883
added all candidate faces
martincli Jul 29, 2015
8dae4b5
font change + other minor changes
martincli Jul 30, 2015
47dc067
added timestamp to file name
martincli Jul 30, 2015
e3aa3c9
right align padding change
martincli Jul 30, 2015
3608bd6
readd bottom text + allow for wider face positioning
martincli Jul 30, 2015
02d1166
added john kasich face
martincli Jul 30, 2015
1e948cf
new faces
martincli Jul 31, 2015
d9bd912
added configurable width/height ratio
martincli Jul 31, 2015
8375f0f
nile - alpine migration
ddcast Aug 3, 2015
92a3bec
adding fiorina gilmore and graham
ddcast Aug 6, 2015
e3bcf7d
postoni fonts and flipped default position of text/face
martincli Aug 14, 2015
a8073bc
template support + UI changes + default positioning swapped
martincli Aug 17, 2015
936c902
smartquotes for text
martincli Aug 18, 2015
3e8e27b
text positioning updates
martincli Aug 18, 2015
c3069ac
code cleanup
martincli Aug 21, 2015
e9136f6
changes for fact checker/text shadow/UI options
martincli Aug 22, 2015
71e0eaf
set 3 pinocchios as default for fact checker
martincli Aug 22, 2015
d79a25d
wat
martincli Aug 24, 2015
390812b
postoni font update
martincli Sep 1, 2015
d43c1e3
updated colors and candidates
martincli Sep 2, 2015
6daebd8
lots of changes
martincli Sep 5, 2015
67a02f0
quote and number templates and other changes
martincli Sep 6, 2015
833a4f2
fix for weird rendering bug
martincli Sep 8, 2015
5c360d5
fix for weird rendering bug
martincli Sep 8, 2015
b66238d
slight reposition for fact checker
martincli Sep 8, 2015
7efa5eb
slight reposition for fact checker
martincli Sep 8, 2015
4e3f254
scale up
ddcast Nov 30, 2015
79ba717
added obama portrait
martincli Jan 5, 2016
7dfe010
update obama portrait
martincli Jan 6, 2016
0bf11ed
social card generator updates
martincli Jan 28, 2016
83cf4bb
made new candidate image horizontal position adjustable
martincli Jan 28, 2016
1707fbc
minor label changes
martincli Jan 28, 2016
eb7c973
color and defaults updates
martincli Jan 28, 2016
e819f3e
added netflix sponsor bar
martincli Feb 12, 2016
aba70ba
remove netflix sponsor
martincli Feb 16, 2016
21cd811
adds olympics sports and new background colors for medals
May 18, 2016
508f40f
adds olympic sports
May 19, 2016
0c912fd
adds olympics functionality
May 24, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Use an official docker base image running ruby 2.1
FROM ruby:2.1-onbuild

# Update the base image
RUN apt-get -y update

# Upgrade as well
RUN apt-get -qy upgrade

# Set the work directory where source is now located
WORKDIR /usr/src

# Copy our app source code to a folder
COPY Gemfile /usr/src/
COPY . /usr/src/

# Install bundler
RUN gem install bundler

# Install dependencies
RUN apt-get -y install nodejs
RUN bundle install

# Define the port where the app is going serve
EXPOSE 80

# Define the default command for starting the app that Docker would use
CMD bundle exec middleman -p 80
36 changes: 36 additions & 0 deletions nile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "socialcard",
"cluster": "alpine.nile.works",
"image": "quay.io/washpost/socialcard",
"port": 80,
"paths": ["/"],
"builds": [
{
"autodeploy": true,
"branch": "master",
"notify": "socialcard",
"tags": [
"1.0.0"
],
"version": "1.0.0"
}
],
"environment": {

},
"stages": [{
"name": "prod",
"scale": 2,
"domain": "socialcard.wpit.nile.works",
"environment": {
"NODE_ENV":"production",
"PRODUCTION_PORT": "80"
}
}],
"routes": [
{
"path": "/",
"external": false
}
]
}
Binary file added source/images/candidates/barack_obama.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/ben_carson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/bernie_sanders.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/bobby_jindal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/carly_fiorina.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/chris_christie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/donald_trump.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/george_pataki.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/hillary_clinton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/jeb_bush.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/jim_gilmore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/jim_webb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/joe_biden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/john_kasich.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/lincoln_chaffee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/lindsey_graham.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/marco_rubio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/martin_omalley.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/mike_huckabee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/rand_paul.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/rick_perry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/rick_santorum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/scott_walker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates/ted_cruz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates_new/BenCarson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/candidates_new/BernieSanders.png
Binary file added source/images/candidates_new/CarlyFiorina.png
Binary file added source/images/candidates_new/ChrisChristie.png
Binary file added source/images/candidates_new/DonaldTrump.png
Binary file added source/images/candidates_new/HillaryClinton.png
Binary file added source/images/candidates_new/JebBush.png
Binary file added source/images/candidates_new/JimGilmore.png
Binary file added source/images/candidates_new/JohnKasich.png
Binary file added source/images/candidates_new/MarcoRubio.png
Binary file added source/images/candidates_new/MartinOMalley.png
Binary file added source/images/candidates_new/MikeHuckabee.png
Binary file added source/images/candidates_new/RandPaul.png
Binary file added source/images/candidates_new/RickSantorum.png
Binary file added source/images/candidates_new/TedCruz.png
Binary file added source/images/olympics/archery.png
Binary file added source/images/olympics/artistic_gymnastics.png
Binary file added source/images/olympics/badminton.png
Binary file added source/images/olympics/basketball_1.png
Binary file added source/images/olympics/basketball_2.png
Binary file added source/images/olympics/beachvolley.png
Binary file added source/images/olympics/bmx.png
Binary file added source/images/olympics/boxing.png
Binary file added source/images/olympics/canoe_kayak_slalom.png
Binary file added source/images/olympics/canoe_kayak_sprint.png
Binary file added source/images/olympics/discus_throw.png
Binary file added source/images/olympics/diving.png
Binary file added source/images/olympics/equestrian_dressage.png
Binary file added source/images/olympics/equestrian_eventing.png
Binary file added source/images/olympics/equestrian_jumping.png
Binary file added source/images/olympics/fencing.png
Binary file added source/images/olympics/floor_exercises.png
Binary file added source/images/olympics/golf.png
Binary file added source/images/olympics/handball.png
Binary file added source/images/olympics/high_jump.png
Binary file added source/images/olympics/hockey.png
Binary file added source/images/olympics/horizontal_bars.png
Binary file added source/images/olympics/hurdles.png
Binary file added source/images/olympics/javelin.png
Binary file added source/images/olympics/judo.png
Binary file added source/images/olympics/long_jump.png
Binary file added source/images/olympics/marathon_swimming.png
Binary file added source/images/olympics/modern_pentathlon.png
Binary file added source/images/olympics/mountain_bike.png
Binary file added source/images/olympics/paralel_bars.png
Binary file added source/images/olympics/podium.png
Binary file added source/images/olympics/pole_vault.png
Binary file added source/images/olympics/pommel_horse.png
Binary file added source/images/olympics/relays.png
Binary file added source/images/olympics/rhythmic_gymnastics.png
Binary file added source/images/olympics/rings.png
Binary file added source/images/olympics/road_cycling.png
Binary file added source/images/olympics/rowing.png
Binary file added source/images/olympics/rugby.png
Binary file added source/images/olympics/sailing.png
Binary file added source/images/olympics/shooting.png
Binary file added source/images/olympics/soccer.png
Binary file added source/images/olympics/swimming.png
Binary file added source/images/olympics/synchronized_swimming.png
Binary file added source/images/olympics/table_tennis.png
Binary file added source/images/olympics/taekwondo.png
Binary file added source/images/olympics/tennis.png
Binary file added source/images/olympics/torch.png
Binary file added source/images/olympics/track.png
Binary file added source/images/olympics/track_cycling.png
Binary file added source/images/olympics/trampoline.png
Binary file added source/images/olympics/triathlon.png
Binary file added source/images/olympics/uneven_bars.png
Binary file added source/images/olympics/volleyball.png
Binary file added source/images/olympics/waterpolo.png
Binary file added source/images/olympics/weighlifting.png
Binary file added source/images/olympics/winner.png
Binary file added source/images/olympics/wrestling.png
95 changes: 95 additions & 0 deletions source/images/pinocchio.svg
Binary file added source/images/sponsor/netflix.png
Binary file removed source/images/theverge.png
Diff not rendered.
Binary file removed source/images/vox.png
Diff not rendered.
Binary file added source/images/wp_logo.png
2 changes: 1 addition & 1 deletion source/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
title: Social sharing builder
title: Social Card Generator
description:
---
Loading