Skip to content

Commit 0ab7959

Browse files
chore(sponsors): activate route4me sponsor card; (#255)
* feat: add sponsor list generator; * feat: added deploy action; * fix: fixed layout; * fix: use utm links inside tooltips; * fix(CI): set engine version; * chore: reverted the start button title change; * fix: add the ability to retry the request to get a list of sponsors; * chore: change sponsors config & fix sponsor card layout; * chore: hide 'incognito' sponsor from the list of sponsors; * chore: add Route4Me sponsor; * chore: fixed resolution of utm link for manually added sponsors; * chore: fixed sponsors' tiers resolving; * chore: draft; * chore(sponsors): disable utm links generation for `slotozilla-deutschland`; * chore(draft): Improve sponsors list generator; * chore(draft): fix origin preset; * chore(draft): delete generated icon; * chore(draft): add check to ensure dir exists; * chore(draft): add check to ensure dir exists; * chore(draft): activate GitHub data pulling; * chore(draft): fix crown chevron styling; * chore(draft): reduce logo min-width; * chore(draft): add missed `route4me` light logo; * chore(draft): add a title for readme sponsor block; * chore(draft): fix description resolving; * chore(draft): add utm links for sponsors rendered to markdown; * chore(draft): respect autoUTMLinks for utm links generation; * chore(draft): set user theme timeout to 24 hours; * chore(draft): set utm link for markdown output; * chore(draft): add sponsors' logos; * chore(draft): fix sponsor.json; * chore(draft): fix sponsor.json; * chore(draft): add principal logo; * chore(draft): add a hotfix for svg logos; * chore(draft): use image metadata instead of file extension to determine image format; * chore(draft): add Stytch & Descope links; * chore(draft): fix utm link generator to respect sponsor's params; * chore(draft): add page active link rendering; * chore(draft): notes block refactoring; * chore(draft): remove graphql packages; * chore(sponsors): add website link for buzzoid.com; * chore(sponsors): remove Route4me from the list; * chore(sponsors): Fixed relative URLs for dark theme logos in the Readme sponsor generator; * chore(sponsors): activate route4me sponsor card; --------- Co-authored-by: Jay <[email protected]>
1 parent cb58c4d commit 0ab7959

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

data/sponsors.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@
8686
"displayName": "Route4Me",
8787
"alt": "Route Planner and Route Optimizer",
8888
"description": "Best Route Planning And Route Optimization Software",
89-
"isActive": false,
90-
"totalAmountDonated": 300,
89+
"isActive": true,
90+
"totalAmountDonated": 600,
9191
"createdAt": "2024-07-12 00:00",
92+
"boostEnd": "2025-07-31",
9293
"icon": "./assets/sponsors/route4me_icon.png",
9394
"links": {
9495
"Explore": "https://route4me.com/platform/route-optimization-software",

scripts/updateData.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,9 +633,7 @@ const processSponsors = async (collectiveSponsors, sponsorsConfig = './data/spon
633633
}
634634
}
635635

636-
if( Date.now() - new Date(sponsor.boostEnd) > 0) {
637-
sponsor.boost = sponsor.boost || 1;
638-
}
636+
sponsor.boost = new Date(sponsor.boostEnd) - Date.now() > 0 ? 1 : 0;
639637

640638
sponsor.isActive = sponsor.isActive === true;
641639

0 commit comments

Comments
 (0)