Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/icons/wholefoods.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/components/icons/platform-wholefoods.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { ComponentPropsWithoutRef } from "react"

export const PlatformWholeFoodsIcon = (
props: ComponentPropsWithoutRef<"img"> & { style?: React.CSSProperties }
) => {
return (
<img
src="/icons/wholefoods.png"
alt="Whole Foods Market"
{...props}
/>
)
}
2 changes: 2 additions & 0 deletions src/lib/platform/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { PlatformInstagramGlyphIcon } from "@/components/icons/platform-instagra
import { PlatformLinkedinIcon } from "@/components/icons/platform-linkedin"
import { PlatformShopIcon } from "@/components/icons/platform-shop"
import { PlatformSpotifyIcon } from "@/components/icons/platform-spotify"
import { PlatformWholeFoodsIcon } from "@/components/icons/platform-wholefoods"
import type { PlatformRegistryEntry } from "./registry"
import {
getPlatformRegistryEntry,
Expand All @@ -22,6 +23,7 @@ const PLATFORM_ICON_COMPONENTS: Record<string, PlatformIconComponent> = {
linkedin: PlatformLinkedinIcon,
shop: PlatformShopIcon,
spotify: PlatformSpotifyIcon,
wholefoods: PlatformWholeFoodsIcon,
x: IconX,
}

Expand Down
12 changes: 12 additions & 0 deletions src/lib/platform/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,16 @@ export const PLATFORM_REGISTRY: PlatformRegistryEntry[] = [
showInConnectList: true,
ingestScope: "shop.orders",
},
{
id: "wholefoods",
displayName: "Whole Foods Market",
iconKey: "wholefoods",
iconEmoji: "🥑",
primaryColor: "#00674b",
platformIds: ["wholefoods-playwright"],
aliases: ["wholefoods", "whole foods"],
availability: "requiresConnector",
showInConnectList: true,
ingestScope: "wholefoods.orders",
},
]