This commit is contained in:
Jakob Kordež 2023-09-26 10:16:51 +02:00
parent 0cc1664fee
commit 682edc6aca
6 changed files with 2174 additions and 96 deletions

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# PWA
/public/service-worker.js*
/public/sw.js*
/public/workbox-*.js*
# dependencies

View File

@ -1,9 +1,9 @@
// const withPwa = require('next-pwa')({
// dest: 'public',
// sw: 'service-worker.js',
// });
// eslint-disable-next-line @typescript-eslint/no-var-requires
const withPWA = require("@ducanh2912/next-pwa").default({
dest: "public",
});
/** @type {import('next').NextConfig} */
const nextConfig = {}
module.exports = nextConfig;
module.exports = withPWA(nextConfig);

View File

@ -10,6 +10,7 @@
"format": "prettier --write ./src"
},
"dependencies": {
"@ducanh2912/next-pwa": "^9.7.1",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-regular-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
@ -21,7 +22,7 @@
"autoprefixer": "^10.4.15",
"eslint": "^8.49.0",
"eslint-config-next": "^13.5.1",
"next": "^13.5.1",
"next": "^13.5.3",
"node-sass": "^9.0.0",
"postcss": "^8.4.30",
"react": "^18.2.0",
@ -39,6 +40,7 @@
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.4",
"sass": "^1.67.0"
"sass": "^1.67.0",
"webpack": "^5.88.2"
}
}

View File

@ -2568,7 +2568,7 @@
},
{
"id": 262,
"question": "\"Nič nimam zate?\" se glasi:",
"question": "\"Nič nimam zate\" se glasi:",
"image": null,
"answers": ["QTR", "QRU", "QRW"],
"correct": 1,

View File

@ -6,6 +6,7 @@ import { morse } from '@/fonts/fonts';
import { ScrollToTopButton } from '@/components/scroll-to-top-button';
export const metadata: Metadata = {
applicationName: 'Radioamaterski izpit',
title: {
default: 'Radioamaterski izpit',
template: '%s | Radioamaterski izpit',

2249
yarn.lock

File diff suppressed because it is too large Load Diff