File tree Expand file tree Collapse file tree 10 files changed +413
-5
lines changed
Expand file tree Collapse file tree 10 files changed +413
-5
lines changed Original file line number Diff line number Diff line change 1+ // src/components/PageBanner.tsx
2+ import React from 'react' ;
3+ import styles from "./styles.module.css" ;
4+ import LinkToNotebookLink from './LinkToNotebookLink' ;
5+
6+ export default function Banner ( ) {
7+ return (
8+ < div className = { styles . banner_container } >
9+ < div className = { styles . banner_text_overlay } >
10+ < div className = { styles . banner_text_overlay_title } > Introducing < span className = { styles . notebook_link } > Notebook.link</ span > </ div >
11+ < div className = { styles . banner_text_overlay_subtile } > The future of notebook sharing</ div >
12+ < LinkToNotebookLink label = { "Get started" } />
13+ </ div >
14+ </ div >
15+ ) ;
16+ }
Original file line number Diff line number Diff line change 1+ import styles from "./styles.module.css" ;
2+
3+ export default function LinkToNotebookLink ( { label} ) {
4+ return (
5+ < div className = "flex-full-centered" >
6+ < a className = { `link-to-button ${ styles . link_to_notebook_link } ` } href = "https://notebook.link" > { label } </ a >
7+ </ div >
8+ ) ;
9+ }
Original file line number Diff line number Diff line change 11import styles from "./styles.module.css" ;
22import SimpleSlider from "./LogosTableBy8" ;
33import Astronaut from "/img/quantstack/astronaut.svg" ;
4+ import Banner from "./Banner" ;
5+
46
57export function Hero ( ) {
68 return (
79 < div className = { styles . hero_container } >
10+ < Banner />
11+ < div className = { styles . banner_image } >
12+ </ div >
813 < div className = "main-container-with-margins" >
9- < div className = "container upper-container-with-margin-top" >
14+ < div >
1015 < div className = { "row row--no-gutters flex-full-centered" } >
1116 < div className = "col col--6 col--offset-1" >
1217 < h1 className = "padding-none" >
Original file line number Diff line number Diff line change 1111 padding-bottom : var (--ifm-spacing-3xl );
1212}
1313
14+ .banner_container {
15+ position : relative;
16+ width : 100% ;
17+ display : flex;
18+ align-items : center;
19+ background-image : url ('/img/banner/notebook-link-banner.svg' );
20+ background-position : center;
21+ background-repeat : no-repeat;
22+ height : 464px ;
23+ padding-bottom : 110px ;
24+ }
25+
26+ .banner_image {
27+ width : 100% ;
28+ height : auto;
29+ display : block;
30+ }
31+
32+ .banner_text_overlay {
33+ margin-top : 50px ;
34+ margin-left : auto;
35+ margin-right : auto;
36+ text-align : center;
37+ color : white;
38+ /* or whatever contrasts with your SVG */
39+ font-size : 2rem ;
40+ font-family : var (--ifm-font-family-kode-mono );
41+ }
42+
43+ .banner_text_overlay_title {
44+ font-size : 48px ;
45+ font-weight : 400 ;
46+ font-style : normal;
47+ line-height : 100% ;
48+ }
49+
50+ .banner_text_overlay_subtitle {
51+ font-size : 32px ;
52+ font-style : normal;
53+ }
54+
55+ .notebook_link {
56+ color : # FCF12B ;
57+ font-weight : 700 ;
58+ font-style : bold;
59+ line-height : 100% ;
60+ font-family : var (--ifm-font-family-inter );
61+ }
62+
63+ .link_to_notebook_link {
64+ display : flex;
65+ align-items : center;
66+ justify-content : center;
67+ background : linear-gradient (135deg ,
68+ # 5242FF,
69+ # 2A2A2A );
70+ color : white;
71+ width : 358px ;
72+ font-weight : 700 ;
73+ font-family : var (--ifm-font-family-roboto );
74+ font-weight : 600 ;
75+ font-size : 24px ;
76+ }
77+
1478@media only screen and (max-width : 996px ) {
79+
1580 /*Mobile*/
1681 .logos_carousel {
1782 display : none;
1883 }
1984}
2085
2186@media only screen and (min-width : 996px ) {
87+
2288 /*Desktop*/
2389 .table_with_8_customers {
2490 margin-bottom : var (--ifm-spacing-xl );
Original file line number Diff line number Diff line change 33@import url ("https://fonts.cdnfonts.com/css/rubik-one" );
44@import url ("https://fonts.cdnfonts.com/css/roboto-flex" );
55@import url ("https://fonts.googleapis.com/css2?family=Dosis" );
6+ @import url ('https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400;500;600;700&display=swap' );
7+ @import url ('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap' );
68
79: root {
810 --ifm-color-orange-jupyter : # f37726 ;
4749 --ifm-font-family-bebas-neue : "Bebas Neue" ;
4850 --ifm-font-family-rubik-one : "Rubik One" ;
4951 --ifm-font-family-dosis : "Dosis" ;
52+ --ifm-font-family-kode-mono : "Kode Mono" ;
53+ --ifm-font-family-inter : "Inter" ;
5054
5155 /* Spacing for margins and paddings */
5256 --ifm-spacing-none : 0px ;
You can’t perform that action at this time.
0 commit comments