Skip to content

Commit

Permalink
qol changes in the web manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ggvbo authored and MiniDigger committed Jul 31, 2023
1 parent e7ae307 commit 2b45a14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/composables/useSeo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function useSeo(
route: RouteLocationNormalizedLoaded,
image: string | null
): HeadObject {
description = description || "Plugin repository for Paper plugins and more!";
description = description || "Plugin repository for the Paper, Waterfall and Folia platforms.";
const config = useConfig();
const canonical = config.publicHost + (route.fullPath.endsWith("/") ? route.fullPath.substring(0, route.fullPath.length - 1) : route.fullPath);
image = image || "https://docs.papermc.io/img/paper.png";
Expand All @@ -32,7 +32,7 @@ export function useSeo(
msapplicationTileImage: image,
themeColor: "#ffffff",
msapplicationTileColor: "#ffffff",
msapplicationConfig: "/favicon/browserconfig.xml",
msapplicationConfig: "/browserconfig.xml",
});

const seo = {
Expand All @@ -42,7 +42,7 @@ export function useSeo(
{ rel: "apple-touch-icon", sizes: "180x180", href: "/favicon/apple-touch-icon.png" },
{ rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon/favicon-32x32.png" },
{ rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon/favicon-16x16.png" },
{ rel: "manifest", href: "/favicon/site.webmanifest" },
{ rel: "manifest", href: "/site.webmanifest" },
{ rel: "mask-icon", href: "/favicon/safari-pinned-tab.svg", color: "#686868" },
{ rel: "shortcut icon", href: "/favicon/favicon.ico" },
],
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
"name": "Hangar | PaperMC",
"description": "Plugin repository for Paper plugins and more!",
"name": "Hangar by PaperMC",
"description": "Plugin repository for the Paper, Waterfall and Folia platforms.",
"short_name": "Hangar",
"start_url": "/",
"icons": [
{
"src": "/favicon/android-chrome-192x192.png",
Expand Down

0 comments on commit 2b45a14

Please sign in to comment.