mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-24 23:41:10 +02:00
feat(walmart): add playground catalog entry and icon
This commit is contained in:
parent
07721bda40
commit
1c50a33647
3 changed files with 22 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import {
|
||||||
InstagramIcon,
|
InstagramIcon,
|
||||||
RedditIcon,
|
RedditIcon,
|
||||||
TikTokIcon,
|
TikTokIcon,
|
||||||
|
WalmartIcon,
|
||||||
WebIcon,
|
WebIcon,
|
||||||
YouTubeIcon,
|
YouTubeIcon,
|
||||||
} from "./platform-icons";
|
} from "./platform-icons";
|
||||||
|
|
@ -96,6 +97,15 @@ export const PLAYGROUND_PLATFORMS: PlaygroundPlatform[] = [
|
||||||
icon: AmazonIcon,
|
icon: AmazonIcon,
|
||||||
verbs: [{ name: "amazon.scrape", verb: "scrape", label: "Scrape" }],
|
verbs: [{ name: "amazon.scrape", verb: "scrape", label: "Scrape" }],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "walmart",
|
||||||
|
label: "Walmart",
|
||||||
|
icon: WalmartIcon,
|
||||||
|
verbs: [
|
||||||
|
{ name: "walmart.scrape", verb: "scrape", label: "Scrape" },
|
||||||
|
{ name: "walmart.reviews", verb: "reviews", label: "Reviews" },
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "web",
|
id: "web",
|
||||||
label: "Web",
|
label: "Web",
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ function brandIcon(src: string, alt: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const AmazonIcon = brandIcon("/connectors/amazon.svg", "Amazon");
|
export const AmazonIcon = brandIcon("/connectors/amazon.svg", "Amazon");
|
||||||
|
export const WalmartIcon = brandIcon("/connectors/walmart.svg", "Walmart");
|
||||||
export const RedditIcon = brandIcon("/connectors/reddit.svg", "Reddit");
|
export const RedditIcon = brandIcon("/connectors/reddit.svg", "Reddit");
|
||||||
export const YouTubeIcon = brandIcon("/connectors/youtube.svg", "YouTube");
|
export const YouTubeIcon = brandIcon("/connectors/youtube.svg", "YouTube");
|
||||||
export const InstagramIcon = brandIcon("/connectors/instagram.svg", "Instagram");
|
export const InstagramIcon = brandIcon("/connectors/instagram.svg", "Instagram");
|
||||||
|
|
|
||||||
11
surfsense_web/public/connectors/walmart.svg
Normal file
11
surfsense_web/public/connectors/walmart.svg
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<title>Walmart</title>
|
||||||
|
<g fill="#ffc220">
|
||||||
|
<rect x="21.4" y="3.5" width="5.2" height="14" rx="2.6" transform="rotate(0 24 24)" />
|
||||||
|
<rect x="21.4" y="3.5" width="5.2" height="14" rx="2.6" transform="rotate(60 24 24)" />
|
||||||
|
<rect x="21.4" y="3.5" width="5.2" height="14" rx="2.6" transform="rotate(120 24 24)" />
|
||||||
|
<rect x="21.4" y="3.5" width="5.2" height="14" rx="2.6" transform="rotate(180 24 24)" />
|
||||||
|
<rect x="21.4" y="3.5" width="5.2" height="14" rx="2.6" transform="rotate(240 24 24)" />
|
||||||
|
<rect x="21.4" y="3.5" width="5.2" height="14" rx="2.6" transform="rotate(300 24 24)" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 711 B |
Loading…
Add table
Add a link
Reference in a new issue