File tree Expand file tree Collapse file tree 3 files changed +88
-0
lines changed Expand file tree Collapse file tree 3 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ "use client" ;
2+
3+ declare global {
4+ interface Window {
5+ analytics : any ;
6+ }
7+ }
8+
9+ export default function InputForm ( props : { title : string , subtitle : string , placeholder : string } ) {
10+ return (
11+ < div className = "flex flex-col gap-[24px] mt-[48px] border-[1px] rounded-[8px] p-[48px] dark:bg-[#3A3536] dark:border-[#3A3536] bg-[#F9F9F9] border-[#E6E6E6]" >
12+ < h4 className = "font-[600] text-[24px] leading-[32px] dark:text-[#F9F9F9] text-[#231F20]" > { props . title } </ h4 >
13+ < p className = "text-[16px] leading-[24px] dark:text-[#E6E6E6] text-[#646265]" > { props . subtitle } </ p >
14+ < form
15+ action = "https://memgraph24563.activehosted.com/proc.php"
16+ method = "post"
17+ id = "mc-embedded-subscribe-form"
18+ name = "mc-embedded-subscribe-form"
19+ target = "_blank"
20+ className = "flex gap-[12px]"
21+ >
22+ < input type = "hidden" name = "u" value = "31" />
23+ < input type = "hidden" name = "f" value = "31" />
24+ < input type = "hidden" name = "s" />
25+ < input type = "hidden" name = "c" value = "0" />
26+ < input type = "hidden" name = "m" value = "0" />
27+ < input type = "hidden" name = "act" value = "sub" />
28+ < input type = "hidden" name = "v" value = "2" />
29+ < input type = "hidden" name = "or" value = "8746b1a9a146f3d041a04711f336c47b" />
30+ < input
31+ type = "email"
32+ name = "email"
33+ id = "mce-EMAIL"
34+ defaultValue = ""
35+ className = "px-[24px] border-[1px] border-[#E6E6E6] focus:outline-none focus:ring-0 focus:ring-offset-0 rounded-[6px] w-[60%] text-black dark:bg-[#E6E6E6] bg-white"
36+ placeholder = { props . placeholder } />
37+ < button className = "h-[48px] rounded-[5px] px-[12px] text-[#F9F9F9] duration-100 dark:!bg-[#FB6E00] dark:hover:!bg-[#231F20] !bg-[#231F20] hover:!bg-[#646265]" type = "submit" > Submit</ button >
38+ </ form >
39+ </ div >
40+ ) ;
41+ }
Original file line number Diff line number Diff line change 1+ ---
2+ title : What's coming soon to Memgraph?
3+ description : Upcoming product updates.
4+ ---
5+
6+ import InputForm from ' /components/input-form/InputForm'
7+
8+ # Upcoming product updates
9+
10+ <InputForm
11+ title = " Want to know what's coming to Memgraph before we release it?"
12+ subtitle = " Sign up for upcoming product releases and new features we're working on."
13+ placeholder = " Your email"
14+ />
Original file line number Diff line number Diff line change @@ -152,6 +152,39 @@ nav .nextra-scrollbar {
152152 line-height : 21px ;
153153}
154154
155+ /* Last sidebar element styles for dark mode */
156+ .dark .nextra-menu-desktop > : last-child ,
157+ .dark .nextra-menu-mobile > : last-child {
158+ background-color : # 646265 ;
159+ color : # F9F9F9 ;
160+ border-radius : 5px ;
161+ }
162+
163+ /* Last sidebar element styles for light mode */
164+ .light .nextra-menu-desktop > : last-child ,
165+ .light .nextra-menu-mobile > : last-child {
166+ background-color : # 3A3536 ;
167+ border-radius : 5px ;
168+ }
169+
170+ /* Last sidebar element link styles */
171+ .nextra-menu-desktop > : last-child > a ,
172+ .nextra-menu-desktop > .active : last-child > a ,
173+ .nextra-menu-mobile > : last-child > a ,
174+ .nextra-menu-mobile > .active : last-child > a {
175+ background : none;
176+ color : # F9F9F9!important ;
177+ font-size : 0 ;
178+ }
179+
180+ .nextra-menu-desktop > : last-child > a : after ,
181+ .nextra-menu-mobile > : last-child > a : after {
182+ width : 100% ;
183+ text-align : center;
184+ font-size : 14px ;
185+ content : 'What\'s coming next?' ;
186+ }
187+
155188/* Card hover styles */
156189.nextra-cards .nextra-card : hover {
157190 border-radius : 4px ;
You can’t perform that action at this time.
0 commit comments