Browse Source

added shields description

updated README.md
minor improvements in services-extended.html
pull/38/head
Samuel Philipp 1 month ago
parent
commit
681a0afe21
5 changed files with 36 additions and 3 deletions
  1. 2
      README.md
  2. 1
      src/_data/services.json
  3. 2
      src/_includes/services-extended.html
  4. 17
      src/de/services/shields.md
  5. 17
      src/en/services/shields.md

2
README.md

@ -12,7 +12,7 @@ Website for sp-codes.de
The following Parameters are set directly on the Web-Server.
```
Content-Security-Policy: default-src 'none'; script-src 'self' https://plausible.sp-codes.de; object-src 'none'; style-src 'self'; img-src 'self'; media-src 'none'; frame-src 'none'; font-src 'self'; connect-src 'self' https://plausible.sp-codes.de
Content-Security-Policy: default-src 'none'; script-src 'self' https://plausible.sp-codes.de; object-src 'none'; style-src 'self'; img-src 'self' https://shields.sp-codes.de; media-src 'none'; frame-src 'none'; font-src 'self'; connect-src 'self' https://plausible.sp-codes.de
Referrer-Policy: strict-origin-when-cross-origin
Feature-Policy: sync-xhr 'self'
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

1
src/_data/services.json

@ -104,7 +104,6 @@
"icon": "fas fa-tags",
"url": "https://shields.sp-codes.de",
"status": "https://shields.sp-codes.de",
"beta": true,
"summary": {
"de": "Prägnante, konsistente und lesbare Badges im SVG- und Rasterformat.",
"en": "Concise, consistent, and legible badges in SVG and raster format."

2
src/_includes/services-extended.html

@ -12,7 +12,7 @@
{% if service.status %}
<div class="mb-2">
<a href="https://status.sp-codes.de" target="_blank">
<img src="https://shields.sp-codes.de/endpoint?label={{strings.state[locale]}}&url=https%3A%2F%2Fstatus.sp-codes.de%2Fapi%2Fbadge%3Fservice%3D{{service.status}}%26operational%3D{{strings.operational[locale]}}%26outage%3D{{strings.outage[locale]}}%26maintenance%3D{{strings.maintenance[locale]}}">
<img alt="{{strings.state[locale]}}" src="https://shields.sp-codes.de/endpoint?label={{strings.state[locale]}}&url=https%3A%2F%2Fstatus.sp-codes.de%2Fapi%2Fbadge%3Fservice%3D{{service.status}}%26operational%3D{{strings.operational[locale]}}%26outage%3D{{strings.outage[locale]}}%26maintenance%3D{{strings.maintenance[locale]}}">
</a>
</div>
{% endif %}

17
src/de/services/shields.md

@ -0,0 +1,17 @@
---
layout: base.njk
key: shields
title: Shields
---
# Shields
Shields ist ein Service für prägnante, konsistente und lesbare Badges im SVG- und Rasterformat. Über eine URL können sie sehr einfach in Readmes oder jede andere Webseite eingebunden werden. Außerdem werden Integrationen zu verschiedenen Diensten oder Netzwerken bereitgestellt.
__Seit August 2020 betreibe ich eine öffentliche Shields Instanz.__ Schau gerne mal vorbei und nutze die Bagdes in deinen eigenen Projekten. Es kann sein, das nicht alle Integrationen aktiviert sind.
__Hier gehts zu Shields: [shields.sp-codes.de](https://shields.sp-codes.de)__
## Weitere nützliche Links
* [Shields Webseite](https://shields.io/)
* [Quellcode von Shields](https://github.com/badges/shields)

17
src/en/services/shields.md

@ -0,0 +1,17 @@
---
layout: base.njk
key: shields
title: Shields
---
# Shields
Shields is a service for concise, consistent and legible badges in SVG and raster format. Via a URL they can be easily embedded in readmes or any other website. In addition, integrations to various services or networks are provided.
__Since August 2020 I run a public Shields instance.__ Feel free to visit it and use the bagdes in your own projects. It is possible that not all integrations are activated.
__Here is the link to Shelds: [shields.sp-codes.de](https://shields.sp-codes.de)__
## More useful links
* [Shields Website](https://shields.io/)
* [Source code of Shields](https://github.com/badges/shields)
Loading…
Cancel
Save