Skip to content

Commit 355e59f

Browse files
authored
add pricing link to hub nav section
1 parent fd24d52 commit 355e59f

File tree

1 file changed

+29
-23
lines changed

1 file changed

+29
-23
lines changed

src/components/nav/MainNav.tsx

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,6 @@ const MainNav: React.FC = () => {
4040
<Flex as="ul" sx={{ height: '100%', alignItems: 'center', p: 0, m: 0, listStyle: 'none' }}>
4141
<NavItem name="Products" hasSubmenu>
4242
<Grid sx={{ gridTemplateColumns: 'repeat(2, 364px)' }}>
43-
<Product
44-
title="Traefik Enterprise"
45-
description="The API Gateway Cloud Natives Trust"
46-
logo={<TraefikEnterpriseLogo />}
47-
url="https://traefik.io/traefik-enterprise/"
48-
color="#337fe6"
49-
links={[
50-
{
51-
title: 'Pricing',
52-
url: 'https://traefik.io/pricing/',
53-
external: true,
54-
icon: <PriceTagIcon aria-hidden="true" />,
55-
},
56-
{
57-
title: 'Free Trial',
58-
url: 'https://info.traefik.io/get-traefik-enterprise-free-for-30-days',
59-
external: true,
60-
icon: <LaptopIcon aria-hidden="true" />,
61-
},
62-
]}
63-
/>
6443
<Product
6544
title="Traefik Hub"
6645
titleHtml={
@@ -79,12 +58,17 @@ const MainNav: React.FC = () => {
7958
</Heading>
8059
</Flex>
8160
}
82-
description="Your APIs deserve better"
61+
description="Kubernetes-Native API Management"
8362
logo={<TraefikHubLogo />}
8463
url="https://traefik.io/traefik-hub/"
8564
color="#7f8c2b"
86-
bgColor="#f4f5f6"
8765
links={[
66+
{
67+
title: 'Pricing',
68+
url: 'https://traefik.io/pricing/',
69+
external: true,
70+
icon: <PriceTagIcon aria-hidden="true" />,
71+
},
8872
{
8973
title: 'Free Trial',
9074
url: 'http://traefik.io/traefik-hub-signup',
@@ -93,6 +77,28 @@ const MainNav: React.FC = () => {
9377
},
9478
]}
9579
/>
80+
<Product
81+
title="Traefik Enterprise"
82+
description="The API Gateway Cloud Natives Trust"
83+
logo={<TraefikEnterpriseLogo />}
84+
url="https://traefik.io/traefik-enterprise/"
85+
color="#337fe6"
86+
bgColor="#f4f5f6"
87+
links={[
88+
{
89+
title: 'Pricing',
90+
url: 'https://traefik.io/pricing/',
91+
external: true,
92+
icon: <PriceTagIcon aria-hidden="true" />,
93+
},
94+
{
95+
title: 'Free Trial',
96+
url: 'https://info.traefik.io/get-traefik-enterprise-free-for-30-days',
97+
external: true,
98+
icon: <LaptopIcon aria-hidden="true" />,
99+
},
100+
]}
101+
/>
96102
</Grid>
97103
</NavItem>
98104

0 commit comments

Comments
 (0)