hds-web 1.1.9 → 1.2.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/package.json
CHANGED
@@ -142,14 +142,14 @@ export default function V3Header(props) {
|
|
142
142
|
)
|
143
143
|
|
144
144
|
return (
|
145
|
-
<Popover className="relative
|
145
|
+
<Popover className="relative">
|
146
146
|
<div className="flex items-center bg-neutral-50 justify-between p-6 md:justify-start md:space-x-6">
|
147
147
|
<div>
|
148
|
-
<a href=
|
149
|
-
<Icon variant={'hasuraPrimary'} strokeColor={''} />
|
148
|
+
<a href={props.headerUrl} className="flex items-center">
|
149
|
+
<Icon height='w-[103px] h-[33px]' variant={'hasuraPrimary'} strokeColor={''} />
|
150
150
|
</a>
|
151
151
|
</div>
|
152
|
-
<div className="
|
152
|
+
<div className="tb:hidden">
|
153
153
|
<Popover.Button className="inline-flex items-center justify-center rounded-md bg-white p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500">
|
154
154
|
<span className="sr-only">Open menu</span>
|
155
155
|
<div className=' gap-6 flex'>
|
@@ -158,7 +158,7 @@ export default function V3Header(props) {
|
|
158
158
|
</div>
|
159
159
|
</Popover.Button>
|
160
160
|
</div>
|
161
|
-
<div className="hidden
|
161
|
+
<div className="hidden tb:flex tb:flex-1 tb:items-center tb:justify-between">
|
162
162
|
<Popover.Group as="nav" className="flex space-x-6">
|
163
163
|
{headerListfn(props.HEADER_LIST)}
|
164
164
|
</Popover.Group>
|
@@ -364,5 +364,6 @@ V3Header.defaultProps = {
|
|
364
364
|
]
|
365
365
|
},
|
366
366
|
|
367
|
-
]
|
367
|
+
],
|
368
|
+
headerUrl:'https://hasura.io/'
|
368
369
|
}
|
@@ -166,8 +166,8 @@ export default function HeroSecondary({ heroData, logo, scrollArrow, fontSize })
|
|
166
166
|
|
167
167
|
const imageCard = (heroData) => (
|
168
168
|
heroData.imageUrl && (
|
169
|
-
<div className="
|
170
|
-
<img src={heroData.imageUrl} alt={heroData.imageAlt} className='w-full
|
169
|
+
<div className="">
|
170
|
+
<img src={heroData.imageUrl} alt={heroData.imageAlt} className='w-full' />
|
171
171
|
</div>
|
172
172
|
)
|
173
173
|
)
|
@@ -178,8 +178,8 @@ export default function HeroSecondary({ heroData, logo, scrollArrow, fontSize })
|
|
178
178
|
<div className="">
|
179
179
|
<div className={"max-w-7xl mx-auto px-20 py-20 rounded-3xl overflow-hidden " + ((heroData.bg_color) ? heroData.bg_color : "")} >
|
180
180
|
<div className="w-full">
|
181
|
-
<div className={"tb-l:flex tb-l:items-center tb-l:flex-row db:w-full flex flex-col-reverse tb:gap-x-16 db:gap-x-10 min-[1880px]:gap-x-72" + ((heroData.video_url) ? " " : " tb:flex")}>
|
182
|
-
<div className='w-full tb:flex items-start tb:flex-col mt-4 tb:mt-0'
|
181
|
+
<div className={"tb-l:flex tb-l:justify-between tb-l:items-center tb-l:flex-row db:w-full flex flex-col-reverse tb:gap-x-16 db:gap-x-10 min-[1880px]:gap-x-72" + ((heroData.video_url) ? " " : " tb:flex")}>
|
182
|
+
<div className='max-w-[29.18rem] w-full tb:flex items-start tb:flex-col mt-4 tb:mt-0'
|
183
183
|
>
|
184
184
|
{
|
185
185
|
heroData.tag_line && (
|
@@ -208,7 +208,11 @@ export default function HeroSecondary({ heroData, logo, scrollArrow, fontSize })
|
|
208
208
|
|
209
209
|
|
210
210
|
</div>
|
211
|
+
<div className="">
|
212
|
+
|
213
|
+
|
211
214
|
{imageCard(heroData)}
|
215
|
+
</div>
|
212
216
|
</div>
|
213
217
|
|
214
218
|
{LinkCardsFn(heroData)}
|
package/src/styles/tailwind.css
CHANGED
@@ -1365,6 +1365,10 @@ select {
|
|
1365
1365
|
height: 100%;
|
1366
1366
|
}
|
1367
1367
|
|
1368
|
+
.h-\[33px\] {
|
1369
|
+
height: 33px;
|
1370
|
+
}
|
1371
|
+
|
1368
1372
|
.max-h-\[26\.25\] {
|
1369
1373
|
max-height: 26.25;
|
1370
1374
|
}
|
@@ -1491,6 +1495,14 @@ select {
|
|
1491
1495
|
width: 100vw;
|
1492
1496
|
}
|
1493
1497
|
|
1498
|
+
.w-\[104px\] {
|
1499
|
+
width: 104px;
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
.w-\[103px\] {
|
1503
|
+
width: 103px;
|
1504
|
+
}
|
1505
|
+
|
1494
1506
|
.min-w-\[15rem\] {
|
1495
1507
|
min-width: 15rem;
|
1496
1508
|
}
|
@@ -1559,6 +1571,10 @@ select {
|
|
1559
1571
|
max-width: min-content;
|
1560
1572
|
}
|
1561
1573
|
|
1574
|
+
.max-w-\[29\.18rem\] {
|
1575
|
+
max-width: 29.18rem;
|
1576
|
+
}
|
1577
|
+
|
1562
1578
|
.flex-1 {
|
1563
1579
|
flex: 1 1 0%;
|
1564
1580
|
}
|
@@ -8015,6 +8031,10 @@ select {
|
|
8015
8031
|
max-width: 530px;
|
8016
8032
|
}
|
8017
8033
|
|
8034
|
+
.tb\:flex-1 {
|
8035
|
+
flex: 1 1 0%;
|
8036
|
+
}
|
8037
|
+
|
8018
8038
|
.tb\:grid-cols-2 {
|
8019
8039
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
8020
8040
|
}
|
@@ -8043,6 +8063,10 @@ select {
|
|
8043
8063
|
justify-content: center;
|
8044
8064
|
}
|
8045
8065
|
|
8066
|
+
.tb\:justify-between {
|
8067
|
+
justify-content: space-between;
|
8068
|
+
}
|
8069
|
+
|
8046
8070
|
.tb\:gap-0 {
|
8047
8071
|
gap: 0px;
|
8048
8072
|
}
|
@@ -8572,6 +8596,14 @@ select {
|
|
8572
8596
|
justify-content: flex-start;
|
8573
8597
|
}
|
8574
8598
|
|
8599
|
+
.tb-l\:justify-end {
|
8600
|
+
justify-content: flex-end;
|
8601
|
+
}
|
8602
|
+
|
8603
|
+
.tb-l\:justify-between {
|
8604
|
+
justify-content: space-between;
|
8605
|
+
}
|
8606
|
+
|
8575
8607
|
.tb-l\:gap-0 {
|
8576
8608
|
gap: 0px;
|
8577
8609
|
}
|