4
0
forked from crowetic/commerce

Adding a clear manifest

This commit is contained in:
Belen Curcio 2020-10-14 14:38:21 -03:00
parent 45b191c6bb
commit 745adb1b02
7 changed files with 33 additions and 1 deletions

View File

@ -27,7 +27,7 @@ const Avatar: FC<Props> = ({}) => {
return (
<div
className="inline-block h-8 w-8 rounded-full border border-accent"
className="inline-block h-8 w-8 rounded-full border border-accent-8"
style={{
backgroundImage: `linear-gradient(140deg, ${bg[0]}, ${bg[1]} 100%)`,
}}

View File

@ -7,6 +7,8 @@ import '@assets/global.css'
import '@assets/tailwind.css'
import '@assets/utils.css'
import config from '../config.json'
import Head from 'next/head'
const Noop: FC = ({ children }) => <>{children}</>
export default function MyApp({ Component, pageProps }: AppProps) {
@ -14,6 +16,14 @@ export default function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<link
rel="manifest"
href="/site.webmanifest"
importance="low"
key="site-manifest"
/>
</Head>
<DefaultSeo {...config.seo} />
<ThemeProvider>
<SSRProvider>

BIN
public/icon-144x144.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
public/icon-192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
public/icon-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
public/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

22
public/site.webmanifest Normal file
View File

@ -0,0 +1,22 @@
{
"name": "Next.js Commerce",
"short_name": "Next.js Commerce",
"description": "Next.js Commerce -> https://www.nextjs.org/commerce",
"display": "standalone",
"start_url": "/",
"theme_color": "#fff",
"background_color": "#000000",
"orientation": "portrait",
"icons": [
{
"src": "/icon-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/icon-512x512.png",
"type": "image/png",
"sizes": "512x512"
}
]
}