Skip to content

Commit

Permalink
add assets #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Aug 6, 2023
1 parent ad69475 commit 5febf9f
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 11 deletions.
10 changes: 2 additions & 8 deletions app/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,10 @@ const metadata: Metadata = {
description: 'Salsa, Bachata and Kizomba in Yerevan',
images: [
{
url: 'https://nextjs.org/og.png',
url: '/og.png',
width: 800,
height: 600,
},
{
url: 'https://nextjs.org/og-alt.png',
width: 1800,
height: 1600,
alt: 'My custom alt',
},
],
locale: 'en_US',
type: 'website',
Expand All @@ -51,7 +45,7 @@ const metadata: Metadata = {
card: 'summary_large_image',
title: 'Salsaviva',
description: 'Salsa, Bachata and Kizomba in Yerevan',
images: ['https://nextjs.org/og.png'],
images: ['/og.png'],
},
viewport: {
width: 'device-width',
Expand Down
3 changes: 2 additions & 1 deletion app/origin.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const origin = 'https://salsaviva.am';
export const origin =
process.env.NODE_ENV === 'production' ? 'https://salsaviva.am' : 'http://localhost:3000';
4 changes: 2 additions & 2 deletions lib/dynamicFavicon/toggleFavicon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ const disabledTabIconsSet = [
{
rel: 'icon',
sizes: 'any',
href: '/icons/favicon.dark.ico',
href: '/icons/favicon.disabled.ico',
},
{
rel: 'icon',
type: 'image/svg+xml',
href: '/icons/icon.dark.svg',
href: '/icons/icon.disabled.svg',
},
];

Expand Down
Binary file added public/icons/apple-touch-icon.png
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 public/icons/favicon.disabled.ico
Binary file not shown.
Binary file added public/icons/favicon.disabled/favicon.ico
Binary file not shown.
Binary file added public/icons/favicon.ico
Binary file not shown.
5 changes: 5 additions & 0 deletions public/icons/icon.disabled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/icons/icon.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 public/icons/logo_192.png
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 public/icons/logo_512.png
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 public/icons/logo_maskable_192.png
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 public/og.jpg
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 5febf9f

Please sign in to comment.