fix : rename to chesskit
This commit is contained in:
@@ -3,11 +3,11 @@
|
|||||||
<img width="120" height="120" src="https://github.com/GuillaumeSD/Freechess/blob/main/public/android-chrome-192x192.png" alt="Logo">
|
<img width="120" height="120" src="https://github.com/GuillaumeSD/Freechess/blob/main/public/android-chrome-192x192.png" alt="Logo">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<h3 align="center">Freechess</h3>
|
<h3 align="center">Chesskit</h3>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
The Ultimate Chess Web App
|
The Ultimate Chess Web App
|
||||||
<br />
|
<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 />
|
<br />
|
||||||
<a href="https://discord.com/invite/Yr99abAcUr" target="_blank" rel="noopener noreferrer">Discord Server</a>
|
<a href="https://discord.com/invite/Yr99abAcUr" target="_blank" rel="noopener noreferrer">Discord Server</a>
|
||||||
·
|
·
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<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
|
## Mission
|
||||||
|
|
||||||
|
|||||||
2
cdk.json
2
cdk.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"app": "npx tsx cdk/app.ts",
|
"app": "npx tsx cdk/app.ts",
|
||||||
"profile": "freechess",
|
"profile": "chesskit",
|
||||||
"watch": {
|
"watch": {
|
||||||
"include": ["**"],
|
"include": ["**"],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|||||||
@@ -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
4
package-lock.json
generated
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "freechess",
|
"name": "chesskit",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "freechess",
|
"name": "chesskit",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "freechess",
|
"name": "chesskit",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
@@ -8,8 +8,7 @@
|
|||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint && tsc --noEmit",
|
"lint": "next lint && tsc --noEmit",
|
||||||
"deploy": "cdk deploy",
|
"deploy": "npm run lint && npm run build && cdk deploy"
|
||||||
"deploy:firebase": "firebase deploy --project=freechessproject --only hosting"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "FreeChess",
|
"name": "Chesskit",
|
||||||
"short_name": "FreeChess",
|
"short_name": "Chesskit",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/android-chrome-192x192.png",
|
"src": "/android-chrome-192x192.png",
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ export const setGameHeaders = (
|
|||||||
game: Chess,
|
game: Chess,
|
||||||
params: { whiteName?: string; blackName?: string; resigned?: Color } = {}
|
params: { whiteName?: string; blackName?: string; resigned?: Color } = {}
|
||||||
): Chess => {
|
): Chess => {
|
||||||
game.header("Event", "Freechess Game");
|
game.header("Event", "Chesskit Game");
|
||||||
game.header("Site", "Freechess");
|
game.header("Site", "Chesskit");
|
||||||
game.header(
|
game.header(
|
||||||
"Date",
|
"Date",
|
||||||
new Date().toISOString().split("T")[0].replaceAll("-", ".")
|
new Date().toISOString().split("T")[0].replaceAll("-", ".")
|
||||||
|
|||||||
@@ -29,11 +29,11 @@ export default function Document() {
|
|||||||
|
|
||||||
{/* Balises OG (Facebook & Twitter) */}
|
{/* Balises OG (Facebook & Twitter) */}
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:site_name" content="Freechess.web.app" />
|
<meta property="og:site_name" content="Chesskit.org" />
|
||||||
<meta property="og:url" content="https://freechess.web.app/" />
|
<meta property="og:url" content="https://chesskit.org/" />
|
||||||
<meta
|
<meta
|
||||||
property="og:image"
|
property="og:image"
|
||||||
content="https://freechess.web.app/android-chrome-512x512.png"
|
content="https://chesskit.org/android-chrome-512x512.png"
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:description"
|
property="og:description"
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ export default function GameDatabase() {
|
|||||||
gap={4}
|
gap={4}
|
||||||
marginTop={6}
|
marginTop={6}
|
||||||
>
|
>
|
||||||
<PageTitle title="Freechess Game Database" />
|
<PageTitle title="Chesskit Game Database" />
|
||||||
|
|
||||||
<Grid container justifyContent="center" alignItems="center" size={12}>
|
<Grid container justifyContent="center" alignItems="center" size={12}>
|
||||||
<LoadGameButton />
|
<LoadGameButton />
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export default function GameReview() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid container gap={4} justifyContent="space-evenly" alignItems="start">
|
<Grid container gap={4} justifyContent="space-evenly" alignItems="start">
|
||||||
<PageTitle title="Freechess Game Review" />
|
<PageTitle title="Chesskit Game Review" />
|
||||||
|
|
||||||
<Board />
|
<Board />
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export default function Play() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid container gap={4} justifyContent="space-evenly" alignItems="start">
|
<Grid container gap={4} justifyContent="space-evenly" alignItems="start">
|
||||||
<PageTitle title="Freechess Play vs Stockfish" />
|
<PageTitle title="Chesskit Play vs Stockfish" />
|
||||||
|
|
||||||
<Board />
|
<Board />
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export default function NavBar({ darkMode, switchDarkMode }: Props) {
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
<Image
|
<Image
|
||||||
src="/favicon-32x32.png"
|
src="/favicon-32x32.png"
|
||||||
alt="FreeChess logo"
|
alt="Chesskit logo"
|
||||||
width={32}
|
width={32}
|
||||||
height={32}
|
height={32}
|
||||||
/>
|
/>
|
||||||
@@ -57,7 +57,7 @@ export default function NavBar({ darkMode, switchDarkMode }: Props) {
|
|||||||
fontSize: { xs: "1rem", sm: "1.25rem" },
|
fontSize: { xs: "1rem", sm: "1.25rem" },
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Freechess
|
Chesskit
|
||||||
</Typography>
|
</Typography>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|||||||
Reference in New Issue
Block a user