mirror of
https://github.com/jakobkordez/s5_practice.git
synced 2025-05-15 16:20:31 +00:00
55 lines
1.1 KiB
TypeScript
55 lines
1.1 KiB
TypeScript
import { AnalyticsWrapper } from '@/components/analytics';
|
|
import Header from '@/components/header';
|
|
import { Metadata } from 'next';
|
|
import '@/styles/globals.scss';
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: 'Radioamaterski izpit',
|
|
template: '%s | Radioamaterski izpit',
|
|
},
|
|
description: 'Priprava na radioamaterski izpit',
|
|
icons: {
|
|
icon: '/logo/icon_512.png',
|
|
shortcut: '/logo/icon_512.png',
|
|
},
|
|
creator: 'Jakob Kordež [S52KJ]',
|
|
themeColor: '#2196f3',
|
|
manifest: '/manifest.json',
|
|
metadataBase: new URL('https://izpit.jkob.cc'),
|
|
openGraph: {
|
|
title: 'Radioamaterski izpit',
|
|
description: 'Priprava na radioamaterski izpit',
|
|
url: 'http://izpit.jkob.cc/',
|
|
locale: 'sl_SL',
|
|
type: 'website',
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="sl">
|
|
<head />
|
|
<body>
|
|
<Header />
|
|
|
|
<main>{children}</main>
|
|
|
|
<AnalyticsWrapper />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|