Closed w3bdesign closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
dfweb-v4 | ❌ Failed (Inspect) | Jul 26, 2024 7:28am |
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Related to #239
Replace hardcoded navigation with data fetched from Sanity CMS.
navigationQuery
insrc/lib/sanity/queries.ts
to fetch navigation data from Sanity CMS.LINKS
constant fromsrc/constants/LINKS.ts
.Header
component insrc/components/Layout/Header.component.tsx
to fetch navigation data using thenavigationQuery
and replace the hardcodedLINKS
.MobileMenu
component insrc/components/Layout/MobileMenu.component.tsx
to fetch navigation data using thenavigationQuery
and replace the hardcodedlinks
prop.__tests__/Layout/MobileMenu.test.tsx
to ensure they work with the new navigation data fetched from Sanity CMS.For more details, open the Copilot Workspace session.