change to private tutor
Browse files- static/icons/icon-192.png +2 -2
- static/icons/icon-512.png +2 -2
- static/icons/icon-maskable-512.png +2 -2
- static/index.html +3 -3
- static/{logo-math.svg โ logo.svg} +18 -20
- static/manifest.webmanifest +5 -4
- tests/test_math_skills.py +2 -2
static/icons/icon-192.png
CHANGED
|
|
Git LFS Details
|
|
|
Git LFS Details
|
static/icons/icon-512.png
CHANGED
|
|
Git LFS Details
|
|
|
Git LFS Details
|
static/icons/icon-maskable-512.png
CHANGED
|
|
Git LFS Details
|
|
|
Git LFS Details
|
static/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
| 6 |
<meta name="theme-color" content="#000000">
|
| 7 |
-
<title>ื
|
| 8 |
<link rel="manifest" href="/manifest.webmanifest">
|
| 9 |
<link rel="icon" href="/static/icons/icon-192.png">
|
| 10 |
<style>
|
|
@@ -18,8 +18,8 @@
|
|
| 18 |
</head>
|
| 19 |
<body>
|
| 20 |
<main id="boot">
|
| 21 |
-
<img src="/static/logo
|
| 22 |
-
<p id="bootState">ืืืขื ืื ืืช ืืกืืื
|
| 23 |
<button id="loginBtn" hidden>ืื ืืกื ืขื Google</button>
|
| 24 |
</main>
|
| 25 |
<script>window.MATHLY={supabaseUrl:"__SUPABASE_URL__",supabaseKey:"__SUPABASE_KEY__",token:"",email:"",classes:[],permissions:[]};</script>
|
|
|
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
| 6 |
<meta name="theme-color" content="#000000">
|
| 7 |
+
<title>ืืืืืื ืืืืฃ</title>
|
| 8 |
<link rel="manifest" href="/manifest.webmanifest">
|
| 9 |
<link rel="icon" href="/static/icons/icon-192.png">
|
| 10 |
<style>
|
|
|
|
| 18 |
</head>
|
| 19 |
<body>
|
| 20 |
<main id="boot">
|
| 21 |
+
<img src="/static/logo.svg" alt="ืืืืืื ืืืืฃ" width="489" height="225">
|
| 22 |
+
<p id="bootState">ืืืขื ืื ืืช ืืืกืืื ืฉืืโฆ</p>
|
| 23 |
<button id="loginBtn" hidden>ืื ืืกื ืขื Google</button>
|
| 24 |
</main>
|
| 25 |
<script>window.MATHLY={supabaseUrl:"__SUPABASE_URL__",supabaseKey:"__SUPABASE_KEY__",token:"",email:"",classes:[],permissions:[]};</script>
|
static/{logo-math.svg โ logo.svg}
RENAMED
|
File without changes
|
static/manifest.webmanifest
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"id": "/",
|
| 3 |
-
"name": "ื
|
| 4 |
-
"short_name": "ื
|
| 5 |
-
"description": "ืชืจืืื ื
|
| 6 |
"lang": "he",
|
| 7 |
"dir": "rtl",
|
| 8 |
"start_url": "/",
|
|
@@ -12,6 +12,7 @@
|
|
| 12 |
"theme_color": "#000000",
|
| 13 |
"icons": [
|
| 14 |
{"src": "/static/icons/icon-192.png", "sizes": "192x192", "type": "image/png"},
|
| 15 |
-
{"src": "/static/icons/icon-512.png", "sizes": "512x512", "type": "image/png"}
|
|
|
|
| 16 |
]
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"id": "/",
|
| 3 |
+
"name": "ืืืืืื ืืืืฃ",
|
| 4 |
+
"short_name": "ืืืืืื ืืืืฃ",
|
| 5 |
+
"description": "ืชืจืืื ืืืืืื ืืืืชื ืืณ",
|
| 6 |
"lang": "he",
|
| 7 |
"dir": "rtl",
|
| 8 |
"start_url": "/",
|
|
|
|
| 12 |
"theme_color": "#000000",
|
| 13 |
"icons": [
|
| 14 |
{"src": "/static/icons/icon-192.png", "sizes": "192x192", "type": "image/png"},
|
| 15 |
+
{"src": "/static/icons/icon-512.png", "sizes": "512x512", "type": "image/png"},
|
| 16 |
+
{"src": "/static/icons/icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable"}
|
| 17 |
]
|
| 18 |
}
|
tests/test_math_skills.py
CHANGED
|
@@ -64,8 +64,8 @@ def test_a_broken_graph_is_named():
|
|
| 64 |
def test_math_is_the_only_page_and_api():
|
| 65 |
async def check():
|
| 66 |
async with httpx.AsyncClient(transport=httpx.ASGITransport(app=create_app()), base_url="http://test") as client:
|
| 67 |
-
assert "ื
|
| 68 |
-
assert "ื
|
| 69 |
assert (await client.get("/api/math/skills")).json() == practice_graph(False)
|
| 70 |
assert (await client.get("/api/health")).json() == {"ok": True, "app": "mathly"}
|
| 71 |
asyncio.run(check())
|
|
|
|
| 64 |
def test_math_is_the_only_page_and_api():
|
| 65 |
async def check():
|
| 66 |
async with httpx.AsyncClient(transport=httpx.ASGITransport(app=create_app()), base_url="http://test") as client:
|
| 67 |
+
assert "ืืืืืื ืืืืฃ" in (await client.get("/")).text
|
| 68 |
+
assert "ืืืืืื ืืืืฃ" in (await client.get("/math")).text
|
| 69 |
assert (await client.get("/api/math/skills")).json() == practice_graph(False)
|
| 70 |
assert (await client.get("/api/health")).json() == {"ok": True, "app": "mathly"}
|
| 71 |
asyncio.run(check())
|