Skip to content

Commit

Permalink
fix: icons
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperorb committed Apr 14, 2024
1 parent d1f78e5 commit b71e779
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.svg" />
<meta name="twitter:image" content="%sveltekit.assets%/social.png">
<meta property="og:image" content="%sveltekit.assets%/social.png">
<meta name="viewport" content="width=device-width" />
%sveltekit.head%
</head>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const description = "Intl Explorer is an interactive tool for experimenting and trying out the ECMAScript Internationalization API.";
export const title = "Intl Explorer";
export const imageUrl = "";
export const imageUrl = "static/social.png";
export const tags = ["Inlt", "i18n", "Internationalization", "JavaScript", "TypeScript", "Svelte"];
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import Header from "$ui/Header.svelte";
import { getLocaleFromParams } from "$utils/get-locale";
import { locales } from "$store/locales";
import { description, tags, title } from "$lib/constants";
import { description, tags, title, imageUrl } from "$lib/constants";
let routeId: FormatMethodsKeys | "Playground" | "/";
$: isHomePage = false;
Expand Down
2 changes: 1 addition & 1 deletion static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/social.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b71e779

Please sign in to comment.