feat: Serve static assets of apps
This commit is contained in:
5
packages/backend/src/apps/flickr/assets/favicon.svg
Normal file
5
packages/backend/src/apps/flickr/assets/favicon.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" aria-label="Flickr" role="img" viewBox="0 0 512 512">
|
||||
<rect width="512" height="512" rx="15%" fill="#fff"/>
|
||||
<circle cx="157" cy="256" fill="#0063dc" r="79"/>
|
||||
<circle cx="355" cy="256" fill="#ff0084" r="79"/>
|
||||
</svg>
|
After Width: | Height: | Size: 261 B |
@@ -1,7 +1,10 @@
|
||||
{
|
||||
import appInfoType from '../../types/app-info';
|
||||
import appConfig from '../../config/app';
|
||||
|
||||
const appInfo: appInfoType = {
|
||||
"name": "Flickr",
|
||||
"key": "flickr",
|
||||
"iconUrl": "https://automatisch.io/apps/flickr.png",
|
||||
"iconUrl": `${appConfig.baseUrl}/apps/flickr/assets/favicon.svg`,
|
||||
"docUrl": "https://automatisch.io/docs/flickr",
|
||||
"primaryColor": "000000",
|
||||
"fields": [
|
||||
@@ -113,3 +116,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export default appInfo;
|
4
packages/backend/src/apps/twitch/assets/favicon.svg
Normal file
4
packages/backend/src/apps/twitch/assets/favicon.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" aria-label="Twitch" role="img" viewBox="0 0 512 512">
|
||||
<rect width="512" height="512" rx="15%" fill="#fff"/>
|
||||
<path d="m115 101-22 56v228h78v42h44l41-42h63l85-85v-199zm260 185-48 48h-78l-42 42v-42h-65v-204h233zm-48-100v85h-30v-85zm-78 0v85h-29v-85z" fill="#6441a4"/>
|
||||
</svg>
|
After Width: | Height: | Size: 316 B |
@@ -1,7 +1,10 @@
|
||||
{
|
||||
import appInfoType from '../../types/app-info';
|
||||
import appConfig from '../../config/app';
|
||||
|
||||
const appInfo: appInfoType = {
|
||||
"name": "Twitch",
|
||||
"key": "twitch",
|
||||
"iconUrl": "https://automatisch.io/apps/twitch.png",
|
||||
"iconUrl": `${appConfig.baseUrl}/apps/twitch/assets/favicon.svg`,
|
||||
"docUrl": "https://automatisch.io/docs/twitch",
|
||||
"primaryColor": "6441a5",
|
||||
"fields": [
|
||||
@@ -43,3 +46,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export default appInfo;
|
4
packages/backend/src/apps/twitter/assets/favicon.svg
Normal file
4
packages/backend/src/apps/twitter/assets/favicon.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" aria-label="Twitter" role="img" viewBox="0 0 512 512">
|
||||
<rect width="512" height="512" rx="15%" fill="#1da1f2"/>
|
||||
<path fill="#fff" d="M437 152a72 72 0 01-40 12a72 72 0 0032-40a72 72 0 01-45 17a72 72 0 00-122 65a200 200 0 01-145-74a72 72 0 0022 94a72 72 0 01-32-7a72 72 0 0056 69a72 72 0 01-32 1a72 72 0 0067 50a200 200 0 01-105 29a200 200 0 00309-179a200 200 0 0035-37"/>
|
||||
</svg>
|
After Width: | Height: | Size: 422 B |
@@ -1,7 +1,10 @@
|
||||
{
|
||||
import appInfoType from '../../types/app-info';
|
||||
import appConfig from '../../config/app';
|
||||
|
||||
const appInfo: appInfoType = {
|
||||
"name": "Twitter",
|
||||
"key": "twitter",
|
||||
"iconUrl": "https://automatisch.io/apps/twitter.png",
|
||||
"iconUrl": `${appConfig.baseUrl}/apps/twitter/assets/favicon.svg`,
|
||||
"docUrl": "https://automatisch.io/docs/twitter",
|
||||
"primaryColor": "2DAAE1",
|
||||
"fields": [
|
||||
@@ -113,3 +116,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export default appInfo;
|
Reference in New Issue
Block a user