A basic Sinatra app that makes you feel good.
- Refactor the site navigation into a partial.
- Create a helper for the following:
- A image tag helper that takes a file name and creates an HTML image tag prefixed by
images/
- A stylesheet helper that takes the name of a CSS file and creates a
link
tag - A
home_url
helper that returns theurl
helper for the home page (in this case that's/
) - A
mean_url
helper that returns theurl
helper for the mean robot page (in this case that's/mean
) - A
robots_url
helper that returns theurl
helper for the mean robot page (in this case that's/robots
)
- A image tag helper that takes a file name and creates an HTML image tag prefixed by