File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import withPWA from 'next-pwa' ;
2-
31const nextConfig = {
42 reactStrictMode : true ,
53 eslint : {
64 ignoreDuringBuilds : false ,
75 } ,
8- basePath : '/gecian_hub' ,
9- assetPrefix : '/gecian_hub/' ,
10- } ;
116
12- export default withPWA ( {
13- dest : 'public' ,
14- register : true ,
15- skipWaiting : true ,
16- disable : process . env . NODE_ENV === 'development' ,
17- cacheStartUrl : true ,
18- dynamicStartUrl : false ,
19- } ) ( nextConfig ) ;
7+ } ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import type { Metadata } from 'next' ;
21import BottomNavBar from '@/components/bottemNavbar' ;
32import TopNavBar from '@/components/topNavbar' ;
43import { Geist , Geist_Mono } from 'next/font/google' ;
@@ -14,10 +13,7 @@ const geistMono = Geist_Mono({
1413 subsets : [ 'latin' ] ,
1514} ) ;
1615
17- export const metadata : Metadata = {
18- title : 'Student App' ,
19- description : 'An App For GEC Students' ,
20- } ;
16+
2117
2218export default function RootLayout ( {
2319 children,
@@ -27,7 +23,7 @@ export default function RootLayout({
2723 return (
2824 < html lang = "en" >
2925 < head >
30- < link rel = "manifest" href = "/manifest.json " />
26+ { /* <link rel="manifest" href="/manifest.ts " /> */ }
3127 </ head >
3228 < body
3329 className = { `${ geistSans . variable } ${ geistMono . variable } antialiased` }
Original file line number Diff line number Diff line change 1+ // app/manifest.ts
2+ import type { MetadataRoute } from 'next' ;
3+
4+ export default function manifest ( ) : MetadataRoute . Manifest {
5+ return {
6+ name : 'Gecian Hub' ,
7+ short_name : 'Gecian' ,
8+ description : 'An app for GEC Palakkad students' ,
9+ start_url : '/' ,
10+ display : 'standalone' ,
11+ background_color : '#ffffff' ,
12+ theme_color : '#000000' ,
13+ icons : [
14+ {
15+ src : '@/public/icons/INVENTO.jpg' ,
16+ sizes : '192x192' ,
17+ type : 'image/jpeg' ,
18+ } ,
19+ {
20+ src : '@/public/icons/INVENTO.jpg' ,
21+ sizes : '512x512' ,
22+ type : 'image/jpeg' ,
23+ } ,
24+ ] ,
25+ } ;
26+ }
You can’t perform that action at this time.
0 commit comments