Skip to content

Commit

Permalink
Installable and works offline
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Sofer authored and Dean Sofer committed May 20, 2024
1 parent 5d73bcb commit f7f0405
Show file tree
Hide file tree
Showing 18 changed files with 2,171 additions and 941 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ node_modules/
.parcel-cache
dist/


### Vite ###
# Logs
logs
Expand All @@ -82,6 +83,7 @@ lerna-debug.log*
node_modules
dist
dist-ssr
dev-dist
*.local

# Editor directories and files
Expand Down
11 changes: 8 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
<meta name="viewport" content="width=device-width,user-scalable=no">
<title>Backgammon</title>
<meta name="description" content="Open Source Backgammon with auto-translation to enable meaningful conversations across generations">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">

<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ed7560">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="viewport" content="width=device-width,user-scalable=no">
<script id="DragDropTouch" src="https://bernardo-castilho.github.io/DragDropTouch/DragDropTouch.js"></script>
</head>

Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "PeaceInTheMiddleEast",
"name": "Backgammon",
"description": "Open Source Backgammon with auto-translation to enable meaningful conversations across generations",
"version": "1.0.0",
"private": "true",
"type": "module",
Expand All @@ -25,15 +26,16 @@
"devDependencies": {
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"parcel": "^2.12.0",
"process": "^0.11.10",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"parcel": "^2.12.0",
"process": "^0.11.10",
"typescript": "^5.2.2",
"vite": "^5.2.11"
"vite": "^5.2.11",
"vite-plugin-pwa": "^0.20.0"
}
}
Binary file added public/android-chrome-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/android-chrome-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/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/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="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added public/favicon-16x16.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/favicon-32x32.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/favicon.ico
Binary file not shown.
199 changes: 0 additions & 199 deletions public/game.html

This file was deleted.

Binary file removed public/images/loader.gif
Binary file not shown.
89 changes: 0 additions & 89 deletions public/index.html

This file was deleted.

Binary file added public/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.
Loading

0 comments on commit f7f0405

Please sign in to comment.