diff --git a/index.html b/index.html index 4fa439e..fe3c2fa 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ /> - + The Sign Link diff --git a/public/android/android-launchericon-144-144.png b/public/android/android-launchericon-144-144.png new file mode 100644 index 0000000..28b2311 Binary files /dev/null and b/public/android/android-launchericon-144-144.png differ diff --git a/public/android/android-launchericon-192-192.png b/public/android/android-launchericon-192-192.png new file mode 100644 index 0000000..c178d34 Binary files /dev/null and b/public/android/android-launchericon-192-192.png differ diff --git a/public/android/android-launchericon-48-48.png b/public/android/android-launchericon-48-48.png new file mode 100644 index 0000000..771e5fa Binary files /dev/null and b/public/android/android-launchericon-48-48.png differ diff --git a/public/android/android-launchericon-512-512.png b/public/android/android-launchericon-512-512.png new file mode 100644 index 0000000..eb3dbcc Binary files /dev/null and b/public/android/android-launchericon-512-512.png differ diff --git a/public/android/android-launchericon-72-72.png b/public/android/android-launchericon-72-72.png new file mode 100644 index 0000000..533437d Binary files /dev/null and b/public/android/android-launchericon-72-72.png differ diff --git a/public/android/android-launchericon-96-96.png b/public/android/android-launchericon-96-96.png new file mode 100644 index 0000000..1937517 Binary files /dev/null and b/public/android/android-launchericon-96-96.png differ diff --git a/public/app.webmanifest b/public/app.webmanifest index 4d90cb4..bab8d24 100644 --- a/public/app.webmanifest +++ b/public/app.webmanifest @@ -10,18 +10,481 @@ "description": "Una aplicación para la enseñanza de Lengua de Señas Colombiana.", "icons": [ { - "src": "/icon.svg", + "src": "icon/icon.svg", "sizes": "any" }, { - "src": "/icon-512.png", + "src": "icon/512.png", "sizes": "512x512" }, { - "src": "/icon-maskable.png", + "src": "icon/maskable.png", "sizes": "1024x1024", "type": "image/png", "purpose": "maskable" + }, + { + "src": "windows11/SmallTile.scale-100.png", + "sizes": "71x71" + }, + { + "src": "windows11/SmallTile.scale-125.png", + "sizes": "89x89" + }, + { + "src": "windows11/SmallTile.scale-150.png", + "sizes": "107x107" + }, + { + "src": "windows11/SmallTile.scale-200.png", + "sizes": "142x142" + }, + { + "src": "windows11/SmallTile.scale-400.png", + "sizes": "284x284" + }, + { + "src": "windows11/Square150x150Logo.scale-100.png", + "sizes": "150x150" + }, + { + "src": "windows11/Square150x150Logo.scale-125.png", + "sizes": "188x188" + }, + { + "src": "windows11/Square150x150Logo.scale-150.png", + "sizes": "225x225" + }, + { + "src": "windows11/Square150x150Logo.scale-200.png", + "sizes": "300x300" + }, + { + "src": "windows11/Square150x150Logo.scale-400.png", + "sizes": "600x600" + }, + { + "src": "windows11/Wide310x150Logo.scale-100.png", + "sizes": "310x150" + }, + { + "src": "windows11/Wide310x150Logo.scale-125.png", + "sizes": "388x188" + }, + { + "src": "windows11/Wide310x150Logo.scale-150.png", + "sizes": "465x225" + }, + { + "src": "windows11/Wide310x150Logo.scale-200.png", + "sizes": "620x300" + }, + { + "src": "windows11/Wide310x150Logo.scale-400.png", + "sizes": "1240x600" + }, + { + "src": "windows11/LargeTile.scale-100.png", + "sizes": "310x310" + }, + { + "src": "windows11/LargeTile.scale-125.png", + "sizes": "388x388" + }, + { + "src": "windows11/LargeTile.scale-150.png", + "sizes": "465x465" + }, + { + "src": "windows11/LargeTile.scale-200.png", + "sizes": "620x620" + }, + { + "src": "windows11/LargeTile.scale-400.png", + "sizes": "1240x1240" + }, + { + "src": "windows11/Square44x44Logo.scale-100.png", + "sizes": "44x44" + }, + { + "src": "windows11/Square44x44Logo.scale-125.png", + "sizes": "55x55" + }, + { + "src": "windows11/Square44x44Logo.scale-150.png", + "sizes": "66x66" + }, + { + "src": "windows11/Square44x44Logo.scale-200.png", + "sizes": "88x88" + }, + { + "src": "windows11/Square44x44Logo.scale-400.png", + "sizes": "176x176" + }, + { + "src": "windows11/StoreLogo.scale-100.png", + "sizes": "50x50" + }, + { + "src": "windows11/StoreLogo.scale-125.png", + "sizes": "63x63" + }, + { + "src": "windows11/StoreLogo.scale-150.png", + "sizes": "75x75" + }, + { + "src": "windows11/StoreLogo.scale-200.png", + "sizes": "100x100" + }, + { + "src": "windows11/StoreLogo.scale-400.png", + "sizes": "200x200" + }, + { + "src": "windows11/SplashScreen.scale-100.png", + "sizes": "620x300" + }, + { + "src": "windows11/SplashScreen.scale-125.png", + "sizes": "775x375" + }, + { + "src": "windows11/SplashScreen.scale-150.png", + "sizes": "930x450" + }, + { + "src": "windows11/SplashScreen.scale-200.png", + "sizes": "1240x600" + }, + { + "src": "windows11/SplashScreen.scale-400.png", + "sizes": "2480x1200" + }, + { + "src": "windows11/Square44x44Logo.targetsize-16.png", + "sizes": "16x16" + }, + { + "src": "windows11/Square44x44Logo.targetsize-20.png", + "sizes": "20x20" + }, + { + "src": "windows11/Square44x44Logo.targetsize-24.png", + "sizes": "24x24" + }, + { + "src": "windows11/Square44x44Logo.targetsize-30.png", + "sizes": "30x30" + }, + { + "src": "windows11/Square44x44Logo.targetsize-32.png", + "sizes": "32x32" + }, + { + "src": "windows11/Square44x44Logo.targetsize-36.png", + "sizes": "36x36" + }, + { + "src": "windows11/Square44x44Logo.targetsize-40.png", + "sizes": "40x40" + }, + { + "src": "windows11/Square44x44Logo.targetsize-44.png", + "sizes": "44x44" + }, + { + "src": "windows11/Square44x44Logo.targetsize-48.png", + "sizes": "48x48" + }, + { + "src": "windows11/Square44x44Logo.targetsize-60.png", + "sizes": "60x60" + }, + { + "src": "windows11/Square44x44Logo.targetsize-64.png", + "sizes": "64x64" + }, + { + "src": "windows11/Square44x44Logo.targetsize-72.png", + "sizes": "72x72" + }, + { + "src": "windows11/Square44x44Logo.targetsize-80.png", + "sizes": "80x80" + }, + { + "src": "windows11/Square44x44Logo.targetsize-96.png", + "sizes": "96x96" + }, + { + "src": "windows11/Square44x44Logo.targetsize-256.png", + "sizes": "256x256" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-16.png", + "sizes": "16x16" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-20.png", + "sizes": "20x20" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-24.png", + "sizes": "24x24" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-30.png", + "sizes": "30x30" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-32.png", + "sizes": "32x32" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-36.png", + "sizes": "36x36" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-40.png", + "sizes": "40x40" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-44.png", + "sizes": "44x44" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-48.png", + "sizes": "48x48" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-60.png", + "sizes": "60x60" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-64.png", + "sizes": "64x64" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-72.png", + "sizes": "72x72" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-80.png", + "sizes": "80x80" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-96.png", + "sizes": "96x96" + }, + { + "src": "windows11/Square44x44Logo.altform-unplated_targetsize-256.png", + "sizes": "256x256" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-16.png", + "sizes": "16x16" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-20.png", + "sizes": "20x20" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-24.png", + "sizes": "24x24" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-30.png", + "sizes": "30x30" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-32.png", + "sizes": "32x32" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-36.png", + "sizes": "36x36" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-40.png", + "sizes": "40x40" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-44.png", + "sizes": "44x44" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-48.png", + "sizes": "48x48" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-60.png", + "sizes": "60x60" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-64.png", + "sizes": "64x64" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-72.png", + "sizes": "72x72" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-80.png", + "sizes": "80x80" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-96.png", + "sizes": "96x96" + }, + { + "src": "windows11/Square44x44Logo.altform-lightunplated_targetsize-256.png", + "sizes": "256x256" + }, + { + "src": "android/android-launchericon-512-512.png", + "sizes": "512x512" + }, + { + "src": "android/android-launchericon-192-192.png", + "sizes": "192x192" + }, + { + "src": "android/android-launchericon-144-144.png", + "sizes": "144x144" + }, + { + "src": "android/android-launchericon-96-96.png", + "sizes": "96x96" + }, + { + "src": "android/android-launchericon-72-72.png", + "sizes": "72x72" + }, + { + "src": "android/android-launchericon-48-48.png", + "sizes": "48x48" + }, + { + "src": "ios/16.png", + "sizes": "16x16" + }, + { + "src": "ios/20.png", + "sizes": "20x20" + }, + { + "src": "ios/29.png", + "sizes": "29x29" + }, + { + "src": "ios/32.png", + "sizes": "32x32" + }, + { + "src": "ios/40.png", + "sizes": "40x40" + }, + { + "src": "ios/50.png", + "sizes": "50x50" + }, + { + "src": "ios/57.png", + "sizes": "57x57" + }, + { + "src": "ios/58.png", + "sizes": "58x58" + }, + { + "src": "ios/60.png", + "sizes": "60x60" + }, + { + "src": "ios/64.png", + "sizes": "64x64" + }, + { + "src": "ios/72.png", + "sizes": "72x72" + }, + { + "src": "ios/76.png", + "sizes": "76x76" + }, + { + "src": "ios/80.png", + "sizes": "80x80" + }, + { + "src": "ios/87.png", + "sizes": "87x87" + }, + { + "src": "ios/100.png", + "sizes": "100x100" + }, + { + "src": "ios/114.png", + "sizes": "114x114" + }, + { + "src": "ios/120.png", + "sizes": "120x120" + }, + { + "src": "ios/128.png", + "sizes": "128x128" + }, + { + "src": "ios/144.png", + "sizes": "144x144" + }, + { + "src": "ios/152.png", + "sizes": "152x152" + }, + { + "src": "ios/167.png", + "sizes": "167x167" + }, + { + "src": "ios/180.png", + "sizes": "180x180" + }, + { + "src": "ios/192.png", + "sizes": "192x192" + }, + { + "src": "ios/256.png", + "sizes": "256x256" + }, + { + "src": "ios/512.png", + "sizes": "512x512" + }, + { + "src": "ios/1024.png", + "sizes": "1024x1024" } - ] + ], + "id": "v0.1.0-preview", + "dir": "ltr", + "scope": "/", + "prefer_related_applications": false, + "display_override": [ + "standalone", + "window-controls-overlay", + "minimal-ui", + "fullscreen", + "browser" + ], + "launch_handler": { + "client_mode": ["focus-existing", "auto"] + }, + "categories": ["education", "entertainment", "productivity", "social"] } diff --git a/public/icon-512.png b/public/icon/512.png similarity index 100% rename from public/icon-512.png rename to public/icon/512.png diff --git a/public/icon.svg b/public/icon/icon.svg similarity index 100% rename from public/icon.svg rename to public/icon/icon.svg diff --git a/public/icon-maskable.png b/public/icon/maskable.png similarity index 100% rename from public/icon-maskable.png rename to public/icon/maskable.png diff --git a/public/ios/100.png b/public/ios/100.png new file mode 100644 index 0000000..ffa434d Binary files /dev/null and b/public/ios/100.png differ diff --git a/public/ios/1024.png b/public/ios/1024.png new file mode 100644 index 0000000..5586f37 Binary files /dev/null and b/public/ios/1024.png differ diff --git a/public/ios/114.png b/public/ios/114.png new file mode 100644 index 0000000..d92a394 Binary files /dev/null and b/public/ios/114.png differ diff --git a/public/ios/120.png b/public/ios/120.png new file mode 100644 index 0000000..78db824 Binary files /dev/null and b/public/ios/120.png differ diff --git a/public/ios/128.png b/public/ios/128.png new file mode 100644 index 0000000..7ea4f0d Binary files /dev/null and b/public/ios/128.png differ diff --git a/public/ios/144.png b/public/ios/144.png new file mode 100644 index 0000000..28b2311 Binary files /dev/null and b/public/ios/144.png differ diff --git a/public/ios/152.png b/public/ios/152.png new file mode 100644 index 0000000..ceb57aa Binary files /dev/null and b/public/ios/152.png differ diff --git a/public/ios/16.png b/public/ios/16.png new file mode 100644 index 0000000..9fe0633 Binary files /dev/null and b/public/ios/16.png differ diff --git a/public/ios/167.png b/public/ios/167.png new file mode 100644 index 0000000..7642e45 Binary files /dev/null and b/public/ios/167.png differ diff --git a/public/ios/180.png b/public/ios/180.png new file mode 100644 index 0000000..6d91a85 Binary files /dev/null and b/public/ios/180.png differ diff --git a/public/ios/192.png b/public/ios/192.png new file mode 100644 index 0000000..c178d34 Binary files /dev/null and b/public/ios/192.png differ diff --git a/public/ios/20.png b/public/ios/20.png new file mode 100644 index 0000000..1e0c0df Binary files /dev/null and b/public/ios/20.png differ diff --git a/public/ios/256.png b/public/ios/256.png new file mode 100644 index 0000000..fa1bc28 Binary files /dev/null and b/public/ios/256.png differ diff --git a/public/ios/29.png b/public/ios/29.png new file mode 100644 index 0000000..636572e Binary files /dev/null and b/public/ios/29.png differ diff --git a/public/ios/32.png b/public/ios/32.png new file mode 100644 index 0000000..7f5eeca Binary files /dev/null and b/public/ios/32.png differ diff --git a/public/ios/40.png b/public/ios/40.png new file mode 100644 index 0000000..fa3a3a5 Binary files /dev/null and b/public/ios/40.png differ diff --git a/public/ios/50.png b/public/ios/50.png new file mode 100644 index 0000000..763eb9c Binary files /dev/null and b/public/ios/50.png differ diff --git a/public/ios/512.png b/public/ios/512.png new file mode 100644 index 0000000..eb3dbcc Binary files /dev/null and b/public/ios/512.png differ diff --git a/public/ios/57.png b/public/ios/57.png new file mode 100644 index 0000000..c87b948 Binary files /dev/null and b/public/ios/57.png differ diff --git a/public/ios/58.png b/public/ios/58.png new file mode 100644 index 0000000..cddf9ae Binary files /dev/null and b/public/ios/58.png differ diff --git a/public/ios/60.png b/public/ios/60.png new file mode 100644 index 0000000..0c26a79 Binary files /dev/null and b/public/ios/60.png differ diff --git a/public/ios/64.png b/public/ios/64.png new file mode 100644 index 0000000..4fcf6d5 Binary files /dev/null and b/public/ios/64.png differ diff --git a/public/ios/72.png b/public/ios/72.png new file mode 100644 index 0000000..533437d Binary files /dev/null and b/public/ios/72.png differ diff --git a/public/ios/76.png b/public/ios/76.png new file mode 100644 index 0000000..a072401 Binary files /dev/null and b/public/ios/76.png differ diff --git a/public/ios/80.png b/public/ios/80.png new file mode 100644 index 0000000..6648279 Binary files /dev/null and b/public/ios/80.png differ diff --git a/public/ios/87.png b/public/ios/87.png new file mode 100644 index 0000000..b7a00cf Binary files /dev/null and b/public/ios/87.png differ diff --git a/public/windows11/LargeTile.scale-100.png b/public/windows11/LargeTile.scale-100.png new file mode 100644 index 0000000..dc6200f Binary files /dev/null and b/public/windows11/LargeTile.scale-100.png differ diff --git a/public/windows11/LargeTile.scale-125.png b/public/windows11/LargeTile.scale-125.png new file mode 100644 index 0000000..beaa975 Binary files /dev/null and b/public/windows11/LargeTile.scale-125.png differ diff --git a/public/windows11/LargeTile.scale-150.png b/public/windows11/LargeTile.scale-150.png new file mode 100644 index 0000000..2e83eab Binary files /dev/null and b/public/windows11/LargeTile.scale-150.png differ diff --git a/public/windows11/LargeTile.scale-200.png b/public/windows11/LargeTile.scale-200.png new file mode 100644 index 0000000..4a26527 Binary files /dev/null and b/public/windows11/LargeTile.scale-200.png differ diff --git a/public/windows11/LargeTile.scale-400.png b/public/windows11/LargeTile.scale-400.png new file mode 100644 index 0000000..e8304d5 Binary files /dev/null and b/public/windows11/LargeTile.scale-400.png differ diff --git a/public/windows11/SmallTile.scale-100.png b/public/windows11/SmallTile.scale-100.png new file mode 100644 index 0000000..348c3cc Binary files /dev/null and b/public/windows11/SmallTile.scale-100.png differ diff --git a/public/windows11/SmallTile.scale-125.png b/public/windows11/SmallTile.scale-125.png new file mode 100644 index 0000000..b7b6738 Binary files /dev/null and b/public/windows11/SmallTile.scale-125.png differ diff --git a/public/windows11/SmallTile.scale-150.png b/public/windows11/SmallTile.scale-150.png new file mode 100644 index 0000000..ea2d6f1 Binary files /dev/null and b/public/windows11/SmallTile.scale-150.png differ diff --git a/public/windows11/SmallTile.scale-200.png b/public/windows11/SmallTile.scale-200.png new file mode 100644 index 0000000..3a0f334 Binary files /dev/null and b/public/windows11/SmallTile.scale-200.png differ diff --git a/public/windows11/SmallTile.scale-400.png b/public/windows11/SmallTile.scale-400.png new file mode 100644 index 0000000..98c9137 Binary files /dev/null and b/public/windows11/SmallTile.scale-400.png differ diff --git a/public/windows11/SplashScreen.scale-100.png b/public/windows11/SplashScreen.scale-100.png new file mode 100644 index 0000000..be110f1 Binary files /dev/null and b/public/windows11/SplashScreen.scale-100.png differ diff --git a/public/windows11/SplashScreen.scale-125.png b/public/windows11/SplashScreen.scale-125.png new file mode 100644 index 0000000..3f4a5aa Binary files /dev/null and b/public/windows11/SplashScreen.scale-125.png differ diff --git a/public/windows11/SplashScreen.scale-150.png b/public/windows11/SplashScreen.scale-150.png new file mode 100644 index 0000000..ced8742 Binary files /dev/null and b/public/windows11/SplashScreen.scale-150.png differ diff --git a/public/windows11/SplashScreen.scale-200.png b/public/windows11/SplashScreen.scale-200.png new file mode 100644 index 0000000..2b81dc4 Binary files /dev/null and b/public/windows11/SplashScreen.scale-200.png differ diff --git a/public/windows11/SplashScreen.scale-400.png b/public/windows11/SplashScreen.scale-400.png new file mode 100644 index 0000000..a4ece32 Binary files /dev/null and b/public/windows11/SplashScreen.scale-400.png differ diff --git a/public/windows11/Square150x150Logo.scale-100.png b/public/windows11/Square150x150Logo.scale-100.png new file mode 100644 index 0000000..773546c Binary files /dev/null and b/public/windows11/Square150x150Logo.scale-100.png differ diff --git a/public/windows11/Square150x150Logo.scale-125.png b/public/windows11/Square150x150Logo.scale-125.png new file mode 100644 index 0000000..bc581f1 Binary files /dev/null and b/public/windows11/Square150x150Logo.scale-125.png differ diff --git a/public/windows11/Square150x150Logo.scale-150.png b/public/windows11/Square150x150Logo.scale-150.png new file mode 100644 index 0000000..34e79f0 Binary files /dev/null and b/public/windows11/Square150x150Logo.scale-150.png differ diff --git a/public/windows11/Square150x150Logo.scale-200.png b/public/windows11/Square150x150Logo.scale-200.png new file mode 100644 index 0000000..edaeb6e Binary files /dev/null and b/public/windows11/Square150x150Logo.scale-200.png differ diff --git a/public/windows11/Square150x150Logo.scale-400.png b/public/windows11/Square150x150Logo.scale-400.png new file mode 100644 index 0000000..a68fd53 Binary files /dev/null and b/public/windows11/Square150x150Logo.scale-400.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-16.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-16.png new file mode 100644 index 0000000..4977f2f Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-16.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-20.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-20.png new file mode 100644 index 0000000..222b51b Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-20.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-24.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-24.png new file mode 100644 index 0000000..c4d6c94 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-24.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-256.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-256.png new file mode 100644 index 0000000..ef05b0c Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-256.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-30.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-30.png new file mode 100644 index 0000000..52f06fb Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-30.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-32.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-32.png new file mode 100644 index 0000000..f4d2cb2 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-32.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-36.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-36.png new file mode 100644 index 0000000..9230d70 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-36.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-40.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-40.png new file mode 100644 index 0000000..5866301 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-40.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-44.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-44.png new file mode 100644 index 0000000..2cb1753 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-44.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-48.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-48.png new file mode 100644 index 0000000..dd275b6 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-48.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-60.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-60.png new file mode 100644 index 0000000..3bc6dbd Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-60.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-64.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-64.png new file mode 100644 index 0000000..10250ff Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-64.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-72.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-72.png new file mode 100644 index 0000000..04a6c64 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-72.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-80.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-80.png new file mode 100644 index 0000000..2a74d9b Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-80.png differ diff --git a/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-96.png b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-96.png new file mode 100644 index 0000000..7191c28 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-lightunplated_targetsize-96.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-16.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-16.png new file mode 100644 index 0000000..4977f2f Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-16.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-20.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-20.png new file mode 100644 index 0000000..222b51b Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-20.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-24.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-24.png new file mode 100644 index 0000000..c4d6c94 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-24.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-256.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-256.png new file mode 100644 index 0000000..ef05b0c Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-256.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-30.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-30.png new file mode 100644 index 0000000..52f06fb Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-30.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-32.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-32.png new file mode 100644 index 0000000..f4d2cb2 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-32.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-36.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-36.png new file mode 100644 index 0000000..9230d70 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-36.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-40.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-40.png new file mode 100644 index 0000000..5866301 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-40.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-44.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-44.png new file mode 100644 index 0000000..2cb1753 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-44.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-48.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-48.png new file mode 100644 index 0000000..dd275b6 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-48.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-60.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-60.png new file mode 100644 index 0000000..3bc6dbd Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-60.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-64.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-64.png new file mode 100644 index 0000000..10250ff Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-64.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-72.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-72.png new file mode 100644 index 0000000..04a6c64 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-72.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-80.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-80.png new file mode 100644 index 0000000..2a74d9b Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-80.png differ diff --git a/public/windows11/Square44x44Logo.altform-unplated_targetsize-96.png b/public/windows11/Square44x44Logo.altform-unplated_targetsize-96.png new file mode 100644 index 0000000..7191c28 Binary files /dev/null and b/public/windows11/Square44x44Logo.altform-unplated_targetsize-96.png differ diff --git a/public/windows11/Square44x44Logo.scale-100.png b/public/windows11/Square44x44Logo.scale-100.png new file mode 100644 index 0000000..2cb1753 Binary files /dev/null and b/public/windows11/Square44x44Logo.scale-100.png differ diff --git a/public/windows11/Square44x44Logo.scale-125.png b/public/windows11/Square44x44Logo.scale-125.png new file mode 100644 index 0000000..21d1bb3 Binary files /dev/null and b/public/windows11/Square44x44Logo.scale-125.png differ diff --git a/public/windows11/Square44x44Logo.scale-150.png b/public/windows11/Square44x44Logo.scale-150.png new file mode 100644 index 0000000..8ea3458 Binary files /dev/null and b/public/windows11/Square44x44Logo.scale-150.png differ diff --git a/public/windows11/Square44x44Logo.scale-200.png b/public/windows11/Square44x44Logo.scale-200.png new file mode 100644 index 0000000..9de8649 Binary files /dev/null and b/public/windows11/Square44x44Logo.scale-200.png differ diff --git a/public/windows11/Square44x44Logo.scale-400.png b/public/windows11/Square44x44Logo.scale-400.png new file mode 100644 index 0000000..3bc4c4b Binary files /dev/null and b/public/windows11/Square44x44Logo.scale-400.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-16.png b/public/windows11/Square44x44Logo.targetsize-16.png new file mode 100644 index 0000000..4977f2f Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-16.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-20.png b/public/windows11/Square44x44Logo.targetsize-20.png new file mode 100644 index 0000000..222b51b Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-20.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-24.png b/public/windows11/Square44x44Logo.targetsize-24.png new file mode 100644 index 0000000..c4d6c94 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-24.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-256.png b/public/windows11/Square44x44Logo.targetsize-256.png new file mode 100644 index 0000000..ef05b0c Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-256.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-30.png b/public/windows11/Square44x44Logo.targetsize-30.png new file mode 100644 index 0000000..52f06fb Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-30.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-32.png b/public/windows11/Square44x44Logo.targetsize-32.png new file mode 100644 index 0000000..f4d2cb2 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-32.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-36.png b/public/windows11/Square44x44Logo.targetsize-36.png new file mode 100644 index 0000000..9230d70 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-36.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-40.png b/public/windows11/Square44x44Logo.targetsize-40.png new file mode 100644 index 0000000..5866301 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-40.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-44.png b/public/windows11/Square44x44Logo.targetsize-44.png new file mode 100644 index 0000000..2cb1753 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-44.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-48.png b/public/windows11/Square44x44Logo.targetsize-48.png new file mode 100644 index 0000000..dd275b6 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-48.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-60.png b/public/windows11/Square44x44Logo.targetsize-60.png new file mode 100644 index 0000000..3bc6dbd Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-60.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-64.png b/public/windows11/Square44x44Logo.targetsize-64.png new file mode 100644 index 0000000..10250ff Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-64.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-72.png b/public/windows11/Square44x44Logo.targetsize-72.png new file mode 100644 index 0000000..04a6c64 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-72.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-80.png b/public/windows11/Square44x44Logo.targetsize-80.png new file mode 100644 index 0000000..2a74d9b Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-80.png differ diff --git a/public/windows11/Square44x44Logo.targetsize-96.png b/public/windows11/Square44x44Logo.targetsize-96.png new file mode 100644 index 0000000..7191c28 Binary files /dev/null and b/public/windows11/Square44x44Logo.targetsize-96.png differ diff --git a/public/windows11/StoreLogo.scale-100.png b/public/windows11/StoreLogo.scale-100.png new file mode 100644 index 0000000..763eb9c Binary files /dev/null and b/public/windows11/StoreLogo.scale-100.png differ diff --git a/public/windows11/StoreLogo.scale-125.png b/public/windows11/StoreLogo.scale-125.png new file mode 100644 index 0000000..abf2f90 Binary files /dev/null and b/public/windows11/StoreLogo.scale-125.png differ diff --git a/public/windows11/StoreLogo.scale-150.png b/public/windows11/StoreLogo.scale-150.png new file mode 100644 index 0000000..9cbc038 Binary files /dev/null and b/public/windows11/StoreLogo.scale-150.png differ diff --git a/public/windows11/StoreLogo.scale-200.png b/public/windows11/StoreLogo.scale-200.png new file mode 100644 index 0000000..ffa434d Binary files /dev/null and b/public/windows11/StoreLogo.scale-200.png differ diff --git a/public/windows11/StoreLogo.scale-400.png b/public/windows11/StoreLogo.scale-400.png new file mode 100644 index 0000000..5a985bf Binary files /dev/null and b/public/windows11/StoreLogo.scale-400.png differ diff --git a/public/windows11/Wide310x150Logo.scale-100.png b/public/windows11/Wide310x150Logo.scale-100.png new file mode 100644 index 0000000..f3ca7ed Binary files /dev/null and b/public/windows11/Wide310x150Logo.scale-100.png differ diff --git a/public/windows11/Wide310x150Logo.scale-125.png b/public/windows11/Wide310x150Logo.scale-125.png new file mode 100644 index 0000000..38a746e Binary files /dev/null and b/public/windows11/Wide310x150Logo.scale-125.png differ diff --git a/public/windows11/Wide310x150Logo.scale-150.png b/public/windows11/Wide310x150Logo.scale-150.png new file mode 100644 index 0000000..33f7ba8 Binary files /dev/null and b/public/windows11/Wide310x150Logo.scale-150.png differ diff --git a/public/windows11/Wide310x150Logo.scale-200.png b/public/windows11/Wide310x150Logo.scale-200.png new file mode 100644 index 0000000..be110f1 Binary files /dev/null and b/public/windows11/Wide310x150Logo.scale-200.png differ diff --git a/public/windows11/Wide310x150Logo.scale-400.png b/public/windows11/Wide310x150Logo.scale-400.png new file mode 100644 index 0000000..2b81dc4 Binary files /dev/null and b/public/windows11/Wide310x150Logo.scale-400.png differ diff --git a/src/service-worker/index.ts b/src/internal/service-worker/index.ts similarity index 100% rename from src/service-worker/index.ts rename to src/internal/service-worker/index.ts diff --git a/src/internal/service-worker/service-worker.ts b/src/internal/service-worker/service-worker.ts new file mode 100644 index 0000000..e51425e --- /dev/null +++ b/src/internal/service-worker/service-worker.ts @@ -0,0 +1,58 @@ +/// + +declare var self: ServiceWorkerGlobalScope; + +import * as logging from "pkg/logging"; + +const log = logging.setDefaultLogger( + new logging.Logger("Service-Worker", logging.Level.Debug), +); + +const pwaCoreAssets = [ + "/", + "assets/index.js", + "assets/index.css", + "icon/icon.svg", +]; + +const pwaCache = "PWA-The_Sign_Link"; + +self.addEventListener("install", (e: ExtendableEvent) => { + log.info("Installing..."); + + e.waitUntil( + caches.open(pwaCache).then((cache) => { + log.debug("Caching assets:", pwaCoreAssets); + return cache.addAll(pwaCoreAssets); + }), + ); +}); + +self.addEventListener("activate", (_) => { + log.info("Activated."); +}); + +const handleFetch = async (request: Request) => { + log.info("The PWA is fetching resources..."); + log.debug("Request:", request); + + log.info("Searching in cache:", request.url); + const cache = await caches.open(pwaCache); + const cacheResponse = await cache.match(request.url); + log.debug("Cached response:", cacheResponse); + + fetch(request) + .then((networkResponse) => { + log.info("Updating cache for:", request.url); + cache.put(request, networkResponse); + }) + .catch((err) => { + log.error("Error fetching resource:", err); + }); + + return cacheResponse || fetch(request.url); +}; + +self.addEventListener("fetch", (e) => { + e.respondWith(handleFetch(e.request)); +}); diff --git a/src/my-element.ts b/src/my-element.ts index 4567116..7133e6d 100644 --- a/src/my-element.ts +++ b/src/my-element.ts @@ -10,7 +10,7 @@ import { import "igniteui-webcomponents/themes/light/bootstrap.css"; -import { registerServiceWorker } from "service-worker"; +import { registerServiceWorker } from "internal/service-worker"; import * as logging from "pkg/logging"; diff --git a/src/service-worker/service-worker.ts b/src/service-worker/service-worker.ts deleted file mode 100644 index de2fe49..0000000 --- a/src/service-worker/service-worker.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -/// -/// - -import * as logging from "../pkg/logging"; - -const log = logging.setDefaultLogger( - new logging.Logger("Service-Worker", logging.Level.Debug), -); - -log.debug("Service worker for: The Sign Link."); diff --git a/tsconfig.json b/tsconfig.json index dff4c52..50e5acf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -33,6 +33,5 @@ ], "baseUrl": "./src" }, - "include": ["src/**/*.ts"], - "exclude": ["src/service-worker/service-worker.ts"] + "include": ["src/**/*.ts"] } diff --git a/vite.config.ts b/vite.config.ts index d5e371e..0dff531 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,7 +6,7 @@ import { buildSync } from "esbuild"; const serviceWorkerSrc = join( process.cwd(), - "src/service-worker/service-worker.ts", + "src/internal/service-worker/service-worker.ts", ); const serviceWorkerDest = join(process.cwd(), "dist", "service-worker.js"); @@ -43,8 +43,16 @@ const serviceWorker = { }; export default defineConfig({ + plugins: [tsConfigPaths(), serviceWorker], server: { port: 1921, }, - plugins: [tsConfigPaths(), serviceWorker], + build: { + rollupOptions: { + output: { + entryFileNames: "assets/[name].js", + assetFileNames: "assets/[name].[ext]", + }, + }, + }, });