diff --git a/docusaurus.config.js b/docusaurus.config.js
index 46733f8..e1e3cfc 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -5,6 +5,11 @@ const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const path = require("path");
+// The pathname the site is served under. Docusaurus prefixes the `favicon`
+// field with this automatically, but not `headTags` hrefs -- those are emitted
+// verbatim, so they have to interpolate it themselves.
+const baseUrl = "/";
+
/** @type {import('@docusaurus/types').Config} */
const config = {
// Site title is appended to every page's
tag as "Page Title | ".
@@ -16,12 +21,32 @@ const config = {
"Boost your testing team. Elevate your quality & speed up release pace.",
favicon: "img/favicon.png",
+ // Docusaurus `favicon` emits a single PNG link. Add the SVG (sharper at any
+ // size) and the apple-touch-icon alongside it; Safari falls back to the PNG.
+ headTags: [
+ {
+ tagName: "link",
+ attributes: {
+ rel: "icon",
+ type: "image/svg+xml",
+ href: `${baseUrl}img/favicon.svg`,
+ },
+ },
+ {
+ tagName: "link",
+ attributes: {
+ rel: "apple-touch-icon",
+ href: `${baseUrl}img/apple-touch-icon.png`,
+ },
+ },
+ ],
+
// Set the production url of your site here
url: "https://website.wopee.io",
// url: "https://wopee.io",
// Set the // pathname under which your site is served
// For GitHub pages deployment, it is often '//'
- baseUrl: "/",
+ baseUrl,
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
diff --git a/static/img/apple-touch-icon.png b/static/img/apple-touch-icon.png
new file mode 100644
index 0000000..15c5272
Binary files /dev/null and b/static/img/apple-touch-icon.png differ
diff --git a/static/img/favicon.png b/static/img/favicon.png
index f3f533d..47d3234 100644
Binary files a/static/img/favicon.png and b/static/img/favicon.png differ
diff --git a/static/img/favicon.svg b/static/img/favicon.svg
new file mode 100644
index 0000000..5d5e655
--- /dev/null
+++ b/static/img/favicon.svg
@@ -0,0 +1,4 @@
+