Skip to content
Snippets Groups Projects
Commit dea362e8 authored by Andy Leuchtturm's avatar Andy Leuchtturm
Browse files

Merge branch 'feature/it-standards' of...

Merge branch 'feature/it-standards' of https://git.fitko.de/fit-connect/entwicklungsportal into feature/it-standards
parents 74849a6b fcf73d8d
No related branches found
No related tags found
1 merge request!86planning#1203: Standards
import useImgPath from 'shared/use-img-path' import useImgPath from 'shared/use-img-path'
import MY_CONSTANTS from '@/lib/constants-standards.js'
const { getImgPath } = useImgPath() const { getImgPath } = useImgPath()
...@@ -8,17 +9,26 @@ type LifecylceOptions = { ...@@ -8,17 +9,26 @@ type LifecylceOptions = {
// Display the image corresponding to the lifecycle phase // Display the image corresponding to the lifecycle phase
export default ({ status } : LifecylceOptions) => { export default ({ status } : LifecylceOptions) => {
const imagePath = `/img/standards/lifecycle/${status}.svg` const imagePath = `/img/standards/lifecycle/${status}.svg`
console.log(status)
return ( if (MY_CONSTANTS.LYFE_CYCLE_PHASES.includes(status)) {
<div className="border border-gray-300 rounded-lg overflow-hidden py-2"> return (
{/* Die Next.js Image-Komponente verwendet das "src" Attribut */} <div className="border border-gray-300 rounded-lg overflow-hidden py-2">
<img {/* Die Next.js Image-Komponente verwendet das "src" Attribut */}
src={getImgPath(imagePath)} <img
alt={`Bild für Tag ${status}`} src={getImgPath(imagePath)}
width={500} // Breite des Bildes alt={`${status}`}
height={0} // Höhe des Bildes width={500} // Breite des Bildes
/> height={0} // Höhe des Bildes
</div> />
) </div>
)
}
else {
return (
<div className="border border-gray-300 rounded-lg overflow-hidden p-2">
#INVALID! (tags.status)
</div>
)
}
} }
...@@ -40,8 +40,8 @@ childResources: ...@@ -40,8 +40,8 @@ childResources:
slug: xxx slug: xxx
- name: Test2 - name: Test2
slug: yyy slug: yyy
- name: Test3 - name: XBezahldienste
slug: zzz slug: xbezahldienste
sourceCodeUrl: https://docs.fitko.de/xbezahldienste/ sourceCodeUrl: https://docs.fitko.de/xbezahldienste/
docsUrl: https://docs.fitko.de/xbezahldienste/ docsUrl: https://docs.fitko.de/xbezahldienste/
......
...@@ -36,10 +36,13 @@ contactInformation: ...@@ -36,10 +36,13 @@ contactInformation:
tags: tags:
- status: regelbetrieb - status: regelbetrieb
- type: - type:xxx
- slugMaster: - label:external
- - slugMaster:xeinkauf
childResources: childResources:
- name: XStandards Einkauf
slug: xeinkauf
- name: XRechnung - name: XRechnung
slug: xrechnung slug: xrechnung
......
...@@ -27,8 +27,7 @@ developer: ...@@ -27,8 +27,7 @@ developer:
contactInformation: contactInformation:
organisation: Senator für Finanzen organisation: Koordinierungsstelle für IT Standards (KoSIT)
Koordinierungsstelle für IT Standards (KoSIT)
url: https://xeinkauf.de/xrechnung/ url: https://xeinkauf.de/xrechnung/
name: name:
phone: +49 421 361 10062 phone: +49 421 361 10062
...@@ -36,13 +35,15 @@ contactInformation: ...@@ -36,13 +35,15 @@ contactInformation:
mail: xrechnung@finanzen.bremen.de mail: xrechnung@finanzen.bremen.de
tags: tags:
- status: regelbetrieb status:regelbetrieb
- type: type: xxx
- slugMaster: xstandards_einkauf slugMaster:xeinkauf
childResources: childResources:
- name: - name: XStandards Einkauf
slug: slug: xeinkauf
- name: XRechnung
slug: xrechnung
docsUrl: https://xeinkauf.de/dokumente/ docsUrl: https://xeinkauf.de/dokumente/
sourceCodeUrl: https://xeinkauf.de/app/uploads/2023/09/xrechnung-3.0.1-bundle-2023-09-22.zip sourceCodeUrl: https://xeinkauf.de/app/uploads/2023/09/xrechnung-3.0.1-bundle-2023-09-22.zip
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(59 130 246 / var(--tw-text-opacity)); color: rgb(59 130 246 / var(--tw-text-opacity));
} }
.it-standard .cms-blog-text p a:hover{ .infoboxes a{
color:blue;
}
.it-standard .cms-blog-text p a:hover,
.infoboxes a:hover{
text-underline-offset:2px; text-underline-offset:2px;
text-decoration:underline; text-decoration:underline;
} }
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