Surrender to the future
Test / test (push) Failing after 48s
Details
Test / test (push) Failing after 48s
Details
This commit is contained in:
parent
27f792d569
commit
695373001b
|
|
@ -8,8 +8,6 @@ import {
|
|||
import React from "react"
|
||||
import { ManifestLink } from "@remix-pwa/sw"
|
||||
|
||||
import manifest from "./site.webmanifest"
|
||||
|
||||
export function Layout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
|
|
@ -17,7 +15,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
|||
<meta charSet="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<Meta />
|
||||
<ManifestLink manifestUrl={manifest} />
|
||||
<ManifestLink />
|
||||
<Links />
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
import type { WebAppManifest } from "@remix-pwa/dev"
|
||||
import { json } from "@remix-run/node"
|
||||
|
||||
export const loader = () => {
|
||||
return json(
|
||||
{
|
||||
name: "Tack Up Now!",
|
||||
short_name: "Tack Up Now!",
|
||||
icons: [
|
||||
{
|
||||
src: "./images/android-chrome-192x192.png",
|
||||
sizes: "192x192",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "./images/android-chrome-512x512.png",
|
||||
sizes: "512x512",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
theme_color: "#ffffff",
|
||||
background_color: "#ffffff",
|
||||
display: "standalone",
|
||||
description: "Notifications for equinelive.com",
|
||||
start_url: "/",
|
||||
id: "tackupnow.com",
|
||||
} as WebAppManifest,
|
||||
{
|
||||
headers: {
|
||||
"Cache-Control": "public, max-age=600",
|
||||
"Content-Type": "application/manifest+json",
|
||||
},
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
"name": "Tack Up Now!",
|
||||
"short_name": "Tack Up Now!",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone",
|
||||
"description": "Notifications for equinelive.com",
|
||||
"start_url": "/",
|
||||
"id": "tackupnow.com"
|
||||
}
|
||||
Loading…
Reference in New Issue