feat(strava): add app definition

This commit is contained in:
Ali BARIN
2022-11-06 17:19:27 +01:00
parent 20431da757
commit 8a0b5c24a5
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="Strava" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
fill="#fc4c01"/><path fill="#fff" d="M120 288L232 56l112 232h-72l-40-96-40 96z"/><path fill="#fda580" d="M280 288l32 72 32-72h48l-80 168-80-168z"/></svg>

After

Width:  |  Height:  |  Size: 286 B

View File

View File

@@ -0,0 +1,12 @@
import defineApp from '../../helpers/define-app';
export default defineApp({
name: 'Strava',
key: 'strava',
iconUrl: '{BASE_URL}/apps/strava/assets/favicon.svg',
authDocUrl: 'https://automatisch.io/docs/connections/strava',
supportsConnections: true,
baseUrl: 'https://www.strava.com',
apiBaseUrl: 'https://www.strava.com/api',
primaryColor: 'fc4c01',
});