diff --git a/src/data/tabs.json b/src/data/tabs.json index 6e05b4e..833aacf 100644 --- a/src/data/tabs.json +++ b/src/data/tabs.json @@ -3,9 +3,6 @@ "href": "/", "text": "Főoldal" }, - "s1": { - "seperator": true - }, "script": { "href": "/script", "text": "Script" @@ -18,9 +15,6 @@ "href": "/userfiles", "text": "Tanulás segédanyagok" }, - "s2": { - "seperator": true - }, "pwRequest": { "href": "/pwRequest", "text": "Jelszó generálás" @@ -40,8 +34,5 @@ "contact": { "href": "/contact", "text": "Kapcsolat" - }, - "s3": { - "seperator": true } } diff --git a/src/defaultStyles.css b/src/defaultStyles.css index 81022af..913f264 100644 --- a/src/defaultStyles.css +++ b/src/defaultStyles.css @@ -271,6 +271,7 @@ input:focus { .manual_img { padding: 20px 2px; + max-width: 90%; } .subtitle { diff --git a/src/pages/faq.js b/src/pages/faq.js index 5af33c6..d1f29d3 100644 --- a/src/pages/faq.js +++ b/src/pages/faq.js @@ -1,4 +1,5 @@ import React, { useState, useEffect } from 'react' +import Link from 'next/link' import Sleep from '../components/sleep' import Head from 'next/head' @@ -94,12 +95,7 @@ function FAQSection() {
  • Gombok, %-ok, számok;
    - img + img
  • @@ -227,6 +223,78 @@ function ScriptReinstallSection() { ) } +function AddSite() { + return ( + <> + Jelenleg az, hogy a script melyik oldalakon fut bele van égetve a script + forráskódjába. Ez itt látható:{' '} + + stable.user.js#L52 + + {'. '} + Ez azért van így, hogy biztos csak olyan oldalakon fusson a script amit + támogat is. +

    + Ehhez persze kézzel hozzá lehet adni ideiglenesen bármilyen oldalt, hogy + kipróbáld ott működik-e. Akár működik, akár nem kérlek szólj, és frissítem + a scriptet hogy azon a domainen is fusson és működjön alapból. +

    + Egyetem moodle oldalának hozzáadása a scripthez kézzel: +

    + + ) +} + const pages = { faq: { name: 'GYIK', component: FAQSection }, pw: { name: 'Jelszavak', component: PasswordSection }, @@ -236,6 +304,10 @@ const pages = { name: 'Script újratelepítése', component: ScriptReinstallSection, }, + addsite: { + name: 'Új oldalon tesztelés', + component: AddSite, + }, } export default function FAQ({ router }) {