diff --git a/src/components/ArticleSidebar/index.tsx b/src/components/ArticleSidebar/index.tsx new file mode 100644 index 00000000..e897afbb --- /dev/null +++ b/src/components/ArticleSidebar/index.tsx @@ -0,0 +1,35 @@ +import React from 'react'; +import ShareArticle from '../../templates/blog-post/ShareArticle'; +import { RenderToc } from '../BlogPostToc'; +import SidebarCta from '../SidebarCta'; +import { + container, + shareArticleDesktop, + tableOfContentsWrapper, +} from './styles.module.less'; + +interface ArticleSidebarProps { + article: { + title: string; + slug: string; + }; + tableOfContents: any; +} + +const ArticleSidebar = ({ article, tableOfContents }: ArticleSidebarProps) => { + return ( +
diff --git a/src/components/EtlToolsXvsYPage/SectionTwo/styles.module.less b/src/components/EtlToolsXvsYPage/SectionTwo/styles.module.less
index d42a6249..b30809be 100644
--- a/src/components/EtlToolsXvsYPage/SectionTwo/styles.module.less
+++ b/src/components/EtlToolsXvsYPage/SectionTwo/styles.module.less
@@ -6,7 +6,7 @@
display: flex;
gap: 48px;
- @media (max-width: 1240px) {
+ @media (max-width: 1150px) {
flex-direction: column;
}
@@ -180,47 +180,6 @@
}
}
-.leftColumn {
- display: flex;
- flex-direction: column;
- gap: 24px;
- height: 100%;
-
- @media (min-width: 426px) {
- min-width: 256px;
- }
-
- @media (min-width: 1241px) {
- position: sticky;
- top: 140px;
- }
-}
-
-.tableOfContentsWrapper {
- overflow: auto;
- max-height: 70vh;
-
- @media (max-height: 880px) {
- max-height: 65vh;
- }
-
- @media (max-height: 740px) {
- max-height: 60vh;
- }
-
- @media (max-height: 740px) {
- max-height: 50vh;
- }
-
- @media (max-height: 540px) {
- max-height: 40vh;
- }
-
- @media (max-height: 440px) {
- display: none;
- }
-}
-
.bold {
font-weight: 600;
}
diff --git a/src/components/PricingPage/SectionThree/index.tsx b/src/components/PricingPage/SectionThree/index.tsx
index bc76a411..2d18a925 100644
--- a/src/components/PricingPage/SectionThree/index.tsx
+++ b/src/components/PricingPage/SectionThree/index.tsx
@@ -1,20 +1,36 @@
import React from 'react';
+import clsx from 'clsx';
import { defaultWrapperDark } from '../../../globalStyles/wrappers.module.less';
import { PricingCalculator } from '../../PricingCalculator';
+import CopyToClipboardButton from '../../CopyToClipboardButton';
+import useWindowExistence from '../../../hooks/useWindowExistence';
import {
container,
title,
description,
textWrapper,
pricingCalculatorWrapper,
+ jumpLinkOffset,
} from './styles.module.less';
const SectionThree = () => {
+ const hasWindow = useWindowExistence();
+
return (
-
Use our intuitive pricing calculator to easily estimate
your monthly costs. Simply input your requirements, and
diff --git a/src/components/PricingPage/SectionThree/styles.module.less b/src/components/PricingPage/SectionThree/styles.module.less
index 13a861e0..0d6deb70 100644
--- a/src/components/PricingPage/SectionThree/styles.module.less
+++ b/src/components/PricingPage/SectionThree/styles.module.less
@@ -1,5 +1,9 @@
@import '../../../globalStyles/sections.module.less';
+.jumpLinkOffset {
+ scroll-margin-top: 32px;
+}
+
.container {
.globalMaxWidth;
display: flex;
@@ -25,6 +29,12 @@
@media (max-width: 1024px) {
text-align: center;
}
+
+ div:first-child {
+ display: flex;
+ align-items: center;
+ gap: 18px;
+ }
}
.title {
@@ -58,4 +68,4 @@
.pricingCalculatorWrapper {
display: flex;
flex-direction: column;
-}
+}
\ No newline at end of file
diff --git a/src/components/SidebarCta/index.tsx b/src/components/SidebarCta/index.tsx
new file mode 100644
index 00000000..7b933bb9
--- /dev/null
+++ b/src/components/SidebarCta/index.tsx
@@ -0,0 +1,25 @@
+import React from 'react';
+
+import { OutboundLinkFilled } from '../OutboundLink';
+import { dashboardRegisterUrl } from '../../../shared';
+import { container, image } from './styles.module.less';
+
+const SidebarCta = () => {
+ return (
+ PRICING CALCULATOR
+ PRICING CALCULATOR
+ {hasWindow ? (
+
+ Start streaming your data for free
+
+
- Start streaming your data{' '}
- for free
-
-