Rename application to Skori
Build and Publish Docker Image / build-and-push-image (push) Successful in 1m13s
Build and Publish Docker Image / build-and-push-image (push) Successful in 1m13s
This commit is contained in:
+5
-2
@@ -3,11 +3,14 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||||
|
/>
|
||||||
<meta name="theme-color" content="#ffffff" />
|
<meta name="theme-color" content="#ffffff" />
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<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-status-bar-style" content="default" />
|
||||||
<title>Board Score</title>
|
<title>Skori</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "board-score",
|
"name": "skori",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@ export default function Home() {
|
|||||||
<header className="flex flex-col items-center justify-center pt-2 pb-6">
|
<header className="flex flex-col items-center justify-center pt-2 pb-6">
|
||||||
<PlanetLogo />
|
<PlanetLogo />
|
||||||
<h1 className="text-4xl font-black tracking-tighter text-foreground drop-shadow-sm">
|
<h1 className="text-4xl font-black tracking-tighter text-foreground drop-shadow-sm">
|
||||||
Board Score
|
Skori
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default function Settings() {
|
|||||||
const url = URL.createObjectURL(blob);
|
const url = URL.createObjectURL(blob);
|
||||||
const a = document.createElement("a");
|
const a = document.createElement("a");
|
||||||
a.href = url;
|
a.href = url;
|
||||||
a.download = `boardscore-backup-${new Date().toISOString().split("T")[0]}.json`;
|
a.download = `skori-backup-${new Date().toISOString().split("T")[0]}.json`;
|
||||||
a.click();
|
a.click();
|
||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -77,7 +77,7 @@ export default function Settings() {
|
|||||||
const url = URL.createObjectURL(blob);
|
const url = URL.createObjectURL(blob);
|
||||||
const a = document.createElement("a");
|
const a = document.createElement("a");
|
||||||
a.href = url;
|
a.href = url;
|
||||||
a.download = `boardscore-historique-${new Date().toISOString().split("T")[0]}.csv`;
|
a.download = `skori-historique-${new Date().toISOString().split("T")[0]}.csv`;
|
||||||
a.click();
|
a.click();
|
||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -196,7 +196,7 @@ export default function Settings() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div className="pt-12 pb-6 text-center text-sm font-bold text-muted-foreground/60">
|
<div className="pt-12 pb-6 text-center text-sm font-bold text-muted-foreground/60">
|
||||||
Board Score v1.0.0
|
Skori v1.0.0
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
+28
-27
@@ -1,45 +1,46 @@
|
|||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from "vite";
|
||||||
import react from '@vitejs/plugin-react';
|
import react from "@vitejs/plugin-react";
|
||||||
import { VitePWA } from 'vite-plugin-pwa';
|
import { VitePWA } from "vite-plugin-pwa";
|
||||||
import path from 'path';
|
import path from "path";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: 'autoUpdate',
|
registerType: "autoUpdate",
|
||||||
includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'mask-icon.svg'],
|
includeAssets: ["favicon.ico", "apple-touch-icon.png", "mask-icon.svg"],
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'Board Score',
|
name: "Skori",
|
||||||
short_name: 'BoardScore',
|
short_name: "Skori",
|
||||||
description: 'Application Web de gestion des scores pour jeux de société',
|
description:
|
||||||
theme_color: '#ffffff',
|
"Application Web de gestion des scores pour jeux de société",
|
||||||
background_color: '#ffffff',
|
theme_color: "#ffffff",
|
||||||
display: 'standalone',
|
background_color: "#ffffff",
|
||||||
|
display: "standalone",
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
src: 'pwa-192x192.png',
|
src: "pwa-192x192.png",
|
||||||
sizes: '192x192',
|
sizes: "192x192",
|
||||||
type: 'image/png'
|
type: "image/png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'pwa-512x512.png',
|
src: "pwa-512x512.png",
|
||||||
sizes: '512x512',
|
sizes: "512x512",
|
||||||
type: 'image/png'
|
type: "image/png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'pwa-512x512.png',
|
src: "pwa-512x512.png",
|
||||||
sizes: '512x512',
|
sizes: "512x512",
|
||||||
type: 'image/png',
|
type: "image/png",
|
||||||
purpose: 'any maskable'
|
purpose: "any maskable",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
})
|
}),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': path.resolve(__dirname, './src'),
|
"@": path.resolve(__dirname, "./src"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user