hackforla / hackforla/website

Creating a yml file for SDG 16

Open
#6,222 3 comments 0 reactions 1 assignee Claimed by @JessicaLucindaCheng View on GitHub
Complexity: Small Draft HLC: M p-feature: SDGs role: front end size: 0.25pt
Dominant language
JavaScript
Stars
363
Forks
872
Avg merge
2d 21h
Merged PRs (30d)
18

Description

### Prerequisites
1. Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our [Getting Started page](https://www.hackforla.org/getting-started) and attend an onboarding session.
2. You have already read our [How to Contribute to Hack for LA Guide](https://github.com/hackforla/website/blob/gh-pages/CONTRIBUTING.md).

### Overview
We want to create a yml file for a Sustainable Development Goal (SDG) so that information is not repeated in multiple files.

### Action Items
- [ ] In `_data/internal/sdg`, add a file called `sdg16.yml`
- [ ] In the file you just created, add the following:
```
# The Sustainable Development Goal (SDG) number (e.g. 16)
sdg: 16
# The SCSS color variable that matches the color of the SDG image
color-variable: $color-sdg16
# The path to the SDG image
image: /assets/images/sdg/sdg16.svg
# The alt text for the SDG image
image-alt: 16 Peace, Justice, And Strong Institutions
targets:
# The SDG target (e.g. 1, 2, or a, b, ...)
- target: 7
# The SDG target statement
statement: Ensure responsive, inclusive, participatory and representative decision-making at all levels
- target: 8
statement: Broaden and strengthen the awareness and participation of City and local communities, especially those traditionally underserved and marginalized, in the institutions of local and global governance
```

### Resources/Instructions
- [_data/internal/sdgs](https://github.com/hackforla/website/tree/gh-pages/_data/internal/sdgs)
- This issue is tracked in epic #4153

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.