Link to official OWG Banner Policy page

- Link to the official Banner Policy page on the OWG website instead of a GitHub ticket discussion
- Reformat Markdown lists so that the rendered HTML results in properly nested lists
This commit is contained in:
Eugene Alvin Villar 2020-10-21 23:25:51 +08:00 committed by GitHub
parent 843635e1b3
commit fe13c2f0ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

31
FAQ.md
View file

@ -4,27 +4,20 @@ We occasionally display banner images on the main page of [openstreetmap.org](ht
promote a large OpenStreetMap focused conference or host a worldwide donation promote a large OpenStreetMap focused conference or host a worldwide donation
drive. This is a great way to reach a lot of people! drive. This is a great way to reach a lot of people!
1. Please review [openstreetmap/operations#150](https://github.com/openstreetmap/operations/issues/150) to 1. Please review the Operations Working Group's [Banner Policy](https://operations.osmfoundation.org/policies/banner/) to know whether your event qualifies for a front-page banner.
know whether your event qualifies for a front-page banner.
2. Create the banner image. Some guidelines: 2. Create the banner image. Some guidelines:
* Image should be 350px wide (exactly) x 350px tall (or shorter). * Image should be 350px wide (exactly) x 350px tall (or shorter).
* Use a standard web image format (.gif, .jpg, .png) * Use a standard web image format (.gif, .jpg, .png)
* Note that a close 'X' button will be drawn over the top right 60x60px * Note that a close 'X' button will be drawn over the top right 60x60px corner of the banner, so please do not put anything important in that space.
corner of the banner, so please do not put anything important in that space.
3. Prepare a pull request which includes the following: 3. Prepare a pull request which includes the following:
* The banner should be saved under the * The banner should be saved under the [`app/assets/images/banners/`](https://github.com/openstreetmap/openstreetmap-website/tree/master/app/assets/images/banners) folder, and should have a name that makes it clear what it is for (e.g. `donate-2017.jpg`)
[`app/assets/images/banners/`](https://github.com/openstreetmap/openstreetmap-website/tree/master/app/assets/images/banners) folder, and should have a name that makes it clear what it is for (e.g. `donate-2017.jpg`) * Edit [`config/banners.yml`](https://github.com/openstreetmap/openstreetmap-website/blob/master/config/banners.yml) to contain an entry for the event banner. It should contain the following:
* Edit [`config/banners.yml`](https://github.com/openstreetmap/openstreetmap-website/blob/master/config/banners.yml) * `id` - a unique identifier (e.g. `donate2017`)
to contain an entry for the event banner. It should contain the following: * `alt` - alt name for the image (e.g. `OpenStreetMap Funding Drive 2017`)
* `id` - a unique identifier (e.g. `donate2017`) * `link` - URL for your event page (e.g. `https://donate.openstreetmap.org/`)
* `alt` - alt name for the image (e.g. `OpenStreetMap Funding Drive 2017`) * `img` - the filename for the banner image (e.g. `banners/donate-2017.jpg`)
* `link` - URL for your event page (e.g. `https://donate.openstreetmap.org/`) * `enddate` - the final date that the banner will be shown (e.g. `2017-oct-31`)
* `img` - the filename for the banner image (e.g. `banners/donate-2017.jpg`) * (optional) Feel free to cleanup the old images from the `app/assets/images/banners/` folder and old entries in the `config/banners.yml` file.
* `enddate` - the final date that the banner will be shown (e.g. `2017-oct-31`)
* (optional) Feel free to cleanup the old images from the `app/assets/images/banners/`
folder and old entries in the `config/banners.yml` file.
See [PR #1296](https://github.com/openstreetmap/openstreetmap-website/pull/1296) See [PR #1296](https://github.com/openstreetmap/openstreetmap-website/pull/1296)
as an example. as an example.