-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
site: PWA ready and remove autoplay music
- Loading branch information
1 parent
d4160e5
commit ec21d77
Showing
8 changed files
with
101 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "windows-gcc-x86", | ||
"includePath": [ | ||
"${workspaceFolder}/**" | ||
], | ||
"compilerPath": "C:\\MinGW\\bin\\gcc.exe", | ||
"cStandard": "${default}", | ||
"cppStandard": "${default}", | ||
"intelliSenseMode": "windows-gcc-x86", | ||
"compilerArgs": [ | ||
"-Wall", | ||
"-Wextra", | ||
"-Wpedantic" | ||
] | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"C_Cpp_Runner.cCompilerPath": "C:\\MinGW\\bin\\gcc.exe", | ||
"C_Cpp_Runner.cppCompilerPath": "C:\\MinGW\\bin\\g++.exe" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "Windows11 Event Countdown", | ||
"short_name": "Win11 Event", | ||
"start_url": "/?home=true", | ||
"shortcuts": [ | ||
{ | ||
"name": "Activity Feed", | ||
"short_name": "Feed", | ||
"description": "View your activity feed", | ||
"url": "/feed?utm_source=homescreen", | ||
"icons": [{ "src": "/icons/feed.png", "sizes": "192x192" }] | ||
}, | ||
{ | ||
"name": "Recent Comments", | ||
"short_name": "Comments", | ||
"description": "View recent comments", | ||
"url": "/comments?utm_source=homescreen", | ||
"icons": [{ "src": "/icons/comments.png", "sizes": "192x192" }] | ||
} | ||
], | ||
"icons": [ | ||
{ | ||
"src": "./resources/img/win-11-logo-manifest.png", | ||
"sizes": "512x512", | ||
"type": "image/png", | ||
"purpose": "maskable any" | ||
} | ||
], | ||
"share_target": { | ||
"action": "/share-photo", | ||
"method": "POST", | ||
"enctype": "multipart/form-data", | ||
"params": { | ||
"title": "name", | ||
"text": "description", | ||
"url": "link", | ||
"files": [ | ||
{ | ||
"name": "photos", | ||
"accept": "image/png" | ||
} | ||
] | ||
} | ||
}, | ||
"theme_color": "#000000", | ||
"background_color": "#FFFFFF", | ||
"display": "fullscreen", | ||
"orientation": "portrait" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
importScripts('https://storage.googleapis.com/workbox-cdn/releases/6.0.2/workbox-sw.js'); | ||
|
||
workbox.routing.registerRoute( | ||
({request}) => request.destination === 'image', | ||
new workbox.strategies.CacheFirst() | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters