Skip to content

Commit 5977a59

Browse files
authored
Merge pull request #190 from MohamedElashri/master
Add kagi search engine
2 parents 62060c2 + 63d7635 commit 5977a59

File tree

13 files changed

+33
-24
lines changed

13 files changed

+33
-24
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
},
4343
"scripts": {
4444
"start": "vite",
45+
"preview": "vite preview",
4546
"build:web": "VITE_BUILD_TARGET=web ./script/build.sh",
4647
"build:ext": "VITE_BUILD_TARGET=extension ./script/build.sh",
4748
"build:firefox": "VITE_BUILD_PLATFORM=firefox ./script/build-firefox.sh",

public/base.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Hackertab.dev - developer news",
33
"description": "All developer news in one tab",
4-
"version": "1.18.5",
4+
"version": "1.20.1",
55
"chrome_url_overrides": {
66
"newtab": "index.html"
77
},
90.3 KB
Loading
65.4 KB
Loading

public/web_manifest.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@
1919
"sizes": "512x512"
2020
}
2121
],
22+
"screenshots": [
23+
{
24+
"src": "/screenshots/screenshot_mobile_1.webp",
25+
"sizes": "485x1024",
26+
"type": "image/webp",
27+
"form_factor": "narrow",
28+
"label": "Hackertab is available on Desktop and Mobile."
29+
},
30+
{
31+
"src": "/screenshots/screenshot_desktop_1.webp",
32+
"sizes": "1280x720",
33+
"type": "image/webp",
34+
"form_factor": "wide",
35+
"label": "Hackertab is available on Desktop and Mobile."
36+
}
37+
],
2238
"start_url": "/?source=pwa",
2339
"background_color": "#000000",
2440
"display": "standalone",

script/build-chrome.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ yarn build:ext
2222

2323
# Zip the distribution folder
2424
echo 'Zip the extension'
25-
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" && cd ..
25+
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..

script/build-firefox.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ yarn build:ext
2727

2828
# Zip the distribution folder
2929
echo 'Zip the extension'
30-
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" && cd ..
30+
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..
3131

3232
#
3333
echo 'Zip the source code'

script/build-web.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/assets/kagi_logo.svg

Lines changed: 4 additions & 0 deletions
Loading

src/components/Elements/Panel/panel.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
.dark .panel.information {
25-
background-color: #3b424b;
25+
background-color: #1f242a;
2626
color: white;
2727
}
2828
.light .panel.information {

0 commit comments

Comments
 (0)