Skip to content

Commit

Permalink
Added another method of adding jobs, for comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
zolrath committed Sep 14, 2011
1 parent a9c5a4e commit 5d5e8c4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/andrew_site/views/common.clj
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

(defpartial main-body []
[:div#wrapContent.container_24
(jobs-list all-jobs)
(jobs-list jobs)
(sidebar)])

(defpartial layout [& content]
Expand Down
30 changes: 29 additions & 1 deletion src/andrew_site/views/content.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ Working on my RCHSA certification when there is spare time.")
(def certifications
(link-to {:target "_blank"} "apluscert.pef" (image "aplus.jpg")))

;; List jobs here, add to vector to display on page.
;; Two methods of listing jobs. Either def entries for each job then include in the all-jobs vector,
;; or simply add maps to the jobs def. The vector allows you to easily re-order and temporarily remove
;; items if you wanted to but the second method requires less duplication as you don't need to write
;; the name of your entries into the vector after making the map.

(def underground-elephant
{:company-name "Underground Elephant"
Expand Down Expand Up @@ -55,3 +58,28 @@ Working on my RCHSA certification when there is spare time.")
:job-description "What got me started. Thought I was keeping busy between classes - do some good, that sort of thing."})

(def all-jobs [underground-elephant family-health-centers ed-venture marriage-equality])

(def jobs
'({:company-name "Underground Elephant"
:start-year "2011"
:end-year "2011"
:url "http://www.undergroundelephant.com"
:job-description "Junior Systems Administrator pulling double duty as the Help Desk Lead. Responsible for local server setup, log monitoring, data backup, and security patches when not working with our vendors and contractors."}

{:company-name "Family Health Centers"
:start-year "2010"
:end-year "2011"
:url "http://www.fhcsd.org"
:job-description "Handled 50% of all tickets for the organization and still managed to automate essential processesses, write a knowledge base, and deploy company phones."}

{:company-name "Ed Venture Partners"
:start-year "2010"
:end-year "2010"
:url "http://www.edventurepartners.com"
:job-description "Flying around the country with an expense account and a fancy suit, but it wasn't for me. While at EdVenture Partners I managed five concurrent marketing projects in three states, all centered around the 2011 Chevrolet lineup."}

{:company-name "Marriage Equality"
:start-year "2008"
:end-year "2010"
:url "http://www.marriageequality.org"
:job-description "What got me started. Thought I was keeping busy between classes - do some good, that sort of thing."}))

0 comments on commit 5d5e8c4

Please sign in to comment.