fix : rename to chesskit

This commit is contained in:
GuillaumeSD
2025-04-19 20:11:43 +02:00
parent 1e568cb6ea
commit 21620cc46d
12 changed files with 20 additions and 89 deletions

View File

@@ -3,11 +3,11 @@
<img width="120" height="120" src="https://github.com/GuillaumeSD/Freechess/blob/main/public/android-chrome-192x192.png" alt="Logo">
</a>
<h3 align="center">Freechess</h3>
<h3 align="center">Chesskit</h3>
<p align="center">
The Ultimate Chess Web App
<br />
<a href="https://freechess.web.app/" target="_blank" rel="noopener noreferrer"><strong>freechess.web.app</strong></a>
<a href="https://chesskit.org/" target="_blank" rel="noopener noreferrer"><strong>chesskit.org</strong></a>
<br />
<a href="https://discord.com/invite/Yr99abAcUr" target="_blank" rel="noopener noreferrer">Discord Server</a>
·
@@ -16,7 +16,7 @@
</div>
<br />
Freechess is an open-source chess web app to play, view and analyze your chess games for free on any device with Stockfish !
Chesskit is an open-source chess web app to play, view and analyze your chess games for free on any device with Stockfish !
## Mission

View File

@@ -1,6 +1,6 @@
{
"app": "npx tsx cdk/app.ts",
"profile": "freechess",
"profile": "chesskit",
"watch": {
"include": ["**"],
"exclude": [

View File

@@ -1,68 +0,0 @@
{
"hosting": {
"site": "freechess",
"public": "out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"cleanUrls": true,
"trailingSlash": false,
"predeploy": ["npm run lint", "npm run build"],
"headers": [
{
"source": "/",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "require-corp"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
},
{
"source": "/engines/**",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "require-corp"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/play",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "require-corp"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
},
{
"source": "/database",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "require-corp"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
}
]
}
}

4
package-lock.json generated
View File

@@ -1,11 +1,11 @@
{
"name": "freechess",
"name": "chesskit",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "freechess",
"name": "chesskit",
"version": "0.1.0",
"license": "GPL-3.0-only",
"dependencies": {

View File

@@ -1,5 +1,5 @@
{
"name": "freechess",
"name": "chesskit",
"version": "0.1.0",
"private": true,
"license": "GPL-3.0-only",
@@ -8,8 +8,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint && tsc --noEmit",
"deploy": "cdk deploy",
"deploy:firebase": "firebase deploy --project=freechessproject --only hosting"
"deploy": "npm run lint && npm run build && cdk deploy"
},
"dependencies": {
"@emotion/react": "^11.14.0",

View File

@@ -1,6 +1,6 @@
{
"name": "FreeChess",
"short_name": "FreeChess",
"name": "Chesskit",
"short_name": "Chesskit",
"icons": [
{
"src": "/android-chrome-192x192.png",

View File

@@ -56,8 +56,8 @@ export const setGameHeaders = (
game: Chess,
params: { whiteName?: string; blackName?: string; resigned?: Color } = {}
): Chess => {
game.header("Event", "Freechess Game");
game.header("Site", "Freechess");
game.header("Event", "Chesskit Game");
game.header("Site", "Chesskit");
game.header(
"Date",
new Date().toISOString().split("T")[0].replaceAll("-", ".")

View File

@@ -29,11 +29,11 @@ export default function Document() {
{/* Balises OG (Facebook & Twitter) */}
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Freechess.web.app" />
<meta property="og:url" content="https://freechess.web.app/" />
<meta property="og:site_name" content="Chesskit.org" />
<meta property="og:url" content="https://chesskit.org/" />
<meta
property="og:image"
content="https://freechess.web.app/android-chrome-512x512.png"
content="https://chesskit.org/android-chrome-512x512.png"
/>
<meta
property="og:description"

View File

@@ -178,7 +178,7 @@ export default function GameDatabase() {
gap={4}
marginTop={6}
>
<PageTitle title="Freechess Game Database" />
<PageTitle title="Chesskit Game Database" />
<Grid container justifyContent="center" alignItems="center" size={12}>
<LoadGameButton />

View File

@@ -61,7 +61,7 @@ export default function GameReview() {
return (
<Grid container gap={4} justifyContent="space-evenly" alignItems="start">
<PageTitle title="Freechess Game Review" />
<PageTitle title="Chesskit Game Review" />
<Board />

View File

@@ -12,7 +12,7 @@ export default function Play() {
return (
<Grid container gap={4} justifyContent="space-evenly" alignItems="start">
<PageTitle title="Freechess Play vs Stockfish" />
<PageTitle title="Chesskit Play vs Stockfish" />
<Board />

View File

@@ -43,7 +43,7 @@ export default function NavBar({ darkMode, switchDarkMode }: Props) {
</IconButton>
<Image
src="/favicon-32x32.png"
alt="FreeChess logo"
alt="Chesskit logo"
width={32}
height={32}
/>
@@ -57,7 +57,7 @@ export default function NavBar({ darkMode, switchDarkMode }: Props) {
fontSize: { xs: "1rem", sm: "1.25rem" },
}}
>
Freechess
Chesskit
</Typography>
</NavLink>
<IconButton