add pwa support for stack builder

This commit is contained in:
Aman Varshney
2025-05-18 11:13:56 +05:30
parent f1db2a4cb3
commit 0824982516
10 changed files with 56 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
export const dynamic = "force-static";
import { RootProvider } from "fumadocs-ui/provider";
import type { Metadata } from "next";
import { Poppins } from "next/font/google";

View File

@@ -0,0 +1,27 @@
export const dynamic = "force-static";
import type { MetadataRoute } from "next";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "Better T Stack",
short_name: "Better T Stack",
description:
"A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
start_url: "/new",
display: "standalone",
background_color: "#ffffff",
theme_color: "#000000",
icons: [
{
src: "/favicon/web-app-manifest-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "/favicon/web-app-manifest-512x512.png",
sizes: "512x512",
type: "image/png",
},
],
};
}

BIN
apps/web/src/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB