Skip to content

Commit adc00fa

Browse files
committed
Adding manifest.json
1 parent a5aff11 commit adc00fa

File tree

2 files changed

+33
-8
lines changed

2 files changed

+33
-8
lines changed

index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
</script>
2222
<!-- Google Ads -->
2323

24+
<link rel="manifest" href="manifest.json">
2425
<link rel="stylesheet" href="src/css/main.css">
2526
</head>
2627
<body>
@@ -32,21 +33,21 @@ <h1>Search Stack Overflow</h1>
3233
<input id="searchText" class="center textInput" type="text" onkeydown="if(event.key === 'Enter') { search(); }"/>
3334
<input id="submitText" class="center" type="button" value="Search" onclick="search();"/>
3435
<div id="searchOptions">
35-
<div class="center">
36+
<div class="center">
3637
<input id="stackoverflow" type="checkbox" checked="checked"/>
37-
<label for="stackoverflow">stackoverflow</label>
38+
<label for="stackoverflow">stackoverflow</label>
3839
</div>
39-
<div class="center">
40+
<div class="center">
4041
<input id="serverfault" type="checkbox"/>
41-
<label for="serverfault">serverfault</label>
42+
<label for="serverfault">serverfault</label>
4243
</div>
43-
<div class="center">
44+
<div class="center">
4445
<input id="superuser" type="checkbox"/>
45-
<label for="superuser">superuser</label>
46+
<label for="superuser">superuser</label>
4647
</div>
47-
<div class="center">
48+
<div class="center">
4849
<input id="askubuntu" type="checkbox"/>
49-
<label for="askubuntu">askubuntu</label>
50+
<label for="askubuntu">askubuntu</label>
5051
</div>
5152
</div>
5253
</div>

manifest.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"short_name": "TonyBrobston",
3+
"name": "Tony Brobston",
4+
"icons": [
5+
{
6+
"src": "launcher-icon-2x.png",
7+
"sizes": "96x96",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "launcher-icon-3x.png",
12+
"sizes": "144x144",
13+
"type": "image/png"
14+
},
15+
{
16+
"src": "launcher-icon-4x.png",
17+
"sizes": "192x192",
18+
"type": "image/png"
19+
}
20+
],
21+
"start_url": "/index.html",
22+
"display": "standalone",
23+
"orientation": "landscape"
24+
}

0 commit comments

Comments
 (0)