···
1
1
import { Analytics } from '@vercel/analytics/next';
2
2
-
import type { Metadata } from 'next';
2
2
+
import type { Metadata, Viewport } from 'next';
3
3
import GlobalStyles from '@/styles/global.module.css';
4
4
import { ColorSchemeScript, mantineHtmlProps } from '@mantine/core';
5
5
import { Hanken_Grotesk } from 'next/font/google';
6
6
import Providers from '@/providers';
7
7
import { SPLASH_IMAGES } from '@/lib/consts/images';
8
8
9
9
+
export const viewport: Viewport = {
10
10
+
themeColor: [
11
11
+
{
12
12
+
media: '(prefers-color-scheme: light)',
13
13
+
color: 'var(--mantine-color-body)',
14
14
+
},
15
15
+
{
16
16
+
media: '(prefers-color-scheme: dark)',
17
17
+
color: 'var(--mantine-color-body)',
18
18
+
},
19
19
+
],
20
20
+
};
21
21
+
9
22
export const metadata: Metadata = {
10
23
title: 'Semble — A social knowledge network for research',
11
24
description: `Follow your peers' research trails. Surface and discover new connections. Built on ATProto so you own your data.`,
···
15
28
statusBarStyle: 'default',
16
29
startupImage: ['/semble-icon-192x192.png', ...SPLASH_IMAGES],
17
30
},
18
18
-
other: { 'apple-mobile-web-app-capable': 'yes' },
31
31
+
other: {
32
32
+
'apple-mobile-web-app-capable': 'yes',
33
33
+
'mobile-web-app-capable': 'yes',
34
34
+
},
19
35
};
20
36
21
37
const hankenGrotesk = Hanken_Grotesk({
···
8
8
description: 'A social knowledge network for research',
9
9
start_url: '/home',
10
10
display: 'standalone',
11
11
-
background_color: '#ffffff',
11
11
+
background_color: 'var(--mantine-color-body)',
12
12
theme_color: theme.colors?.orange?.[6],
13
13
+
orientation: 'portrait',
13
14
icons: [
14
15
{
15
16
src: '/semble-icon-192x192.png',