Skip to content

Commit

Permalink
Merge pull request #2 from vtex-sites/fix/configs
Browse files Browse the repository at this point in the history
add configs
  • Loading branch information
tlgimenes authored Jul 13, 2021
2 parents 2a0d4fb + c96d478 commit a3a784b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const VTEXLHConfig = require('@vtex/lighthouse-config').default

const urls = ['', '/vintage-phone/p', '/apparel---accessories']
const urls = ['', '/luminaria-zelda/p', '/candy']

module.exports = VTEXLHConfig({ urls, server: process.env.BASE_SITE_URL })
8 changes: 4 additions & 4 deletions src/components/common/Header/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import type { FC } from 'react'

const CustomMenu: FC<{ variant?: string }> = ({ variant }) => (
<Flex as="nav" variant={variant}>
<LocalizedLink to="/apparel---accessories" activeClassName="active">
Apparel
<LocalizedLink to="/candy" activeClassName="active">
Candy
</LocalizedLink>
<LocalizedLink to="/electronics" activeClassName="active">
Electronics
<LocalizedLink to="/sunglasses" activeClassName="active">
Sunglasses
</LocalizedLink>
<LocalizedLink to="/about" activeClassName="active">
About
Expand Down
2 changes: 1 addition & 1 deletion staticPaths.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["/apparel---accessories", "/apparel---accessories/hats"]
["/candy"]
2 changes: 1 addition & 1 deletion vtex.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GATSBY_VTEX_ACCOUNT=storecomponents
GATSBY_VTEX_ACCOUNT=famstore
GATSBY_VTEX_ENVIRONMENT=vtexcommercestable
GATSBY_VTEX_IO_WORKSPACE=master
GATSBY_EXPERIMENTAL_QUERY_CONCURRENCY=20
Expand Down

0 comments on commit a3a784b

Please sign in to comment.