Skip to content

Commit

Permalink
feat: update solutions menu with WAF and Hashicorp pages (#40)
Browse files Browse the repository at this point in the history
* feat: updated menu items

* feat: added menu items for mobile

* fix: styles, added full url and set external field true

* fix: font color and font size
  • Loading branch information
anshpayal authored Oct 28, 2024
1 parent 4ea022e commit 01d138a
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/nav/DrawerNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ const DrawerNav = ({ isDrawerOpen }: Props) => {
<div className="sub-menu">
<SubLink href="https://traefik.io/solutions/kubernetes-ingress/">Kubernetes Ingress</SubLink>
<SubLink href="https://traefik.io/solutions/docker-swarm-ingress/">Docker Swarm Ingress</SubLink>
<SubLink href="https://traefik.io/solutions/hashicorp-and-traefik/">Traefik & HashiCrop</SubLink>
<SubLink href="https://traefik.io/solutions/api-management/">API Management</SubLink>
<SubLink href="https://traefik.io/solutions/waf/">Web Application Firewall</SubLink>
<SubLink href="https://traefik.io/solutions/api-gateway/">API Gateway</SubLink>
</div>
</div>
Expand Down
16 changes: 16 additions & 0 deletions src/components/nav/MainNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import { ReactComponent as CommunityIcon } from '../../images/menu_icons_communi
import { ReactComponent as ProxyIcon } from '../../images/menu_icons_traefik_proxy.svg'
import { ReactComponent as EnterpriseIcon } from '../../images/menu_icons_traefik_enterprise.svg'
import { ReactComponent as HubIcon } from '../../images/menu_icons_traefik_hub.svg'
import { ReactComponent as WafIcon } from '../../images/menu_icons_waf.svg'
import { ReactComponent as HashicorpIcon } from '../../images/menu_icons_hashicorp.svg'
import PostCard from './PostCard'

const Wrapper = styled(Flex)`
Expand Down Expand Up @@ -137,6 +139,20 @@ const MainNav = () => {
description: 'Centralize security and routing in a single entry point for microservices deployments.',
icon: <APIManagementIcon />,
},
{
title: 'Web Application Firewall',
url: 'https://traefik.io/solutions/waf/',
external: true,
description: 'Protect your APIs from threats with speed and efficiency',
icon: <WafIcon />,
},
{
title: 'Traefik & HashiCorp',
url: 'https://traefik.io/solutions/hashicorp-and-traefik/',
external: true,
description: 'A comprehensive and powerful API Gateway for HashiCorp stack.',
icon: <HashicorpIcon />,
},
]}
bgImage={'https://traefik.io/images/site-nav/PatternBG-1@3x.png'}
/>
Expand Down
36 changes: 36 additions & 0 deletions src/images/menu_icons_hashicorp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions src/images/menu_icons_waf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 01d138a

Please sign in to comment.