File tree Expand file tree Collapse file tree 3 files changed +36
-17
lines changed
Expand file tree Collapse file tree 3 files changed +36
-17
lines changed Original file line number Diff line number Diff line change 11< 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+ >
35 < a class ="flex items-center " href ="https://trieve.ai ">
46 < img
57 class ="corner-logo "
810 </ a >
911 < div
1012 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 "
1214 >
1315 < a
1416 class ="flex items-center gap-1 text-black "
7375 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 "
7476 />
7577 </ svg >
76- < span > Meet With Sales </ span >
78+ < span > Give Feedback </ span >
7779 </ a >
7880 </ div >
7981 </ div >
Original file line number Diff line number Diff line change 2727 rel ="stylesheet "
2828 href ="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/styles/default.min.css "
2929 />
30+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
3031 < script src ="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js "> </ script >
3132 < script src ="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/languages/javascript.min.js "> </ script >
3233
33- < script >
34+ < script type =" module " >
3435 hljs . highlightAll ( ) ;
3536
3637 window . paramsData = { { params | tojson } } ;
5253 padding : 0 ;
5354 }
5455
55- body {
56- overflow : hidden;
57- }
58-
5956 nav {
6057 border-color : var (--brand-color );
6158 }
9592 text-decoration-line : underline;
9693 }
9794
95+ body {
96+ min-height : 100vh ;
97+ }
98+
9899 main {
99100 font-family : "Maven Pro" , sans-serif;
100101 line-height : 1.6 ;
105106 padding-top : 48px ;
106107 gap : 40px ;
107108 width : 100vw ;
108- height : 100vh ;
109- overflow : hidden;
110109 }
111110
112111 .corner-logo {
215214 const rect = targetElement . getBoundingClientRect ( ) ;
216215
217216 // 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+
219222 const endY = rect . bottom + 45 ;
220223
221224 // 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 {
584584 display : flex;
585585}
586586
587- .hidden {
588- display : none;
589- }
590-
591587.w-full {
592588 width : 100% ;
593589}
@@ -608,18 +604,26 @@ video {
608604 flex-direction : column;
609605}
610606
607+ .flex-wrap {
608+ flex-wrap : wrap;
609+ }
610+
611611.items-center {
612612 align-items : center;
613613}
614614
615- .justify-between {
616- justify-content : space-between ;
615+ .justify-center {
616+ justify-content : center ;
617617}
618618
619619.gap-1 {
620620 gap : 0.25rem ;
621621}
622622
623+ .gap-2 {
624+ gap : 0.5rem ;
625+ }
626+
623627.gap-4 {
624628 gap : 1rem ;
625629}
@@ -657,3 +661,13 @@ video {
657661.underline {
658662 text-decoration-line : underline;
659663}
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