Merge pull request #146 from omnivore-app/fix/favicons
Fix the favicon imports
@ -11,8 +11,10 @@ import { logoutMutation } from '../../lib/networking/mutations/logoutMutation'
|
||||
import { useState } from 'react'
|
||||
import { ConfirmationModal } from '../patterns/ConfirmationModal'
|
||||
import { KeyboardShortcutListModal } from './KeyboardShortcutListModal'
|
||||
import { PageMetaData } from '../patterns/PageMetaData'
|
||||
|
||||
type SettingsLayoutProps = {
|
||||
title?: string
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
@ -41,6 +43,7 @@ export function SettingsLayout(props: SettingsLayoutProps): JSX.Element {
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageMetaData path='settings' title='Settings' />
|
||||
<PrimaryHeader
|
||||
user={viewerData?.me}
|
||||
isFixedPosition={false}
|
||||
|
||||
@ -44,12 +44,12 @@ const moduleExports = {
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/static/icons/default/favicon-dark.ico',
|
||||
source: '/static/icons/favicon-dark.ico',
|
||||
destination: '/favicon-dark.ico',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/static/icons/default/favicon-light.ico',
|
||||
source: '/static/icons/favicon-light.ico',
|
||||
destination: '/favicon.ico',
|
||||
permanent: true,
|
||||
},
|
||||
|
||||
@ -9,7 +9,7 @@ export default function Custom404(): JSX.Element {
|
||||
<Head>
|
||||
<title>Page Not Found</title>
|
||||
</Head>
|
||||
<SettingsLayout>
|
||||
<SettingsLayout title="Page could not be found">
|
||||
<ErrorLayout statusCode={404} message="This page could not be found." />
|
||||
</SettingsLayout>
|
||||
</>
|
||||
|
||||
@ -8,7 +8,7 @@ export default function Custom500(): JSX.Element {
|
||||
<Head>
|
||||
<title>An unknown error occurred.</title>
|
||||
</Head>
|
||||
<SettingsLayout>
|
||||
<SettingsLayout title="An unknown error occurred">
|
||||
<ErrorLayout statusCode={404} message="An unknown error occurred." />
|
||||
</SettingsLayout>
|
||||
</>
|
||||
|
||||
@ -11,7 +11,7 @@ export default function Privacy(): JSX.Element {
|
||||
return <PrivacyPolicy />
|
||||
} else {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<SettingsLayout title="Privacy Policy">
|
||||
<PrivacyPolicy />
|
||||
</SettingsLayout>
|
||||
)
|
||||
|
||||
@ -6,7 +6,7 @@ import { VStack } from '../../../components/elements/LayoutPrimitives'
|
||||
|
||||
export default function Extensions(): JSX.Element {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<SettingsLayout title="Extensions">
|
||||
<VStack distribution="center" alignment="center" css={{ width: '100%' }}>
|
||||
<ExtensionInstallHelp />
|
||||
</VStack>
|
||||
|
||||
@ -7,7 +7,7 @@ import { Box, VStack } from '../../../components/elements/LayoutPrimitives'
|
||||
|
||||
export default function Installation(): JSX.Element {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<SettingsLayout title="Installation">
|
||||
<MobileInstallHelp />
|
||||
<Box css={{ m: '32px' }} />
|
||||
<ExtensionInstallHelp />
|
||||
|
||||
@ -6,10 +6,8 @@ import { VStack } from '../../../components/elements/LayoutPrimitives'
|
||||
|
||||
export default function Mobile(): JSX.Element {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
{/* <VStack distribution="center" alignment="center" css={{ width: '100%', height: '100%' }}> */}
|
||||
<MobileInstallHelp />
|
||||
{/* </VStack> */}
|
||||
<SettingsLayout title="Mobile Installation">
|
||||
<MobileInstallHelp />
|
||||
</SettingsLayout>
|
||||
)
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ export default function Terms(): JSX.Element {
|
||||
return <TermsAndConditions />
|
||||
} else {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<SettingsLayout title="Terms and Conditions">
|
||||
<TermsAndConditions />
|
||||
</SettingsLayout>
|
||||
)
|
||||
|
||||
BIN
packages/web/public/apple-touch-icon-114x114-precomposed.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
packages/web/public/apple-touch-icon-114x114.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
packages/web/public/apple-touch-icon-120x120-precomposed.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
packages/web/public/apple-touch-icon-120x120.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
packages/web/public/apple-touch-icon-144x144-precomposed.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
packages/web/public/apple-touch-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
packages/web/public/apple-touch-icon-152x152-precomposed.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
packages/web/public/apple-touch-icon-152x152.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
packages/web/public/apple-touch-icon-180x180-precomposed.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
packages/web/public/apple-touch-icon-180x180.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
packages/web/public/apple-touch-icon-57x57-precomposed.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
packages/web/public/apple-touch-icon-57x57.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
packages/web/public/apple-touch-icon-60x60-precomposed.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
packages/web/public/apple-touch-icon-60x60.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
packages/web/public/apple-touch-icon-72x72-precomposed.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
packages/web/public/apple-touch-icon-72x72.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
packages/web/public/apple-touch-icon-76x76-precomposed.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
packages/web/public/apple-touch-icon-76x76.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
packages/web/public/apple-touch-icon-precomposed.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
packages/web/public/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
packages/web/public/favicon-16.png
Normal file
|
After Width: | Height: | Size: 348 B |
BIN
packages/web/public/favicon-24.png
Normal file
|
After Width: | Height: | Size: 572 B |
BIN
packages/web/public/favicon-32.png
Normal file
|
After Width: | Height: | Size: 716 B |
BIN
packages/web/public/favicon-48.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
packages/web/public/favicon-64.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
2
packages/web/public/favicon-auto.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#3D3D3D" d="M15.9 7.801c0 .507-.123 1.12-.248 1.656v.004l-.001.003a2.87 2.87 0 0 1-2.793 2.186h-.036c-1.625 0-2.649-1.334-2.649-2.828v-2.14l-1.21 1.794-.067.055a1.404 1.404 0 0 1-1.793 0l-.065-.053-1.248-1.82v4.414H4.6V6.268c0-.91 1.078-1.439 1.794-.802l.055.048 1.46 2.13a.21.21 0 0 0 .179 0l1.43-2.119.065-.054c.68-.567 1.78-.138 1.78.815v2.536c0 .971.619 1.638 1.46 1.638h.035c.78 0 1.45-.527 1.636-1.277.125-.534.216-1.026.216-1.378-.017-3.835-3.262-6.762-7.188-6.498-3.311.23-5.986 2.905-6.216 6.216A6.705 6.705 0 0 0 8 14.693v1.19a7.895 7.895 0 0 1-7.882-8.44C.39 3.536 3.536.39 7.44.118 12.017-.19 15.88 3.242 15.9 7.8z"/><style>@media(prefers-color-scheme:dark){path{fill:#FFF}}</style></svg>
|
||||
|
After Width: | Height: | Size: 812 B |
BIN
packages/web/public/favicon-dark-16.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
packages/web/public/favicon-dark-24.png
Normal file
|
After Width: | Height: | Size: 472 B |
BIN
packages/web/public/favicon-dark-32.png
Normal file
|
After Width: | Height: | Size: 610 B |
BIN
packages/web/public/favicon-dark-48.png
Normal file
|
After Width: | Height: | Size: 955 B |
BIN
packages/web/public/favicon-dark-64.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
packages/web/public/favicon-dark.ico
Normal file
|
After Width: | Height: | Size: 34 KiB |
2
packages/web/public/favicon-dark.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#FFF" d="M15.9 7.801c0 .507-.123 1.12-.248 1.656v.004l-.001.003a2.87 2.87 0 0 1-2.793 2.186h-.036c-1.625 0-2.649-1.334-2.649-2.828v-2.14l-1.21 1.794-.067.055a1.404 1.404 0 0 1-1.793 0l-.065-.053-1.248-1.82v4.414H4.6V6.268c0-.91 1.078-1.439 1.794-.802l.055.048 1.46 2.13a.21.21 0 0 0 .179 0l1.43-2.119.065-.054c.68-.567 1.78-.138 1.78.815v2.536c0 .971.619 1.638 1.46 1.638h.035c.78 0 1.45-.527 1.636-1.277.125-.534.216-1.026.216-1.378-.017-3.835-3.262-6.762-7.188-6.498-3.311.23-5.986 2.905-6.216 6.216A6.705 6.705 0 0 0 8 14.693v1.19a7.895 7.895 0 0 1-7.882-8.44C.39 3.536 3.536.39 7.44.118 12.017-.19 15.88 3.242 15.9 7.8z"/></svg>
|
||||
|
After Width: | Height: | Size: 744 B |
BIN
packages/web/public/favicon.gif
Normal file
|
After Width: | Height: | Size: 846 B |
BIN
packages/web/public/favicon.ico
Normal file
|
After Width: | Height: | Size: 34 KiB |
2
packages/web/public/favicon.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#3D3D3D" d="M15.9 7.801c0 .507-.123 1.12-.248 1.656v.004l-.001.003a2.87 2.87 0 0 1-2.793 2.186h-.036c-1.625 0-2.649-1.334-2.649-2.828v-2.14l-1.21 1.794-.067.055a1.404 1.404 0 0 1-1.793 0l-.065-.053-1.248-1.82v4.414H4.6V6.268c0-.91 1.078-1.439 1.794-.802l.055.048 1.46 2.13a.21.21 0 0 0 .179 0l1.43-2.119.065-.054c.68-.567 1.78-.138 1.78.815v2.536c0 .971.619 1.638 1.46 1.638h.035c.78 0 1.45-.527 1.636-1.277.125-.534.216-1.026.216-1.378-.017-3.835-3.262-6.762-7.188-6.498-3.311.23-5.986 2.905-6.216 6.216A6.705 6.705 0 0 0 8 14.693v1.19a7.895 7.895 0 0 1-7.882-8.44C.39 3.536 3.536.39 7.44.118 12.017-.19 15.88 3.242 15.9 7.8z"/></svg>
|
||||
|
After Width: | Height: | Size: 747 B |
BIN
packages/web/public/mstile-144x144.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
packages/web/public/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
packages/web/public/mstile-310x150.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
packages/web/public/mstile-310x310.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
packages/web/public/mstile-70x70.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
2
packages/web/public/safari-pinned-tab.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15.9 7.801c0 .507-.123 1.12-.248 1.656v.004l-.001.003a2.87 2.87 0 0 1-2.793 2.186h-.036c-1.625 0-2.649-1.334-2.649-2.828v-2.14l-1.21 1.794-.067.055a1.404 1.404 0 0 1-1.793 0l-.065-.053-1.248-1.82v4.414H4.6V6.268c0-.91 1.078-1.439 1.794-.802l.055.048 1.46 2.13a.21.21 0 0 0 .179 0l1.43-2.119.065-.054c.68-.567 1.78-.138 1.78.815v2.536c0 .971.619 1.638 1.46 1.638h.035c.78 0 1.45-.527 1.636-1.277.125-.534.216-1.026.216-1.378-.017-3.835-3.262-6.762-7.188-6.498-3.311.23-5.986 2.905-6.216 6.216A6.705 6.705 0 0 0 8 14.693v1.19a7.895 7.895 0 0 1-7.882-8.44C.39 3.536 3.536.39 7.44.118 12.017-.19 15.88 3.242 15.9 7.8z"/></svg>
|
||||
|
After Width: | Height: | Size: 732 B |
@ -33,8 +33,6 @@
|
||||
const initialCacheItems = [
|
||||
homeCache,
|
||||
'/manifest.webmanifest',
|
||||
'/favicon.ico',
|
||||
'/favicon-32.png',
|
||||
'/pwa-36.png',
|
||||
'/pwa-48.png',
|
||||
'/pwa-72.png',
|
||||
|
||||