Add manifest

Update icons
Update robots
Update sitemap
Add favicon
This commit is contained in:
Jakob Kordež 2023-04-13 17:04:08 +02:00
parent ff22370bd8
commit 828939eee8
15 changed files with 72 additions and 42 deletions

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

BIN
public/logo/icon_192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
public/logo/icon_512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
public/logo/icon_m_192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
public/logo/icon_m_512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
public/logo/logo_192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

BIN
public/logo/logo_512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

33
public/manifest.json Normal file
View File

@ -0,0 +1,33 @@
{
"name": "Radioamaterski izpit",
"short_name": "S5 Vaja",
"description": "Priprava na radioamaterski izpit",
"start_url": "/priprave",
"display": "standalone",
"background_color": "#2196f3",
"theme_color": "#2196f3",
"icons": [
{
"src": "/images/logo/icon_192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/logo/icon_512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "/images/logo/icon_m_192.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "maskable"
},
{
"src": "/images/logo/icon_m_512.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "maskable"
}
]
}

View File

@ -1,2 +1,9 @@
# *
User-agent: *
Allow: /
# Host
Host: https://izpit.jkob.cc
# Sitemaps
Sitemap: https://izpit.jkob.cc/sitemap.xml

View File

@ -1,21 +1,23 @@
<xml version="1.0" encoding="UTF-8">
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>https://izpit.jkob.cc/</loc>
<lastmod>2023-03-02</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://izpit.jkob.cc/priprave</loc>
<lastmod>2023-03-02</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://izpit.jkob.cc/izpit-sim</loc>
<lastmod>2023-03-02</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://izpit.jkob.cc/</loc>
<lastmod>2023-04-13T14:14:03+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://izpit.jkob.cc/priprave</loc>
<lastmod>2023-04-13T14:14:03+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://izpit.jkob.cc/izpit-sim</loc>
<lastmod>2023-04-13T14:14:03+00:00</lastmod>
<priority>0.80</priority>
</url>
</urlset>
</xml>
</urlset>

View File

@ -10,11 +10,12 @@ export const metadata: Metadata = {
},
description: "Priprava na radioamaterski izpit",
icons: {
icon: "/logo/S5_practice.png",
shortcut: "/logo/S5_practice.png",
icon: "/logo/icon_512.png",
shortcut: "/logo/icon_512.png",
},
creator: "Jakob Kordež [S52KJ]",
themeColor: "#2196f3",
manifest: "/manifest.json",
openGraph: {
title: "Radioamaterski izpit",
description: "Priprava na radioamaterski izpit",

View File

@ -24,10 +24,11 @@ export default function Header() {
<div className="is-flex is-align-items-center">
<figure className="image is-96x96">
<Image
src="/logo/S5_practice_front.png"
src="/logo/logo_192.png"
alt="Logo"
width={100}
height={100}
height={96}
width={96}
style={{ height: "100%", width: "auto", margin: "auto" }}
/>
</figure>
<div className="ml-4">

View File

@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -25,19 +21,9 @@
],
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
]
"@/*": ["./src/*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"C:\\Users\\Jakob\\Documents\\Ham\\s5_practice\\.next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}