diff --git a/app/assets/stylesheets/application.css.scss.erb b/app/assets/stylesheets/application.css.scss.erb index 15b7009..8927495 100644 --- a/app/assets/stylesheets/application.css.scss.erb +++ b/app/assets/stylesheets/application.css.scss.erb @@ -46,9 +46,10 @@ img { } a { - text-decoration: none; + text-decoration: underline; + text-decoration-style: dashed; + text-decoration-line: underline; color: $links; - text-shadow: 0px 0px 20px $white; } #content { @@ -207,11 +208,7 @@ a { } } -#what { - @include span-columns(6 of 12); -} - -#crb-labs { +#what, #crb-labs { @include span-columns(6 of 12); } @@ -332,3 +329,16 @@ a { } } + +table { + width: 100%; + background: hsla(0, 0%, 100%, 0.5); + color: black; + thead { + text-align: left; + } + + tr { + border-bottom: 1px solid white; + } +} diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index 6167352..c974672 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -10,5 +10,4 @@ def now @next_crb = Meeting.next_crb @board_members = BoardMember.all.order(director: :desc, title: :asc) end - end diff --git a/app/views/pages/now.html.slim b/app/views/pages/now.html.slim index 3b844ec..ec0505b 100644 --- a/app/views/pages/now.html.slim +++ b/app/views/pages/now.html.slim @@ -54,6 +54,33 @@ section [2]:http://ruby-lang.org [3]:http://rubyonrails.com +section + #who-uses-ruby + h4 Who's using Ruby? + + markdown: + Have you ever wondered who's using Ruby in Columbus? + Want to find Ruby developers who want to work at your company? + Want to get your company on the list? [Put in a Pull Request here!][1] + + [1]:http://github.com/columbusrb/columbusrb.com + + table + thead + tr + th Name + th Url + th Market + th Location + tbody + - COMPANIES.each do |company| + tr + td = company.name + td = company.url + td = company.market + td = company.location + + section diff --git a/config/initializers/companies.rb b/config/initializers/companies.rb new file mode 100644 index 0000000..0db3a5b --- /dev/null +++ b/config/initializers/companies.rb @@ -0,0 +1,18 @@ +class Company + attr_reader :name, :url, :market, :location, :team_size, :other_tech + + def initialize(name:, url:, market:, location:, team_size:, other_tech:) + @name = name + @url = url + @market = market + @location = location + @team_size = team_size + @other_tech = other_tech + end +end + +company_file = Rails.root.join("public").join("companies.yml") +COMPANIES = YAML.load_file(company_file).map do |company| + Company.new(**company.symbolize_keys) +end + diff --git a/config/routes.rb b/config/routes.rb index 7e5fd80..e2ea0e3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,4 +5,6 @@ root to: "pages#now" get 'feedback' => redirect("https://www.surveymonkey.com/r/JB9JX8X") + + get '/companies', to: "pages#companies" end diff --git a/public/companies.yml b/public/companies.yml index cc8b2a5..4ac7d49 100644 --- a/public/companies.yml +++ b/public/companies.yml @@ -4,4 +4,10 @@ location: Downtown Columbus team_size: Large other_tech: PHP, Python - ruby_role: Web apps (GUI & API), backend systems + +- name: Mutually Human + url: https://www.mutuallyhuman.com + market: Consulting + location: Downtown Columbus + team_size: Small + other_tech: Javascript, iOS