diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 0000000..ea3275c Binary files /dev/null and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png new file mode 100644 index 0000000..d2e71c5 Binary files /dev/null and b/public/android-chrome-512x512.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 0000000..bfd0833 Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000..d29a7d3 Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 0000000..5c23b83 Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..600e749 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.png b/public/favicon.png deleted file mode 100644 index a94e69f..0000000 Binary files a/public/favicon.png and /dev/null differ diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..78f47b9 --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "FreeChess", + "short_name": "FreeChess", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#5d9948", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index beb928c..9045e69 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -4,7 +4,45 @@ export default function Document() { return ( - + + + + + + + {/* Balises OG (Facebook & Twitter) */} + + + + + + + + {/* Balise Twitter */} +
diff --git a/src/sections/layout/NavBar.tsx b/src/sections/layout/NavBar.tsx index 87e2481..1ba023b 100644 --- a/src/sections/layout/NavBar.tsx +++ b/src/sections/layout/NavBar.tsx @@ -8,6 +8,7 @@ import NavMenu from "./NavMenu"; import { Icon } from "@iconify/react"; import { useRouter } from "next/router"; import NavLink from "@/components/NavLink"; +import Image from "next/image"; interface Props { darkMode: boolean; @@ -40,8 +41,18 @@ export default function NavBar({ darkMode, switchDarkMode }: Props) { > + FreeChess logo - + Free Chess diff --git a/src/sections/layout/NavMenu.tsx b/src/sections/layout/NavMenu.tsx index 3f05b33..337b229 100644 --- a/src/sections/layout/NavMenu.tsx +++ b/src/sections/layout/NavMenu.tsx @@ -30,7 +30,7 @@ export default function NavMenu({ open, onClose }: Props) { return ( - + {MenuOptions.map(({ text, icon, href }) => (