mirror of
https://github.com/bendtherules/multimeter-connect-web.git
synced 2026-08-18 22:03:12 +00:00
Fix pwa config
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@ const withPWA = require("next-pwa")({
|
||||
const nextConfig = {};
|
||||
|
||||
module.exports = withPWA({
|
||||
nextConfig,
|
||||
...nextConfig,
|
||||
});
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"theme_color": "#F7CB47",
|
||||
"background_color": "#000000",
|
||||
"display": "standalone",
|
||||
"scope": "/",
|
||||
"start_url": "/",
|
||||
"name": "Multimeter speaker",
|
||||
"short_name": "Multimeter speaker",
|
||||
"description": "Speaker for bluetooth DMMs like Aneng-9002, BSIDE ZT-300AB, ZOYI ZT-300AB, BABATools AD-900",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icons/icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-256x256.png",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-384x384.png",
|
||||
"sizes": "384x384",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
+28
-3
@@ -4,10 +4,35 @@ import { Inter } from "next/font/google";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
const PRODUCTION_URL = "https://bluetooth-speaker.netlify.app";
|
||||
const DEPLOY_URL = process.env.DEPLOY_URL || PRODUCTION_URL;
|
||||
|
||||
const title = "Multimeter speaker";
|
||||
const description =
|
||||
"Speaker for bluetooth DMMs like Aneng-9002, BSIDE ZT-300AB, ZOYI ZT-300AB, BABATools AD-900";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Multimeter speaker",
|
||||
description:
|
||||
"Speaker for bluetooth DMMs like Aneng-9002, BSIDE ZT-300AB, ZOYI ZT-300AB, BABATools AD-900",
|
||||
title,
|
||||
description,
|
||||
metadataBase: new URL(DEPLOY_URL),
|
||||
formatDetection: {
|
||||
telephone: false,
|
||||
},
|
||||
openGraph: {
|
||||
title,
|
||||
description,
|
||||
url: PRODUCTION_URL,
|
||||
siteName: title,
|
||||
locale: "en_US",
|
||||
type: "website",
|
||||
images: "/icon.png",
|
||||
},
|
||||
themeColor: "#F7CB47",
|
||||
manifest: "/manifest.json",
|
||||
category: "technology",
|
||||
other: {
|
||||
"mobile-web-app-capable": "yes",
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
import { Html, Head, Main, NextScript } from "next/document";
|
||||
|
||||
export default function Document() {
|
||||
return (
|
||||
<Html lang="en">
|
||||
<Head>
|
||||
<meta name="application-name" content="Multimeter speaker" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Speaker for bluetooth DMMs like Aneng-9002, BSIDE ZT-300AB, ZOYI ZT-300AB, BABATools AD-900"
|
||||
/>
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="msapplication-config" content="/icons/browserconfig.xml" />
|
||||
<meta name="msapplication-TileColor" content="#F7CB47" />
|
||||
<meta name="msapplication-tap-highlight" content="no" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
|
||||
<link rel="shortcut icon" href="/icon.png" />
|
||||
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Multimeter speaker" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="Speaker for bluetooth DMMs like Aneng-9002, BSIDE ZT-300AB, ZOYI ZT-300AB, BABATools AD-900"
|
||||
/>
|
||||
<meta property="og:site_name" content="Multimeter speaker" />
|
||||
<meta
|
||||
property="og:url"
|
||||
content="https://bluetooth-speaker.netlify.app/"
|
||||
/>
|
||||
<meta
|
||||
property="og:image"
|
||||
content="https://bluetooth-speaker.netlify.app/icon.png"
|
||||
/>
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
<NextScript />
|
||||
</body>
|
||||
</Html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user