adding PWA stuff

This commit is contained in:
zmeyer44 2023-10-14 22:25:04 -04:00
parent edb8ea7c9f
commit abf182301e
12 changed files with 35 additions and 0 deletions

BIN
app/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
app/icon-192-maskable.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
app/icon-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
app/icon-512-maskable.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
app/icon-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -7,6 +7,7 @@ import { Avatar, AvatarImage, AvatarFallback } from "@radix-ui/react-avatar";
import { useRouter } from "next/navigation";
import { formatDate } from "@/lib/utils/dates";
import Actions from "./Actions";
import Logo from "@/assets/Logo";
export default function ArticlePage() {
const Viewer = useMemo(
@ -104,6 +105,9 @@ export default function ArticlePage() {
<Viewer content={markdown} />
</article>
</div>
<div className="center fixed inset-0 bg-red-400">
<Logo className="fill-gradie h-[200px] w-[200px] bg-gradient-to-r from-purple-400 to-pink-600 bg-clip-text text-transparent" />
</div>
</div>
);
}

BIN
public/icon-192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
public/icon-256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
public/icon-384x384.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
public/icon-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -0,0 +1,31 @@
{
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone",
"scope": "/",
"start_url": "/app",
"name": "Flockstr",
"short_name": "Flockstr",
"icons": [
{
"src": "/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-256x256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}