Skip to content

Commit

Permalink
PWA functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
HUSAM-07 committed Sep 19, 2024
1 parent b1f0c9c commit 7568ac1
Show file tree
Hide file tree
Showing 11 changed files with 4,139 additions and 163 deletions.
17 changes: 17 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "UniDash",
"short_name": "UniDash",
"theme_color": "#000000",
"background_color": "#000000",
"display": "standalone",
"scope": "/",
"start_url": "/",
"description": "Access all your university tools and resources in one place",
"icons": [
{
"src": "/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const withPWA = require('next-pwa')({
dest: 'public',
disable: process.env.NODE_ENV === 'development'
})

module.exports = withPWA({
// Your existing Next.js config
})
Loading

0 comments on commit 7568ac1

Please sign in to comment.