issues
search
ZephyrTransport
/
zephyr-website
Homepage for the Zephyr Foundation for Advancing Travel Analysis Methods
http://zephyrtransport.org
4
stars
4
forks
source link
Refactor: Opportunities
#58
Open
e-lo
opened
4 years ago
e-lo
commented
4 years ago
Objectives
Keep
Opportunities
page up to date by making the data that powers it easily updatable without a pull-request
Keep past opportunities data in a format that can be easily analyzed
Existing Conditions
The opportunities (jobs, internships, etc) content is fed by data from
_data\opportunitys.yml
.
Since each opportunity has roughly the same information, this data is much better suited for a tabular data format such as a csv or google sheet.
The YAML file is hard to manage and requires a pull-request to be easily updated by others.
Proposed Approach
Store opportunities data in a Google Sheet
Pull sheet data to
_data
on website load using javascript (
example here
, but there are probably more)
Some refactoring of CSS to better deal with overflows.
Objectives
Existing Conditions
_data\opportunitys.yml
.Proposed Approach
_data
on website load using javascript (example here, but there are probably more)