Skip to content
Snippets Groups Projects
Verified Commit f8453a8e authored by Sebastian Kawelke's avatar Sebastian Kawelke :upside_down:
Browse files

Some improvements for accessability

parent 8a5081eb
No related branches found
No related tags found
No related merge requests found
HTML: HyperText Markup Language
API: Application Programming Interface
URL: Uniform Resource Locator
\ No newline at end of file
URL: Uniform Resource Locator
JSON: JavaScript Object Notation
CI pipeline: Continuous Integration Pipeline
TBD: To Be Discussed
\ No newline at end of file
import { Html, Head, Main, NextScript } from 'next/document'
export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}
......@@ -8,4 +8,7 @@ export default {
href: 'https://opencode.de/en',
newWindow: true,
},
'declaration-on-accessibility': {
display: 'hidden',
},
}
......@@ -6,7 +6,10 @@ import { Callout } from 'nextra/components'
You can find the configuration file of the official instance [here →](https://gitlab.opencode.de/open-code/badgebackend/badge-api/-/blob/main/.badge-api.yaml)
</Callout>
The `.badge-api.yaml` configuration file defines a list of badges, their levels and their criteria. The file is structured as follows:
The `.badge-api.yaml` configuration file defines a list of badges, their levels and their criteria. The file is structured as follows.
Find an overview of the implemented checks [here →](/concepts/implemented-checks).<br />
Details about manual checks can be found [here →](/concepts/configuration/manual-checks).
```yaml filename=".badge-api.yaml" copy
badges:
......
# Declaration on accessibility
The Center for Digital Sovereignty of Public Administration (ZenDiS) GmbH endeavors
to make its digital offerings accessible in accordance with the provisions of the
Disability Equality Act (BGG) and the Accessible Information Technology Ordinance (BITV 2.0)
for the implementation of Directive (EU) 2016/2102.
\ No newline at end of file
......@@ -5,10 +5,10 @@ title: Introduction
# Badge API
<div className="flex justify-center"><img src="/assets/badges/badges-stacked.svg" className="h-32"/></div>
<div className="flex justify-center"><img src="/assets/badges/badges-stacked.svg" alt="Badges" className="h-32"/></div>
The Badge API is a service scanning repositories for specific criteria and generating badges based on the results.
The badges are displayed in the Open CoDE software catalog and indicate the status of the repository in terms of **security**, **maintenance**, and **reuse**.
The badges are displayed in the [OpenCode software catalog](https://opencode.de/en/software) and indicate the status of the repository in terms of **security**, **maintenance**, and **reuse**.
You can interact with the Badge API by submitting a repository URL and receiving a badge based on the criteria that the repository meets. The API will
provide you a detailed explanation of the result too.
......
......@@ -2,6 +2,8 @@ import React from 'react'
import { DocsThemeConfig, useConfig } from 'nextra-theme-docs'
import Image from 'next/image'
import { useRouter } from 'next/router'
import Link from 'next/link'
import { ExclamationCircleIcon } from '@heroicons/react/24/outline'
const config: DocsThemeConfig = {
head() {
......@@ -61,7 +63,7 @@ const config: DocsThemeConfig = {
icon: (
<Image
src="/opencode-icon.svg"
alt="Open CoDE Icon"
alt="OpenCode Icon"
width={32}
height={32}
/>
......@@ -95,25 +97,40 @@ const config: DocsThemeConfig = {
footer: {
content: (
<div className="flex w-full flex-col items-center text-sm sm:items-start">
<div className="grid grid-cols-2 gap-4">
<a
className="text-blue-500 hover:text-blue-300"
<div className="flex space-x-6">
<Link
className="text-blue-600 hover:text-blue-400"
title="Impressum"
href="https://opencode.de/de/impressum"
target="_blank"
rel="noopener noreferrer"
>
<span>Impressum</span>
</a>
<a
className="text-blue-500 hover:text-blue-300"
Imprint
</Link>
<Link
className="text-blue-600 hover:text-blue-400"
title="Datenschutz"
href="https://opencode.de/de/datenschutz"
target="_blank"
rel="noopener noreferrer"
>
<span>Datenschutz</span>
</a>
Data Privacy
</Link>
<Link
className="text-blue-600 hover:text-blue-400"
title="Datenschutz"
href="/declaration-on-accessibility"
>
Declaration on accessibility
</Link>
<Link
className="text-blue-600 hover:text-blue-400"
title="Datenschutz"
href="mailto:info@opencode.de"
>
<ExclamationCircleIcon className="-mt-1 mr-1 inline h-4 w-4" />
Feedback on barriers
</Link>
</div>
<p className="mt-4">
© {new Date().getFullYear()} Zentrum für Digitale
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.