-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI Enhancement & Contract Update #67
Changes from 19 commits
1937b11
3bc845b
a689b28
7261db0
3b54f92
8be5e0a
d6113bc
be73a09
41443df
0318132
22f9e99
f763c1b
97bec70
d1d473e
58a31dd
689d406
3ffaa2d
a104c62
9a9f59e
f767d2e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,7 +2,7 @@ | |||||||||||||||||
<html lang="en"> | ||||||||||||||||||
<head> | ||||||||||||||||||
<meta charset="UTF-8" /> | ||||||||||||||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||||||||||||||
<title>zKube</title> | ||||||||||||||||||
<meta | ||||||||||||||||||
name="description" | ||||||||||||||||||
content="Play this fun puzzle game and get rewarded!" | ||||||||||||||||||
|
@@ -22,7 +22,36 @@ | |||||||||||||||||
content="https://raw.githubusercontent.com/z-korp/zkube/d27a55867176c0e43426fef45e4194a698503ef0/client/public/assets/logo.png" | ||||||||||||||||||
/> | ||||||||||||||||||
<link rel="icon" type="image/svg+xml" href="favicon.ico" /> | ||||||||||||||||||
<title>zKube</title> | ||||||||||||||||||
|
||||||||||||||||||
<!-- For iOS --> | ||||||||||||||||||
<meta name="apple-mobile-web-app-capable" content="yes" /> | ||||||||||||||||||
<meta | ||||||||||||||||||
name="apple-mobile-web-app-status-bar-style" | ||||||||||||||||||
content="black-translucent" | ||||||||||||||||||
/> | ||||||||||||||||||
<link | ||||||||||||||||||
rel="apple-touch-icon" | ||||||||||||||||||
sizes="152x152" | ||||||||||||||||||
href="/assets/apple-icon-152x152.png" | ||||||||||||||||||
/> | ||||||||||||||||||
<link | ||||||||||||||||||
rel="apple-touch-icon" | ||||||||||||||||||
sizes="180x180" | ||||||||||||||||||
href="/assets/apple-icon-180x180.png" | ||||||||||||||||||
/> | ||||||||||||||||||
<link | ||||||||||||||||||
rel="apple-touch-icon" | ||||||||||||||||||
sizes="167x167" | ||||||||||||||||||
href="/assets/apple-icon-167x167.png" | ||||||||||||||||||
/> | ||||||||||||||||||
|
||||||||||||||||||
<!-- For Android --> | ||||||||||||||||||
<meta name="mobile-web-app-capable" content="yes" /> | ||||||||||||||||||
<meta name="theme-color" content="#080414" /> | ||||||||||||||||||
<meta | ||||||||||||||||||
name="viewport" | ||||||||||||||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" | ||||||||||||||||||
/> | ||||||||||||||||||
Comment on lines
+51
to
+54
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Accessibility concern: Disabling zoom can impact users with visual impairments The viewport meta tag completely disables zooming with Consider this more accessible configuration: - content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
+ content="width=device-width, initial-scale=1.0, minimum-scale=1.0, viewport-fit=cover" π Committable suggestion
Suggested change
|
||||||||||||||||||
</head> | ||||||||||||||||||
<body> | ||||||||||||||||||
<div id="root"></div> | ||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π‘ Codebase verification
π οΈ Refactor suggestion
Add
manifest.json
and required Android icons to support PWAmanifest.json
is missing in the repository.android-icon-192x192.png
,android-icon-512x512.png
) are missing.π Analysis chain
Add Web App Manifest for complete PWA support
The Android PWA configuration is incomplete without a web app manifest file. This is essential for proper PWA installation and behavior.
Add the following to the head section:
<!-- For Android --> <meta name="mobile-web-app-capable" content="yes" /> <meta name="theme-color" content="#080414" /> +<link rel="manifest" href="/manifest.json" />
Create a
manifest.json
file in the public directory with:π Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 732
Script:
Length of output: 78