mirror of
https://github.com/tycrek/degoogle.git
synced 2025-09-03 11:42:51 +02:00
Convert all other badges to flat-square style
This commit is contained in:
@@ -29,7 +29,7 @@ const BUILD_SECTION = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Button that brings the user to the top of the page
|
// Button that brings the user to the top of the page
|
||||||
const BACK_TO_TOP = '[](#index)';
|
const BACK_TO_TOP = '[](#index)';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main method
|
* Main method
|
||||||
@@ -134,7 +134,7 @@ function generateServiceSection(data) {
|
|||||||
* @param {String} appId The package identifier on F-Droid
|
* @param {String} appId The package identifier on F-Droid
|
||||||
*/
|
*/
|
||||||
function fdroidLink(appId) {
|
function fdroidLink(appId) {
|
||||||
return `[](https://f-droid.org/en/packages/${appId}/)`;
|
return `[](https://f-droid.org/en/packages/${appId}/)`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -143,7 +143,7 @@ function fdroidLink(appId) {
|
|||||||
*/
|
*/
|
||||||
function addonLink(link) {
|
function addonLink(link) {
|
||||||
let addonId = link.split('/')[link.split('/').length - 1]
|
let addonId = link.split('/')[link.split('/').length - 1]
|
||||||
return ``;
|
return ``;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -151,7 +151,7 @@ function addonLink(link) {
|
|||||||
* @param {String|Number} date Date of publication
|
* @param {String|Number} date Date of publication
|
||||||
*/
|
*/
|
||||||
function dateBadge(date) {
|
function dateBadge(date) {
|
||||||
return `.replace(/\-/g, '--')}-informational.svg)`
|
return `.replace(/\-/g, '--')}-informational?style=flat-square)`
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user