hds-web 1.20.8 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/HDS/components/Headers/v3Header.js +13 -12
- package/src/HDS/helpers/AlgoliaSearch/searchresults.js +0 -1
- package/src/styles/tailwind.css +4 -0
package/package.json
CHANGED
@@ -6,7 +6,7 @@ import { V3Dropdown } from '../Cards/Dropdown'
|
|
6
6
|
import { HDSColor } from '../../foundation/ColorPalette';
|
7
7
|
import { motion } from "framer-motion"
|
8
8
|
import { AnimatePresence } from 'framer-motion';
|
9
|
-
import { AlgoliaSearch } from '../../helpers/AlgoliaSearch';
|
9
|
+
//import { AlgoliaSearch } from '../../helpers/AlgoliaSearch';
|
10
10
|
|
11
11
|
function classNames(...classes) {
|
12
12
|
return classes.filter(Boolean).join(' ')
|
@@ -131,17 +131,18 @@ export default function V3Header(props) {
|
|
131
131
|
<>
|
132
132
|
{renderDropdownContainer(headerList, 0)}
|
133
133
|
{renderDropdownContainer(headerList, 1)}
|
134
|
-
{renderDropdownContainer(headerList, 3)}
|
135
134
|
{<a href='/case-studies/'>
|
136
135
|
|
137
136
|
<Typography
|
138
|
-
|
139
|
-
|
137
|
+
className="hover:text-blue-600 cursor-pointer"
|
138
|
+
textStyle="body3c-medium"
|
140
139
|
>
|
141
|
-
|
142
|
-
|
143
|
-
|
140
|
+
{`Customers `}
|
141
|
+
</Typography>
|
142
|
+
</a>
|
144
143
|
}
|
144
|
+
{renderDropdownContainer(headerList, 3)}
|
145
|
+
|
145
146
|
{<a href='/pricing'>
|
146
147
|
|
147
148
|
<Typography
|
@@ -278,7 +279,7 @@ export default function V3Header(props) {
|
|
278
279
|
</div>
|
279
280
|
<div className='hds-hidden-tbl flex z-[10] items-center gap-6'>
|
280
281
|
<div className={'h-full ' + ((mobileNavOpen) ? " hds-hidden" : "")}>
|
281
|
-
<AlgoliaSearch {...props} />
|
282
|
+
{/* <AlgoliaSearch {...props} /> */}
|
282
283
|
</div>
|
283
284
|
{!(isCompany || isDeveloper || isProduct) &&
|
284
285
|
(
|
@@ -297,7 +298,7 @@ export default function V3Header(props) {
|
|
297
298
|
</div>
|
298
299
|
<div className='hds-hidden tb-l:flex flex-row w-full justify-between items-center'>
|
299
300
|
|
300
|
-
<nav className="hds-hidden items-
|
301
|
+
<nav className="hds-hidden items-baseline relative tb-l:pl-8 tb-l:flex tb-l:space-x-6"
|
301
302
|
onMouseEnter={() => setIsArrowActive(true)}
|
302
303
|
onMouseLeave={() => setIsArrowActive(false)}
|
303
304
|
|
@@ -308,7 +309,7 @@ export default function V3Header(props) {
|
|
308
309
|
|
309
310
|
<div className='hds-hidden tb-l:flex flex-row items-center gap-x-4 '>
|
310
311
|
|
311
|
-
<AlgoliaSearch {...props} />
|
312
|
+
{/* <AlgoliaSearch {...props} /> */}
|
312
313
|
|
313
314
|
<a href='/contact-us?type=hasuraenterprise' className='hds-hidden db:flex'>
|
314
315
|
<Typography textStyle='body3c-medium' className='text-neutral-800 hover:text-blue-600'>
|
@@ -492,8 +493,8 @@ V3Header.defaultProps = {
|
|
492
493
|
title: 'Product',
|
493
494
|
primaryCard: {
|
494
495
|
iconVariant: 'layersthree01',
|
495
|
-
mainDescription: '
|
496
|
-
primaryBtnLabel: 'Hasura Platform',
|
496
|
+
mainDescription: `Discover Hasura's core capabilities for automating the building, securing, optimizing, and deploying of APIs.`,
|
497
|
+
primaryBtnLabel: 'Hasura Data API Platform',
|
497
498
|
primaryBtnCTA:'/products',
|
498
499
|
strokeClass: 'stroke-neutral-800',
|
499
500
|
tertiaryBtn: [
|
@@ -12,7 +12,6 @@ const baseDomain = 'hasura.io';
|
|
12
12
|
|
13
13
|
const HitsHeader = ({ searchResults, indexTitle, showSeparator, allIndex }) => {
|
14
14
|
const hitCount = searchResults && searchResults.nbHits;
|
15
|
-
console.log(allIndex)
|
16
15
|
const titleIcon = () => {
|
17
16
|
if(indexTitle === "Hasura Blog") {
|
18
17
|
return (
|