File tree 3 files changed +36
-17
lines changed
3 files changed +36
-17
lines changed Original file line number Diff line number Diff line change 1
1
< nav class ="w-screen bg-white border-b ">
2
- < div class ="max-w-screen-2xl mx-auto w-full p-2 flex justify-between ">
2
+ < div
3
+ class ="max-w-screen-2xl mx-auto w-full p-2 flex items-center justify-center flex-col gap-2 sm:justify-between sm:!flex-row "
4
+ >
3
5
< a class ="flex items-center " href ="https://trieve.ai ">
4
6
< img
5
7
class ="corner-logo "
8
10
</ a >
9
11
< div
10
12
id ="nav-links "
11
- class ="font-medium flex items-center gap-4 justify-right "
13
+ class ="font-medium flex flex-wrap items-center gap-4 justify-center sm: justify-right "
12
14
>
13
15
< a
14
16
class ="flex items-center gap-1 text-black "
73
75
d ="M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l352 0 0 256c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256z "
74
76
/>
75
77
</ svg >
76
- < span > Meet With Sales </ span >
78
+ < span > Give Feedback </ span >
77
79
</ a >
78
80
</ div >
79
81
</ div >
Original file line number Diff line number Diff line change 27
27
rel ="stylesheet "
28
28
href ="
https://unpkg.com/@highlightjs/[email protected] /styles/default.min.css "
29
29
/>
30
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
30
31
< script src ="
https://unpkg.com/@highlightjs/[email protected] /highlight.min.js "
> </ script >
31
32
< script src ="
https://unpkg.com/@highlightjs/[email protected] /languages/javascript.min.js "
> </ script >
32
33
33
- < script >
34
+ < script type =" module " >
34
35
hljs . highlightAll ( ) ;
35
36
36
37
window . paramsData = { { params | tojson } } ;
52
53
padding : 0 ;
53
54
}
54
55
55
- body {
56
- overflow : hidden;
57
- }
58
-
59
56
nav {
60
57
border-color : var (--brand-color );
61
58
}
95
92
text-decoration-line : underline;
96
93
}
97
94
95
+ body {
96
+ min-height : 100vh ;
97
+ }
98
+
98
99
main {
99
100
font-family : "Maven Pro" , sans-serif;
100
101
line-height : 1.6 ;
105
106
padding-top : 48px ;
106
107
gap : 40px ;
107
108
width : 100vw ;
108
- height : 100vh ;
109
- overflow : hidden;
110
109
}
111
110
112
111
.corner-logo {
215
214
const rect = targetElement . getBoundingClientRect ( ) ;
216
215
217
216
// Get the bottom right corner coordinates
218
- const endX = rect . right + 128 ;
217
+ let endX = rect . right + 128 ;
218
+ if ( endX > window . innerWidth ) {
219
+ endX = window . innerWidth - 100 ;
220
+ }
221
+
219
222
const endY = rect . bottom + 45 ;
220
223
221
224
// Calculate start point (will be above and to the left of the end point)
Original file line number Diff line number Diff line change @@ -584,10 +584,6 @@ video {
584
584
display : flex;
585
585
}
586
586
587
- .hidden {
588
- display : none;
589
- }
590
-
591
587
.w-full {
592
588
width : 100% ;
593
589
}
@@ -608,18 +604,26 @@ video {
608
604
flex-direction : column;
609
605
}
610
606
607
+ .flex-wrap {
608
+ flex-wrap : wrap;
609
+ }
610
+
611
611
.items-center {
612
612
align-items : center;
613
613
}
614
614
615
- .justify-between {
616
- justify-content : space-between ;
615
+ .justify-center {
616
+ justify-content : center ;
617
617
}
618
618
619
619
.gap-1 {
620
620
gap : 0.25rem ;
621
621
}
622
622
623
+ .gap-2 {
624
+ gap : 0.5rem ;
625
+ }
626
+
623
627
.gap-4 {
624
628
gap : 1rem ;
625
629
}
@@ -657,3 +661,13 @@ video {
657
661
.underline {
658
662
text-decoration-line : underline;
659
663
}
664
+
665
+ @media (min-width : 640px ) {
666
+ .sm\:\!flex-row {
667
+ flex-direction : row !important ;
668
+ }
669
+
670
+ .sm\:justify-between {
671
+ justify-content : space-between;
672
+ }
673
+ }
You can’t perform that action at this time.
0 commit comments