Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
PNGS := screenshot.png small_promo_tile.png marquee_promo_tile.png

.PHONY: png
.PHONY: png icon

all: png
all: png icon

png: $(PNGS)

install:
# echo you also need chrom(ium) for pdf/ppxt
sudo npm install -g @marp-team/marp-cli
sudo npm install -g inline-source-cli
sudo apt install -y librsvg2-bin

icon: store_icon.png

store_icon.png: assets/store_icon.svg
mkdir -p dest
rsvg-convert -w 128 -h 128 $< -o dest/$@

screenshot.png: screenshot.md
mkdir -p dest
marp $< --images png --allow-local-files -o "dest/$@"
marp $< --image-scale 1.11111 --images png --allow-local-files -o "dest/tmp-$@"
for img in dest/tmp-*.png; do \
final_name=$$(echo $$img | sed 's/tmp-//'); \
convert "$$img" -gravity Center -crop 1280x800+0+0 +repage "$$final_name"; \
done
rm dest/tmp-*.png

small_promo_tile.png: small_promo_tile.md
mkdir -p dest
Expand Down
11 changes: 11 additions & 0 deletions browser-plugin/promo_assets/assets/store_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
marp: true
theme: default
size: 16:10
size: 16:9
style: |
/* Define the layout for the specific slide class 'showcase' */
section.showcase {
Expand Down Expand Up @@ -38,7 +38,7 @@ style: |
section.showcase img.logo {
position: absolute;
bottom: 30px;
right: 40px;
right: 80px;
height: 100px; /* Adjust based on your logo aspect ratio */
width: auto;
}
Expand Down Expand Up @@ -82,4 +82,3 @@ style: |
<img src="assets/screenshot4.png" class="browser-shot" />

<img src="assets/logo.svg" class="logo" />

3 changes: 2 additions & 1 deletion browser-plugin/src/host/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"description": "Objectively analyzes news articles for journalistic quality, rewriting headlines to remove bias, framing, and sensationalism.",
"permissions": [
"storage",
"declarativeNetRequest"
"declarativeNetRequest",
"activeTab"
],
"host_permissions": [
"<all_urls>"
Expand Down