mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +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,
|
||||
RedditIcon,
|
||||
TikTokIcon,
|
||||
WalmartIcon,
|
||||
WebIcon,
|
||||
YouTubeIcon,
|
||||
} from "./platform-icons";
|
||||
|
|
@ -96,6 +97,15 @@ export const PLAYGROUND_PLATFORMS: PlaygroundPlatform[] = [
|
|||
icon: AmazonIcon,
|
||||
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",
|
||||
label: "Web",
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ function brandIcon(src: string, alt: string) {
|
|||
}
|
||||
|
||||
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 YouTubeIcon = brandIcon("/connectors/youtube.svg", "YouTube");
|
||||
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