Skip to content

Commit

Permalink
Merge pull request #11 from rockymtnruby/boulder_guide
Browse files Browse the repository at this point in the history
Adds suggestions to the boulder guide and dynamic text
  • Loading branch information
spikex authored Oct 2, 2023
2 parents 864561d + 04c482a commit 133171f
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ gem "bridgetown", "~> 1.2.0"

# Puma is a Rack-compatible server used by Bridgetown
# (you can optionally limit this to the "development" group)
gem "puma", "~> 5.6"
gem "puma", '< 7'

gem "bridgetown-svg-inliner", "~> 2.0"

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ GEM
nokogiri (1.14.3-x86_64-linux)
racc (~> 1.4)
public_suffix (5.0.1)
puma (5.6.7)
puma (6.4.0)
nio4r (~> 2.0)
racc (1.6.2)
rack (3.0.7)
Expand Down Expand Up @@ -128,7 +128,7 @@ DEPENDENCIES
bridgetown (~> 1.2.0)
bridgetown-seo-tag (~> 6.0)
bridgetown-svg-inliner (~> 2.0)
puma (~> 5.6)
puma (< 7)

BUNDLED WITH
2.4.6
126 changes: 88 additions & 38 deletions src/boulder-guide.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,45 @@ layout: page
title: Boulder Guide
top_level: false
---
<%
transportation_options = [
{href: 'https://app.rtd-denver.com/route/AB/schedule?serviceType=3&direction=Eastbound&branch=', inner_html: 'AB1 Bus', description: 'This bus takes you directly to Downtown Boulder'},
{href: 'https://www.flydenver.com/parking_transit/transit/mobile-app-services', inner_html: 'DIA Instructions Page for Ride App Service', description: 'If you plan to take a ride-sharing service, the Denver International Airport provides some helpful tips/instructions.'},
{href: 'https://www.flydenver.com/parking_transit/transit/shared-vans', inner_html: 'DIA Transportation Page', description: 'The Denver International Airport provides other options such as shared-rides and commuter trains.'},
]

coffee_places = [
{href: 'https://www.boxcarcoffeeroasters.com/', inner_html: 'Boxcar Coffee Roasters', address: '1825 Pearl St, Boulder, CO 80302'},
{href: 'https://january.coffee/', inner_html: 'January Coffee', address: '1886 30th St Suite B, Boulder, CO 80301'},
{href: 'https://ozocoffee.com/ozo-east-pearl', inner_html: 'Ozo Coffee', address: '1521 Pearl St, Boulder, CO 80302'},
{href: 'https://www.thelaughinggoat.com/', inner_html: 'The Laughing Goat', address: '1709 Pearl St, Boulder, CO 80302'},
]

food_places = [
{href: 'https://boulder.avantifandb.com/', inner_html: 'Avanti Food and Beverage', address: '1401 Pearl St, Boulder, CO 80302'},
{href: 'https://www.blackbelly.com/', inner_html: 'Blackbelly Market', address: '1606 Conestoga St Suite 1, Boulder, CO 80301'},
{href: 'https://www.leafvegetarianrestaurant.com/', inner_html: 'Leaf Vegetarian Restaurant', address: '1617 Pearl St, Boulder, CO 80302'},
{href: 'https://www.luciles.com/', inner_html: 'Lucile\'s Creole Cafe', address: '2124 14th St, Boulder, CO 80302'},
{href: 'https://rosettahall.com/', inner_html: 'Rosetta Hall', address: '1109 Walnut St, Boulder, CO 80302'},
{href: 'https://tacocolorado.com/', inner_html: 'T/aco', address: '1175 Walnut St, Boulder, CO 80302'},
{href: 'https://zoemama.com', inner_html: 'Zoe Mama', address: '2010 10th St, Boulder, CO 80302'},
]

drink_places = [
{href: 'https://bohemianbiergarten.com/', inner_html: 'Bohemian Biergarten', address: '2017 13th St, Boulder, CO 80302'},
{href: 'https://www.license.no/', inner_html: 'License No. 1', address: '2115 13th St, Boulder, CO 80302'},
{href: 'https://postinowinecafe.com/', inner_html: 'Postino', address: '1468 Pearl St suite 110, Boulder, CO 80302'},
{href: 'https://upslopebrewing.com/', inner_html: 'Upslope Brewing Company', address: '1898 S Flatiron Ct, Boulder, CO 80301'},
]

activity_places = [
{href: 'http://www.boulderteahouse.com/', inner_html: 'Dushanbe Teahouse'},
{href: 'http://www.bcfm.org/', inner_html: 'Boulder Farmers Market'},
{href: 'https://jdsjoyrides.com/', inner_html: 'JD\'s Joyrides - eBike Tours'},
{href: 'https://www.southpearlstreet.com/', inner_html: 'Pear Street'},
{href: 'https://streetwisearts.org/walking-tours/', inner_html: 'Streetwise Boulder Mural Walking Tour'},
]
%>
<div class="max-w-5xl mx-auto text-lg leading-relaxed text-[#404040] mb-20">
<h2 class="mb-4 text-3xl font-bold text-primary sm:text-4xl md:text-[42px]">
Welcome to Boulder!
Expand All @@ -19,61 +57,73 @@ top_level: false
70s (18°-23°C) and the average low is 40°F (4°C).
</p>
<h3 class="text-[28px] font-medium text-primary">Transportation</h3>
<p class="mb-8 text-base leading-relaxed">
</p>
<% transportation_options.each do |transport| %>
<ul>
<li class="px-3">
<a href="<%= transport[:href] %>" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
<%= transport[:inner_html] %>
</a>
<p class="mb-8 text-base leading-relaxed">
<%= transport[:description] %>
</p>
</li>
</ul>
<% end %>
<h3 class="text-[28px] font-medium text-primary">Coffee</h3>
<div class="mb-10 w-full">
<% coffee_places.each do |place| %>
<ul>
<li class="px-3">
<a href="https://www.boxcarcoffeeroasters.com/" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
Boxcar Coffee Roasters
<a href="<%= place[:href] %>" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
<%= place[:inner_html] %>
</a>
<address class="text-base leading-relaxed">
1825 Pearl St, Boulder, CO 80302
<%= place[:address] %>
</address>
</li>
</ul>
<% end %>
</div>
<h3 class="text-[28px] font-medium text-primary">Food</h3>
<div class="mb-10 w-full">
<ul>
<li class="px-3">
<a href="https://www.leafvegetarianrestaurant.com/" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
Leaf Vegetarian Restaurant
</a>
<address class="text-base leading-relaxed">
1617 Pearl St, Boulder, CO 80302
</address>
</li>
</ul>
<% food_places.each do |place| %>
<ul>
<li class="px-3">
<a href="<%= place[:href] %>" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
<%= place[:inner_html] %>
</a>
<address class="text-base leading-relaxed">
<%= place[:address] %>
</address>
</li>
</ul>
<% end %>
</div>
<h3 class="text-[28px] font-medium text-primary">Drinks</h3>
<div class="mb-10 w-full">
<ul>
<li class="px-3">
<a href="https://www.license.no/" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
License No. 1
</a>
<address class="text-base leading-relaxed">
2115 13th St, Boulder, CO 80302
</address>
</li>
</ul>
<% drink_places.each do |place| %>
<ul>
<li class="px-3">
<a href="<%= place[:href] %>" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
<%= place[:inner_html] %>
</a>
<address class="text-base leading-relaxed">
<%= place[:address] %>
</address>
</li>
</ul>
<% end %>
</div>
<h3 class="text-[28px] font-medium text-primary">Activities</h3>
<div class="mb-10 w-full">
<ul>
<li class="px-3">
<a href="https://streetwisearts.org/walking-tours/" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
Streetwise Boulder Mural Walking Tour
</a>
</li>

<li class="px-3">
<a href="https://jdsjoyrides.com/" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
JD's Joyrides - eBike Tours
</a>
</li>
</ul>
<% activity_places.each do |place| %>
<ul>
<li class="px-3">
<a href="<%= place[:href] %>" target="_blank" rel="noopener noreferrer" class="text-primary hover:text-dark">
<%= place[:inner_html] %>
</a>
</li>
</ul>
<% end %>
</div>
</div>

0 comments on commit 133171f

Please sign in to comment.