proxy: well known service icons (#5453)

* proxy: add logo discovery

* use a static url for testing

* well known service icons

* better fitting avatars
This commit is contained in:
Caleb Doxsey 2025-01-30 08:52:59 -07:00 committed by GitHub
parent 3c5c7fbd31
commit 3e90f1e244
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 702 additions and 195 deletions

View file

@ -39,7 +39,17 @@ const RouteCard: FC<RouteCardProps> = ({ route }) => {
<CardHeader
avatar={
route.logo_url ? (
<Avatar src={route.logo_url} />
<Avatar
src={route.logo_url}
variant="square"
slotProps={{
img: {
sx: {
objectFit: "scale-down",
},
},
}}
/>
) : route.type === "tcp" ? (
<Avatar>TCP</Avatar>
) : route.type === "udp" ? (