mirror of
https://github.com/skidoodle/erettsegi-browser.git
synced 2025-02-15 05:39:15 +01:00
add digkult
This commit is contained in:
parent
38cb124b3d
commit
6ddf455499
2 changed files with 7 additions and 2 deletions
|
@ -60,6 +60,7 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||||
switch (vizsgatargy) {
|
switch (vizsgatargy) {
|
||||||
case 'inf':
|
case 'inf':
|
||||||
case 'infoism':
|
case 'infoism':
|
||||||
|
case 'digkult':
|
||||||
switch (ZipUrl) {
|
switch (ZipUrl) {
|
||||||
case ZipUrl:
|
case ZipUrl:
|
||||||
flZipUrl = `${baseUrl}${ev}${idoszak}_${szint}/${prefix}${forras}_${shortev}${honap}_${feladat}.zip`
|
flZipUrl = `${baseUrl}${ev}${idoszak}_${szint}/${prefix}${forras}_${shortev}${honap}_${feladat}.zip`
|
||||||
|
|
|
@ -128,7 +128,9 @@ export default function Home() {
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className="space-x-3">
|
<div className="space-x-3">
|
||||||
{selectedSubject === 'inf' || selectedSubject === 'infoism' ? (
|
{selectedSubject === 'inf' ||
|
||||||
|
selectedSubject === 'infoism' ||
|
||||||
|
selectedSubject === 'digkult' ? (
|
||||||
<button
|
<button
|
||||||
className="w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2 rounded"
|
className="w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2 rounded"
|
||||||
onClick={flZipLink ? () => window.open(flZipLink) : () => {}}
|
onClick={flZipLink ? () => window.open(flZipLink) : () => {}}
|
||||||
|
@ -136,7 +138,9 @@ export default function Home() {
|
||||||
Forrás
|
Forrás
|
||||||
</button>
|
</button>
|
||||||
) : null}
|
) : null}
|
||||||
{selectedSubject === 'inf' || selectedSubject === 'infoism' ? (
|
{selectedSubject === 'inf' ||
|
||||||
|
selectedSubject === 'infoism' ||
|
||||||
|
selectedSubject === 'digkult' ? (
|
||||||
<button
|
<button
|
||||||
className="w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2 rounded"
|
className="w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2 rounded"
|
||||||
onClick={utZipLink ? () => window.open(utZipLink) : () => {}}
|
onClick={utZipLink ? () => window.open(utZipLink) : () => {}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue