Jelajahi Sumber

add code utility to landing page and add an image for it

Pi 4 bulan lalu
induk
melakukan
431aa8bd22

+ 7 - 0
home-sqlpage/sqlpage/migrations/000_index.sql

@@ -58,6 +58,13 @@ VALUES
 	2
 ),
 (
+	'/code?',
+	'Track Vouchers',
+	'https://shandan.one/static/code/qr.svg',
+	'Save scanned voucher codes to keep them handy and not forgotten',
+	'github',
+	2
+),(
 	'https://wol.shandan.one?location=outside',
 	'Wake a Device',
 	'',

File diff ditekan karena terlalu besar
+ 1 - 0
rest/static/code/qr.svg


File diff ditekan karena terlalu besar
+ 0 - 0
rest/static/upload/qr.svg


+ 1 - 1
util-sqlpage/code/entry.sql

@@ -3,7 +3,7 @@ SET tool = 'code';
 SET ":link" = '/code.sql';
 SET color = '#f59f00';
 SET tabler_color = 'azure';
---SET image = '/static/upload/upload-favicon_square.svg';
+SET image = '/static/code/qr.svg';
 --SET favicon = $image;
 --SET manifest = '/static/upload/manifest.json';
 SELECT 'dynamic' AS component, sqlpage.run_sql($inner) AS properties;

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini