Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

docs: incorporate some redesign feedback

Martin Adámekba6e3b2ab725
diff --git a/website/src/css/custom.css b/website/src/css/custom.css
index 5e9509522..79290b01b 100644
--- a/website/src/css/custom.css
+++ b/website/src/css/custom.css
@@ -126,6 +126,10 @@ html[data-theme="dark"] .DocSearch-Button .DocSearch-Search-Icon {
justify-content: center;
}
+.main-wrapper {
+ overflow-x: hidden;
+}
+
.main-wrapper > div {
max-width: var(--max-layout-width);
}
@@ -331,18 +335,25 @@ h1#change-log {
display: none;
}
-@media (min-width: 996px) and (max-width: 1250px) {
+@media (min-width: 997px) and (max-width: 1250px) {
.navbar__items--right a.icon {
display: none;
}
}
-@media (min-width: 996px) and (max-width: 1130px) {
+@media (min-width: 997px) and (max-width: 1130px) {
.navbar__link.changelog {
display: none;
}
}
+@media (min-width: 997px) and (max-width: 1439px) {
+ footer .col--offset-9 {
+ --ifm-col-width: calc(4 / 12 * 100%);
+ margin-left: calc(8 / 12 * 100%);
+ }
+}
+
html .theme-doc-sidebar-container {
border: 0;
}
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index df1ac1620..d5bd8aefe 100644
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -37,7 +37,7 @@ function Hero() {
</div>
</div>
</div>
- <div className="col col--5">
+ <div className={clsx(styles.relative, 'col', 'col--5')}>
<div className={styles.logoBlur}>
<SvgLogoBlur className={clsx(styles.hideSmall)} />
</div>
diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.css
index c14594407..9eebb64ae 100644
--- a/website/src/pages/index.module.css
+++ b/website/src/pages/index.module.css
@@ -28,7 +28,7 @@
.codeBlock {
position: absolute;
- top: 45%;
+ top: 40%;
max-width: 400px;
width: 100%;
}
@@ -110,7 +110,7 @@ html[data-theme='dark'] .heroBanner h2 {
margin-bottom: 50px;
}
-@media only screen and (max-device-width: 995px) {
+@media only screen and (max-device-width: 996px) {
.codeBlock {
position: relative;
top: 50px;
diff --git a/website/static/img/footer-apify-logo.svg b/website/static/img/footer-apify-logo.svg
index b741f2b13..032ec22b3 100644
--- a/website/static/img/footer-apify-logo.svg
+++ b/website/static/img/footer-apify-logo.svg
@@ -1,30 +1,23 @@
<svg width="91" height="25" viewBox="0 0 91 25" fill="none" xmlns="http://www.w3.org/2000/svg">
- <g clip-path="url(#clip0_684_51987)">
- <path
- d="M3.13535 2.85082C2.6917 2.91225 2.2645 3.06051 1.87818 3.28712C1.49185 3.51373 1.15397 3.81425 0.883847 4.17151C0.613722 4.52876 0.416649 4.93575 0.30389 5.36921C0.191131 5.80267 0.164898 6.2541 0.226689 6.6977L2.24324 21.0956L10.7262 1.79199L3.13535 2.85082Z"
- fill="#97D700"/>
- <path
- d="M23.6042 14.8474L22.8114 3.77856C22.7446 2.87835 22.3241 2.04122 21.6417 1.45027C20.9593 0.859321 20.0707 0.562647 19.1702 0.625142C19.094 0.625142 19.0177 0.639331 18.9432 0.649972L15.6692 1.10223L22.861 17.2258C23.401 16.5557 23.6665 15.7057 23.6042 14.8474Z"
- fill="#71C5E8"/>
- <path
- d="M5.3363 24.595C5.91693 24.6609 6.50473 24.5754 7.04248 24.3467L19.3919 19.1359L13.5143 5.9707L5.3363 24.595Z"
- fill="#FF9013"/>
- <path
- d="M33.8306 5.30371H37.7325L43.1809 19.9268H39.687L38.6654 16.933H32.7878L31.7626 19.9268H28.3787L33.8306 5.30371ZM33.6533 14.3365H37.7928L35.7922 8.34184H35.7071L33.6533 14.3365Z"
- fill="white"/>
- <path d="M58.8416 5.30371H62.1439V19.9268H58.8416V5.30371Z" fill="white"/>
- <path d="M64.634 5.30371H75.3446V8.00309H67.9435V12.1054H73.9063V14.7373H67.9435V19.9233H64.634V5.30371Z"
- fill="white"/>
- <path
- d="M82.1161 14.3791L76.618 5.30371H80.3656L83.7939 11.3197H83.8791L87.4776 5.30371H91L85.4398 14.3578V19.9268H82.1161V14.3791Z"
- fill="white"/>
- <path
- d="M51.7508 5.30371H44.4579V19.9268H47.7585V15.2925H51.7508C53.0754 15.2925 54.3458 14.7663 55.2824 13.8297C56.219 12.893 56.7452 11.6227 56.7452 10.2981C56.7452 8.9735 56.219 7.70316 55.2824 6.76653C54.3458 5.8299 53.0754 5.30371 51.7508 5.30371ZM51.3855 12.7208H47.7585V7.87539H51.3855C52.028 7.87539 52.6442 8.13064 53.0986 8.58499C53.5529 9.03933 53.8082 9.65555 53.8082 10.2981C53.8082 10.9406 53.5529 11.5569 53.0986 12.0112C52.6442 12.4655 52.028 12.7208 51.3855 12.7208Z"
- fill="white"/>
- </g>
- <defs>
- <clipPath id="clip0_684_51987">
- <rect width="90.807" height="24" fill="white" transform="translate(0.192993 0.616211)"/>
- </clipPath>
- </defs>
+ <path
+ d="M3.13535 2.85082C2.6917 2.91225 2.2645 3.06051 1.87818 3.28712C1.49185 3.51373 1.15397 3.81425 0.883847 4.17151C0.613722 4.52876 0.416649 4.93575 0.30389 5.36921C0.191131 5.80267 0.164898 6.2541 0.226689 6.6977L2.24324 21.0956L10.7262 1.79199L3.13535 2.85082Z"
+ fill="#97D700"/>
+ <path
+ d="M23.6042 14.8474L22.8114 3.77856C22.7446 2.87835 22.3241 2.04122 21.6417 1.45027C20.9593 0.859321 20.0707 0.562647 19.1702 0.625142C19.094 0.625142 19.0177 0.639331 18.9432 0.649972L15.6692 1.10223L22.861 17.2258C23.401 16.5557 23.6665 15.7057 23.6042 14.8474Z"
+ fill="#71C5E8"/>
+ <path
+ d="M5.3363 24.595C5.91693 24.6609 6.50473 24.5754 7.04248 24.3467L19.3919 19.1359L13.5143 5.9707L5.3363 24.595Z"
+ fill="#FF9013"/>
+ <path
+ d="M33.8306 5.30371H37.7325L43.1809 19.9268H39.687L38.6654 16.933H32.7878L31.7626 19.9268H28.3787L33.8306 5.30371ZM33.6533 14.3365H37.7928L35.7922 8.34184H35.7071L33.6533 14.3365Z"
+ fill="white"/>
+ <path d="M58.8416 5.30371H62.1439V19.9268H58.8416V5.30371Z" fill="white"/>
+ <path d="M64.634 5.30371H75.3446V8.00309H67.9435V12.1054H73.9063V14.7373H67.9435V19.9233H64.634V5.30371Z"
+ fill="white"/>
+ <path
+ d="M82.1161 14.3791L76.618 5.30371H80.3656L83.7939 11.3197H83.8791L87.4776 5.30371H91L85.4398 14.3578V19.9268H82.1161V14.3791Z"
+ fill="white"/>
+ <path
+ d="M51.7508 5.30371H44.4579V19.9268H47.7585V15.2925H51.7508C53.0754 15.2925 54.3458 14.7663 55.2824 13.8297C56.219 12.893 56.7452 11.6227 56.7452 10.2981C56.7452 8.9735 56.219 7.70316 55.2824 6.76653C54.3458 5.8299 53.0754 5.30371 51.7508 5.30371ZM51.3855 12.7208H47.7585V7.87539H51.3855C52.028 7.87539 52.6442 8.13064 53.0986 8.58499C53.5529 9.03933 53.8082 9.65555 53.8082 10.2981C53.8082 10.9406 53.5529 11.5569 53.0986 12.0112C52.6442 12.4655 52.028 12.7208 51.3855 12.7208Z"
+ fill="white"/>
</svg>