mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-16 16:26:16 +02:00
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:
parent
3c5c7fbd31
commit
3e90f1e244
40 changed files with 702 additions and 195 deletions
|
@ -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" ? (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue