diff --git a/LICENSE_ICONIFY.txt b/LICENSE_ICONIFY.txt new file mode 100644 index 0000000..9f9951d --- /dev/null +++ b/LICENSE_ICONIFY.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021-PRESENT Vjacheslav Trushkin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/app/dashboard/page.jsx b/app/dashboard/page.jsx index 51dc230..6ff0ee0 100644 --- a/app/dashboard/page.jsx +++ b/app/dashboard/page.jsx @@ -8,6 +8,7 @@ import CPLStatus from "../../components/modulesStatus/CPLStatus"; import Access1Status from "../../components/modulesStatus/Access1Status"; import Access2Status from "../../components/modulesStatus/Access2Status"; import Kue705_FO from "../../components/modulesStatus/Kue705_FO"; +import { Icon } from "@iconify/react"; function Dashboard() { const apiUrl = process.env.NEXT_PUBLIC_API_BASE_URL; @@ -62,14 +63,23 @@ function Dashboard() { return (
- {/* Letzte Meldungen */} -
-

- Letzten 20 Meldungen -

- + {/* Letzte Meldungen - Titel und Icon Bereich */} +
+
+ + +

+ Letzten 20 Meldungen +

+
+ +
@@ -143,8 +153,47 @@ function Dashboard() {
-
- +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
diff --git a/components/modulesStatus/Kue705_FO.jsx b/components/modulesStatus/Kue705_FO.jsx index 0ae65ce..99d1d73 100644 --- a/components/modulesStatus/Kue705_FO.jsx +++ b/components/modulesStatus/Kue705_FO.jsx @@ -1,12 +1,14 @@ // components/Kue705_FO.jsx import React from "react"; -const Kue705_FO = () => { +const Kue705_FO = ({ slot }) => { return ( -
+
{/* Erstes Kind, nimmt den restlichen Platz ein */}
-
1
+
+ {slot} +
KÜ705
FO
diff --git a/package-lock.json b/package-lock.json index 9caf329..67134e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,9 @@ "version": "0.1.0", "dependencies": { "@fontsource/roboto": "^5.1.0", + "@iconify-icons/ri": "^1.2.10", + "@iconify/json": "^2.2.253", + "@iconify/react": "^5.0.2", "autoprefixer": "^10.4.20", "bootstrap-icons": "^1.11.3", "next": "14.2.13", @@ -37,6 +40,42 @@ "resolved": "https://registry.npmjs.org/@fontsource/roboto/-/roboto-5.1.0.tgz", "integrity": "sha512-cFRRC1s6RqPygeZ8Uw/acwVHqih8Czjt6Q0MwoUoDe9U3m4dH1HmNDRBZyqlMSFwgNAUKgFImncKdmDHyKpwdg==" }, + "node_modules/@iconify-icons/ri": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/@iconify-icons/ri/-/ri-1.2.10.tgz", + "integrity": "sha512-wNaXsQYK55WDUWCbcjvnwnODV4Jtsp+VC0duPanibEVu876TUYf6kdgTGtH7/GErBCNdJuJJbncG7vbOaeQi7w==", + "dependencies": { + "@iconify/types": "*" + } + }, + "node_modules/@iconify/json": { + "version": "2.2.253", + "resolved": "https://registry.npmjs.org/@iconify/json/-/json-2.2.253.tgz", + "integrity": "sha512-lGfG3aaprpO+zg0mP4BJR69ezBG7V/rIyJy/76kWxmJFyKXLhEfdmnlH+wn5D7uOl5CpApTVBbSTrusf7fe0ww==", + "dependencies": { + "@iconify/types": "*", + "pathe": "^1.1.2" + } + }, + "node_modules/@iconify/react": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@iconify/react/-/react-5.0.2.tgz", + "integrity": "sha512-wtmstbYlEbo4NDxFxBJkhkf9gJBDqMGr7FaqLrAUMneRV3Z+fVHLJjOhWbkAF8xDQNFC/wcTYdrWo1lnRhmagQ==", + "dependencies": { + "@iconify/types": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/cyberalien" + }, + "peerDependencies": { + "react": ">=16" + } + }, + "node_modules/@iconify/types": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", + "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==" + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -1150,6 +1189,11 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/pathe": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", + "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==" + }, "node_modules/picocolors": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", diff --git a/package.json b/package.json index 2aff84e..66467f3 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,15 @@ "scripts": { "dev": "next dev", "build": "next build", + "postbuild": "cp LICENSE_ICONIFY.txt out/LICENSE_ICONIFY.txt", "start": "next start", "lint": "next lint" }, "dependencies": { "@fontsource/roboto": "^5.1.0", + "@iconify-icons/ri": "^1.2.10", + "@iconify/json": "^2.2.253", + "@iconify/react": "^5.0.2", "autoprefixer": "^10.4.20", "bootstrap-icons": "^1.11.3", "next": "14.2.13",