mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
feat(web): add amazon platform to playground catalog
This commit is contained in:
parent
e8010065f2
commit
16404cb9d0
2 changed files with 8 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import type { ComponentType } from "react";
|
import type { ComponentType } from "react";
|
||||||
import {
|
import {
|
||||||
|
AmazonIcon,
|
||||||
GoogleMapsIcon,
|
GoogleMapsIcon,
|
||||||
GoogleSearchIcon,
|
GoogleSearchIcon,
|
||||||
InstagramIcon,
|
InstagramIcon,
|
||||||
|
|
@ -89,6 +90,12 @@ export const PLAYGROUND_PLATFORMS: PlaygroundPlatform[] = [
|
||||||
icon: GoogleSearchIcon,
|
icon: GoogleSearchIcon,
|
||||||
verbs: [{ name: "google_search.scrape", verb: "scrape", label: "Scrape" }],
|
verbs: [{ name: "google_search.scrape", verb: "scrape", label: "Scrape" }],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "amazon",
|
||||||
|
label: "Amazon",
|
||||||
|
icon: AmazonIcon,
|
||||||
|
verbs: [{ name: "amazon.scrape", verb: "scrape", label: "Scrape" }],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "web",
|
id: "web",
|
||||||
label: "Web",
|
label: "Web",
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ function brandIcon(src: string, alt: string) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const AmazonIcon = brandIcon("/connectors/amazon.svg", "Amazon");
|
||||||
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");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue