diff --git a/src/components/IrcButton.js b/src/components/IrcButton.js deleted file mode 100644 index be532c5..0000000 --- a/src/components/IrcButton.js +++ /dev/null @@ -1,15 +0,0 @@ -import styles from './ircButton.module.css' - -export default function IrcButton (props) { - return ( -
-
- -
- IRC chat -
-
-
-
- ) -} diff --git a/src/components/Questions.js b/src/components/Questions.js index 1a93f4c..b2107cf 100644 --- a/src/components/Questions.js +++ b/src/components/Questions.js @@ -10,15 +10,16 @@ class Questions extends PureComponent { return (
- {subjs.map((subj) => { + {subjs.map((subj, i) => { return ( -
+
{subj.Name}
- { subj.Questions.map((question) => { + { subj.Questions.map((question, i) => { return ( ) diff --git a/src/components/ircButton.module.css b/src/components/ircButton.module.css deleted file mode 100644 index 2f6e5e4..0000000 --- a/src/components/ircButton.module.css +++ /dev/null @@ -1,10 +0,0 @@ -.ircLink { - background-color: #9999ff; - border: none; - color: white; - padding: 15px 32px; - text-align: center; - text-decoration: none; - display: inline-block; - font-size: 16px; -} diff --git a/src/data/repos.json b/src/data/repos.json index 8f59d31..214e0ec 100644 --- a/src/data/repos.json +++ b/src/data/repos.json @@ -22,6 +22,10 @@ "qminingPageRepo": { "description": "Qmining weboldal Next.js felülete", "href": "https://gitlab.com/MrFry/qmining-page" + }, + "dataEditor": { + "description": "Kérdés szerkesztő", + "href": "https://gitlab.com/MrFry/qmining-data-editor" } } } diff --git a/src/pages/feedback.js b/src/pages/feedback.js index 4c109f5..0a54938 100644 --- a/src/pages/feedback.js +++ b/src/pages/feedback.js @@ -1,7 +1,7 @@ import React, { useState } from 'react' import fetch from 'unfetch' -import IrcButton from '../components/IrcButton.js' +import Button from '../components/Button.js' import styles from './feedback.module.css' import constants from '../constants.json' @@ -244,7 +244,7 @@ export default function Feedback (props) { return (
- +
) } diff --git a/src/pages/repos.module.css b/src/pages/repos.module.css index 2d6eada..566bfe4 100644 --- a/src/pages/repos.module.css +++ b/src/pages/repos.module.css @@ -6,6 +6,7 @@ font-size: 17px; color: white; text-align: center; + margin: 10px; } .repoTable thead td {