Merge branch 'feature/open-graph' into develop

This commit is contained in:
2024-02-17 09:01:08 +01:00
3 changed files with 74 additions and 0 deletions

View File

@@ -1,5 +1,38 @@
import '@/app/ui/global.css'; import '@/app/ui/global.css';
import { inter } from '@/app/ui/fonts'; import { inter } from '@/app/ui/fonts';
import { Metadata } from 'next';
export const metadata:Metadata = {
alternates: {
canonical: 'https://rezije.app',
languages: {
'en': 'https://rezije.app/en/',
'hr': 'https://rezije.app/hr/',
}
},
openGraph: {
title: 'Režije',
description: 'Preuzmite kontrolu nad svojim režijama',
url: 'https://rezije.app',
siteName: 'Režije',
images: [
{
url: 'https://rezije.app/opengraph-image.png', // Must be an absolute URL
width: 432,
height: 466,
alt: "Režije - Preuzmite kontrolu nad svojim režijama"
},
{
url: 'https://rezije.app/icon6.png', // Must be an absolute URL
width: 256,
height: 256,
alt: "Režije - Preuzmite kontrolu nad svojim režijama"
},
],
locale: 'hr',
type: 'website',
},
}
export default function RootLayout({ export default function RootLayout({
children, children,

41
app/manifest.json Normal file
View File

@@ -0,0 +1,41 @@
{
"name": "App Režije",
"short_name": "Režije",
"icons": [
{
"src": "/icon1.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "/icon2.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "/icon3.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/icon4.png",
"sizes": "64x64",
"type": "image/png"
},
{
"src": "/icon5.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "/icon6.png",
"sizes": "256x256",
"type": "image/png"
}
],
"start_url": "/",
"scope": "/",
"theme_color": "#15191e",
"background_color": "#15191e",
"display": "standalone"
}

BIN
public/opengraph-image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB