From 57e3f506ef8a92b134d896ef9d5a4cff07046784 Mon Sep 17 00:00:00 2001 From: sikofitt Date: Tue, 19 Jul 2016 13:53:30 -0700 Subject: [PATCH] Updated index.html.twig to include other properties, add resume.test.data.json --- app/App.php | 2 +- app/config/config.yml | 4 +- app/themes/default/index.html.twig | 10 ++- data/resume.test.data.json | 130 +++++++++++++++++++++++++++++ 4 files changed, 142 insertions(+), 4 deletions(-) create mode 100644 data/resume.test.data.json diff --git a/app/App.php b/app/App.php index 76434e6..e878358 100644 --- a/app/App.php +++ b/app/App.php @@ -58,7 +58,7 @@ class App extends Application */ public function getResumeJson() { - return $this->getDataDirectory() . '/resume.json'; + return $this->getDataDirectory() . '/resume.test.data.json'; } /** diff --git a/app/config/config.yml b/app/config/config.yml index 68821c5..dd25dca 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -1,7 +1,7 @@ # This file is auto-generated during the composer install app: - debug: false - environment: prod + debug: true + environment: dev title: 'R. Eric Wheeler | Resume' email: eric@rewiv.com phone: 510-646-2135 diff --git a/app/themes/default/index.html.twig b/app/themes/default/index.html.twig index 5589b4e..1c242cf 100644 --- a/app/themes/default/index.html.twig +++ b/app/themes/default/index.html.twig @@ -33,7 +33,15 @@
{% include 'skills.html.twig' %} {% include 'work.html.twig' %} - {% include 'references.html.twig' %} + + {{ 'volunteer' }} {{ dump(volunteer) }} + {{ 'education' }} {{ dump(education) }} + {{ 'awards' }} {{ dump(awards) }} + {{ 'publications' }} {{ dump(publications) }} + {{ 'languages' }} {{ dump(languages) }} + {{ 'interests' }} {{ dump(interests) }} + {% include 'references.html.twig' %} +
{% if renderPdf == false %}
diff --git a/data/resume.test.data.json b/data/resume.test.data.json new file mode 100644 index 0000000..bb63ebf --- /dev/null +++ b/data/resume.test.data.json @@ -0,0 +1,130 @@ +{ + "basics": { + "name": "Richard Hendriks", + "label": "Programmer", + "picture": "https://placekitten.com/300/300", + "email": "richard.hendriks@gmail.com", + "phone": "(912) 555-4321", + "website": "https://richardhendricks.com", + "summary": "Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinals!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!", + "location": { + "address": "2712 Broadway St", + "postalCode": "CA 94115", + "city": "San Francisco", + "countryCode": "US", + "region": "California" + }, + "profiles": [ + { + "network": "Twitter", + "username": "neutralthoughts", + "url": "" + }, + { + "network": "SoundCloud", + "username": "dandymusicnl", + "url": "https://soundcloud.com/dandymusicnl" + } + ] + }, + "work": [ + { + "company": "Pied Piper", + "position": "CEO/President", + "website": "https://piedpiper.com", + "startDate": "2013-12-01", + "endDate": "2014-12-01", + "summary": "Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores™ that are not merely competitive, but approach the theoretical limit of lossless compression.", + "highlights": [ + "Build an algorithm for artist to detect if their music was violating copy right infringement laws", + "Successfully won Techcrunch Disrupt", + "Optimized an algorithm that holds the current world record for Weisman Scores" + ] + } + ], + "volunteer": [ + { + "organization": "CoderDojo", + "position": "Teacher", + "website": "https://coderdojo.com/", + "startDate": "2012-01-01", + "endDate": "2013-01-01", + "summary": "Global movement of free coding clubs for young people.", + "highlights": [ + "Awarded 'Teacher of the Month'" + ] + } + ], + "education": [ + { + "institution": "University of Oklahoma", + "area": "Information Technology", + "studyType": "Bachelor", + "startDate": "2011-06-01", + "endDate": "2014-01-01", + "gpa": "4.0", + "courses": [ + "DB1101 - Basic SQL", + "CS2011 - Java Introduction" + ] + } + ], + "awards": [ + { + "title": "Digital Compression Pioneer Award", + "date": "2014-11-01", + "awarder": "Techcrunch", + "summary": "There is no spoon." + } + ], + "publications": [ + { + "name": "Video compression for 3d media", + "publisher": "Hooli", + "releaseDate": "2014-10-01", + "website": "https://en.wikipedia.org/wiki/Silicon_Valley_(TV_series)", + "summary": "Innovative middle-out compression algorithm that changes the way we store data." + } + ], + "skills": [ + { + "name": "Web Development", + "level": "Master", + "keywords": [ + "HTML", + "CSS", + "Javascript" + ] + }, + { + "name": "Compression", + "level": "Master", + "keywords": [ + "Mpeg", + "MP4", + "GIF" + ] + } + ], + "languages": [ + { + "language": "English", + "fluency": "Native speaker" + } + ], + "interests": [ + { + "name": "Wildlife", + "keywords": [ + "Ferrets", + "Unicorns" + ] + } + ], + "references": [ + { + "name": "Erlich Bachman", + "reference": "It is my pleasure to recommend Richard, his performance working as a consultant for Main St. Company proved that he will be a valuable addition to any company." + } + ] +} \ No newline at end of file