Closed ArthurSmid closed 3 years ago
The drop-down menu is now on the homepage (index.html, styles.css, and homepage.js) and maybe @colindavey can begin exploring how to update the table of contents to reflect the providers available in each city.
Currently, the html includes empty anchor tags for each city, and it seems like a series of URLs for the cities could be created and inserted to include a page for the categories available in each city.
<div class="find-my-city">
<button onclick="myFunction()" class="dropdown-button">Find my City</button>
<div id="myDropdown" class="list-of-cities">
<a href="">Blachly</a>
<a href="">Coburg</a>
<a href="">Cottage Grove</a>
<a href="">Creswell</a>
<a href="">Dexter</a>
<a href="">Dorena</a>
<a href="">Florence</a>
<a href="">Junction City / Cheshire</a>
<a href="">Lowell</a>
<a href="">Mapleton</a>
<a href="">Oakridge</a>
<a href="">Veneta</a>
<a href="">Walterville</a>
</div>
</div>
In the current print version, the listings of providers in these other cities is pretty minimal. The Little Help Book lists the providers available outside Eugene Springfield on pages 75 to 84 (https://s3.us-west-2.amazonaws.com/secure.notion-static.com/1a15fa5c-c1ed-437e-aa08-0a5ba647c624/Little_Help_Book_2020.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAT73L2G45O3KS52Y5%2F20200801%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20200801T190317Z&X-Amz-Expires=86400&X-Amz-Signature=fba5936ca6e5c46b3ab3ed13ce0adae927e376a763b565158a7b464f9f585296&X-Amz-SignedHeaders=host&response-content-disposition=filename%20%3D%22Little%2520Help%2520Book%25202020.pdf%22).
At the top of index.html, there's a placeholder for a drop-down menu: Find my City.
<div class="find-my-city">Find my City</div>
The menu lists all the cities of Lane County in the current Little Help Book:
Blachly Coburg Cottage Grove Creswell Dexter Dorena Florence Junction City / Cheshire Lowell Mapleton Oakridge Veneta Walterville
Find my City is a navigational tool making it easier to find resources. Most of the listings in the Little Help Book are for providers in the Eugene Springfield area. When someone clicks on a city in the menu, the homepage categories update to show only those resources available in that city.