7 Commits

13 changed files with 53 additions and 9 deletions

BIN
.DS_Store vendored

Binary file not shown.

2
.gitignore vendored
View File

@@ -1,3 +1,3 @@
.gpg/
node_modules
.DS_Store

View File

@@ -2,6 +2,8 @@
## Description
![Nonograms Application Screenshot](public/screenshot.png)
Nonograms is a modern, fast, and accessible logic puzzle game (also known as Picross or Griddlers). Solve pixel-art puzzles by marking cells according to numeric clues for rows and columns. The app features:
- Clean UX with keyboard and touch support
- Multiple languages and PWA support (installable on desktop and mobile)

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/nonograms.svg" />
<link rel="apple-touch-icon" href="/nonograms.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="mask-icon" href="/nonograms.svg" color="#00f2fe" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Nonograms Pro - Vue 3 SOLID</title>

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "vue-nonograms-solid",
"version": "1.12.0",
"version": "1.12.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vue-nonograms-solid",
"version": "1.12.0",
"version": "1.12.3",
"dependencies": {
"fireworks-js": "^2.10.8",
"flag-icons": "^7.5.0",

View File

@@ -1,6 +1,6 @@
{
"name": "vue-nonograms-solid",
"version": "1.12.0",
"version": "1.12.3",
"homepage": "https://nonograms.7u.pl/",
"type": "module",
"scripts": {

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
public/pwa-192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
public/pwa-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
public/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

42
scripts/generate-icons.js Normal file
View File

@@ -0,0 +1,42 @@
import sharp from 'sharp';
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const INPUT_FILE = path.join(__dirname, '../public/nonograms.svg');
const OUTPUT_DIR = path.join(__dirname, '../public');
async function generateIcons() {
console.log('Generating icons from ' + INPUT_FILE);
try {
// 192x192
await sharp(INPUT_FILE)
.resize(192, 192)
.png()
.toFile(path.join(OUTPUT_DIR, 'pwa-192x192.png'));
console.log('Created pwa-192x192.png');
// 512x512
await sharp(INPUT_FILE)
.resize(512, 512)
.png()
.toFile(path.join(OUTPUT_DIR, 'pwa-512x512.png'));
console.log('Created pwa-512x512.png');
// Apple Touch Icon (180x180)
await sharp(INPUT_FILE)
.resize(180, 180)
.png()
.toFile(path.join(OUTPUT_DIR, 'apple-touch-icon.png'));
console.log('Created apple-touch-icon.png');
} catch (err) {
console.error('Error generating icons:', err);
process.exit(1);
}
}
generateIcons();

BIN
src/assets/.DS_Store vendored

Binary file not shown.

View File

@@ -31,14 +31,14 @@ export default defineConfig({
theme_color: '#00f2fe',
icons: [
{
src: '/pwa-192x192.svg',
src: '/pwa-192x192.png',
sizes: '192x192',
type: 'image/svg+xml'
type: 'image/png'
},
{
src: '/pwa-512x512.svg',
src: '/pwa-512x512.png',
sizes: '512x512',
type: 'image/svg+xml'
type: 'image/png'
}
]
}