Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# [Title]

## Description

[Please write a description of the bug. Give as much info as possible.]

### Steps to reproduce

1.
2.

### Screenshot

[if any]
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# [Title]

## Idea

[Give a description of the idea. Be as clear and concise as possible. The clearer your description, the higher the chance it'll be picked up.]
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ next-env.d.ts
.vscode

public/images/users
!public/images/users/unnamed.jpeg
!public/images/users/unnamed.jpg

# These are generated on build-time
sw*
workbox-*
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ $ bun dev
Open http://localhost:3000 with your browser to see the result.

## Contributing

Contibutions are welcome! If you want to add a cool feature or do some kind of improvement, feel free to open an [issue](https://github.com/brainstudnl/blaco/issues/new/choose) or [pull request](https://github.com/brainstudnl/blaco/compare)!
Binary file modified bun.lockb
Binary file not shown.
9 changes: 8 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import createMDX from '@next/mdx';
import nextPwa from 'next-pwa';

/** @type {import('next').NextConfig} */
const nextConfig = {
Expand All @@ -8,4 +9,10 @@ const nextConfig = {

const withMDX = createMDX();

export default withMDX(nextConfig);
const withPWA = nextPwa({
dest: 'public',
disable: process.env.NODE_ENV === 'development',
register: true,
});

export default withPWA(withMDX(nextConfig));
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"classnames": "2.5.1",
"eslint-plugin-unused-imports": "3.2.0",
"next": "14.2.3",
"next-pwa": "5.6.0",
"primeicons": "7.0.0",
"primereact": "10.6.6",
"prisma": "5.15.0",
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
9 changes: 9 additions & 0 deletions public/images/icons/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/images/icons/mstile-150x150.png"/>
<TileColor>#FF6E32</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added public/images/icons/icon-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/icons/icon-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/icons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Blaco",
"short_name": "Blaco",
"theme_color": "#121212",
"background_color": "#121212",
"start_url": "/",
"display": "fullscreen",
"orientation": "portrait",
"icons": [
{
"src": "/images/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/images/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
11 changes: 11 additions & 0 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ export default function Document() {
rel="stylesheet"
href="/themes/lara-dark-purple/theme.css"
/>
<meta name="application-name" content="Blaco" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="PWA App" />
<meta name="description" content="Best PWA App in the world" />
<meta name="format-detection" content="telephone=no" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="msapplication-config" content="/icons/browserconfig.xml" />
<meta name="msapplication-TileColor" content="#FF6E32" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="theme-color" content="#121212" />
</Head>
<body>
<Main />
Expand Down