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: remove launch banner (#1650)

Jindřich Bärd2d2e66d90cd
diff --git a/website/src/components/ProductHuntCard.jsx b/website/src/components/ProductHuntCard.jsx
deleted file mode 100644
index 6f308389e..000000000
--- a/website/src/components/ProductHuntCard.jsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react';
-import { useColorMode } from '@docusaurus/theme-common';
-
-export default function ProductHuntCard({ className, style }) {
- const { colorMode } = useColorMode();
- const theme = colorMode === 'light' ? 'light' : 'neutral';
- const src = `https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=356907&theme=${theme}`;
- return (
- <a
- href="https://www.producthunt.com/posts/crawlee"
- target="_blank"
- rel="noreferrer"
- className={className}
- style={{ display: 'block', width: 250, height: 54, ...style }}>
- <img
- src={src}
- alt="Crawlee - Crawlee helps you build reliable crawlers&#0046; Fast&#0046; | Product Hunt"
- style={{ width: 250, height: 54, maxWidth: 'initial' }}
- width={250}
- height={54}
- />
- </a>
- );
-}
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index 01c101588..6910ff816 100644
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -7,7 +7,6 @@ import CodeBlock from '@theme/CodeBlock';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import LiteYouTubeEmbed from 'react-lite-youtube-embed';
import Highlights from '../components/Highlights';
-import ProductHuntCard from '../components/ProductHuntCard';
import styles from './index.module.css';
import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css';
@@ -55,44 +54,6 @@ function Hero() {
);
}
-function TopBanner() {
- const HNLogo = require('../../static/img/logo-hn.svg').default;
- const PHLogo = require('../../static/img/logo-ph.svg').default;
- const GHLogo = require('../../static/img/logo-gh.svg').default;
- return (
- <section className={clsx('container', styles.topBanner)}>
- <div className="row">
- <div className="col col--8">
- <div className={clsx('container', styles.textRow)}>
- <div className="row">
- <h1>🎉 Crawlee is out!</h1>
- </div>
- <div className="row">
- Check Crawlee on{' '}
- <Link to="https://github.com/apify/crawlee">
- <GHLogo className={styles.ghLogoSmall} />
- GitHub
- </Link>,&nbsp;
- <Link to="https://news.ycombinator.com/item?id=32561127">
- <HNLogo className={styles.hnLogoSmall} />
- Hacker News
- </Link>
- &nbsp;and&nbsp;
- <Link to="https://www.producthunt.com/posts/crawlee">
- <PHLogo className={styles.phLogoSmall} />
- Product Hunt
- </Link>!
- </div>
- </div>
- </div>
- <div className={clsx('col col--4', styles.phcard)}>
- <ProductHuntCard />
- </div>
- </div>
- </section>
- );
-}
-
function Features() {
return (
<section className={clsx('container', styles.features)}>
@@ -195,7 +156,6 @@ export default function Home() {
<Layout
title={`${siteConfig.title} · ${siteConfig.tagline}`}
description={siteConfig.description}>
- <TopBanner />
<Hero />
<Features />
<Highlights />
diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.css
index 0059f7e9d..a086cc0ea 100644
--- a/website/src/pages/index.module.css
+++ b/website/src/pages/index.module.css
@@ -221,69 +221,3 @@ html[data-theme='dark'] .features {
fill: url(#gradient-1) !important;
stroke: url(#gradient-1) !important;
}
-
-.topBanner {
- margin-top: 50px;
- padding: 24px 60px;
- border: 1px solid #cfd4eb;
- border-radius: 6px;
- line-height: 40px;
-}
-
-.topBanner h1 {
- font-family: 'Lota Grotesque', sans-serif;
- font-size: 32px;
- color: #41465D;
- margin-top: 5px;
-}
-
-.topBanner a {
- text-decoration: underline;
- color: #41465d;
-}
-
-.topBanner a:hover {
- text-decoration: none;
-}
-
-.textRow {
- font-size: 16px;
- line-height: 36px;
- color: #41465d;
-}
-
-.textRow svg {
- margin: 0 5px;
- display: inline-block;
- position: relative;
- top: 4px;
-}
-
-html[data-theme='dark'] .textRow,
-html[data-theme='dark'] .topBanner h1,
-html[data-theme='dark'] .topBanner a {
- color: #f2f3fb;
-}
-
-html[data-theme='dark'] .ghLogoSmall path {
- fill: #f2f3fb;
-}
-
-html[data-theme='dark'] .hnLogoSmall {
- background: #f2f3fb;
-}
-
-html[data-theme='dark'] .phLogoSmall {
- background: #f2f3fb;
- border-radius: 100%;
-}
-
-html[data-theme='dark'] .zoomLogoSmall path {
- fill: #f2f3fb;
-}
-
-.phcard {
- display: flex;
- align-items: center;
- justify-content: flex-end;
-}
diff --git a/website/static/img/logo-gh.svg b/website/static/img/logo-gh.svg
deleted file mode 100644
index e5de68a6b..000000000
--- a/website/static/img/logo-gh.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M12 0.280015C9.14319 0.279166 6.3798 1.29753 4.20673 3.152C2.03365 5.00647 0.593462 7.57537 0.145123 10.3968C-0.303215 13.2182 0.269714 16.107 1.76089 18.5437C3.25206 20.9804 5.56365 22.8053 8.27999 23.69H8.55999C8.81543 23.7025 9.06593 23.6166 9.25999 23.45C9.37674 23.3483 9.46956 23.2221 9.5318 23.0803C9.59403 22.9386 9.62415 22.7848 9.61999 22.63V22.42C9.61999 22.25 9.61999 22.02 9.61999 21.33C9.61195 21.2651 9.59099 21.2025 9.55836 21.1458C9.52573 21.0891 9.48208 21.0396 9.42999 21C9.37307 20.9545 9.30688 20.9219 9.23606 20.9046C9.16523 20.8874 9.09149 20.8858 9.01999 20.9C6.32999 21.48 5.75999 19.8 5.72999 19.69C5.39173 18.7998 4.78774 18.0352 3.99999 17.5L3.84999 17.39C3.96807 17.333 4.09934 17.3088 4.22999 17.32C4.47922 17.3575 4.71474 17.458 4.91425 17.612C5.11375 17.766 5.27062 17.9684 5.36999 18.2C5.75684 18.8736 6.38987 19.3709 7.1359 19.5872C7.88193 19.8036 8.68279 19.7221 9.36999 19.36C9.44425 19.327 9.50992 19.2774 9.56194 19.215C9.61396 19.1526 9.65093 19.079 9.66999 19C9.71053 18.541 9.90835 18.11 10.23 17.78C10.3041 17.7161 10.3579 17.6318 10.3846 17.5375C10.4112 17.4433 10.4096 17.3433 10.38 17.25C10.3527 17.1565 10.2981 17.0733 10.2233 17.011C10.1485 16.9487 10.0569 16.91 9.95999 16.9C7.58999 16.63 5.15999 15.8 5.15999 11.71C5.14273 10.6815 5.52235 9.68592 6.21999 8.93001C6.28305 8.86096 6.32503 8.77531 6.34098 8.68317C6.35692 8.59102 6.34617 8.49624 6.30999 8.41001C6.03304 7.62995 6.03657 6.77775 6.31999 6.00001C7.24343 6.16503 8.11023 6.5606 8.83999 7.15001C8.90072 7.19153 8.97018 7.21853 9.043 7.22894C9.11583 7.23934 9.19007 7.23287 9.25999 7.21001C10.1538 6.97163 11.0749 6.85062 12 6.85001C12.9287 6.84561 13.8537 6.9667 14.75 7.21001C14.8183 7.23278 14.8909 7.23922 14.9621 7.22879C15.0333 7.21837 15.1011 7.19139 15.16 7.15001C15.8888 6.5591 16.756 6.16335 17.68 6.00001C17.9547 6.76957 17.9547 7.61046 17.68 8.38001C17.6438 8.46694 17.634 8.56259 17.6518 8.65505C17.6696 8.74751 17.7142 8.8327 17.78 8.90001C18.4668 9.64989 18.8423 10.6332 18.83 11.65C18.83 15.75 16.4 16.57 14.02 16.83C13.9231 16.84 13.8314 16.8787 13.7566 16.941C13.6818 17.0033 13.6273 17.0865 13.6 17.18C13.5712 17.2718 13.57 17.3701 13.5967 17.4626C13.6234 17.5551 13.6767 17.6377 13.75 17.7C13.9712 17.9309 14.1401 18.2067 14.2454 18.5086C14.3506 18.8106 14.3897 19.1316 14.36 19.45V22.63C14.3578 22.7855 14.3897 22.9395 14.4537 23.0812C14.5176 23.2229 14.612 23.3488 14.73 23.45C14.8789 23.5635 15.0527 23.6399 15.2371 23.673C15.4214 23.706 15.6109 23.6947 15.79 23.64C18.4752 22.7262 20.7499 20.8908 22.2106 18.4594C23.6713 16.028 24.2235 13.1578 23.7692 10.358C23.315 7.55817 21.8837 5.00976 19.7292 3.16489C17.5747 1.32001 14.8364 0.297948 12 0.280015Z"
- fill="#0A0B0D"/>
-</svg>
diff --git a/website/static/img/logo-hn.svg b/website/static/img/logo-hn.svg
deleted file mode 100644
index df95cbbea..000000000
--- a/website/static/img/logo-hn.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M0 24V0H24V24H0ZM6.951 5.896L11.063 13.604V18.668H12.646V13.696L16.794 5.897H15.045L12.588 10.772C12.216 11.517 11.9 12.206 11.9 12.206C11.9 12.206 11.603 11.498 11.249 10.772L8.831 5.896H6.951Z"
- fill="#F0652F"/>
-</svg>
diff --git a/website/static/img/logo-ph.svg b/website/static/img/logo-ph.svg
deleted file mode 100644
index 2913617a6..000000000
--- a/website/static/img/logo-ph.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M13.604 8.4H10.199V12H13.604C14.599 12 15.405 11.194 15.405 10.199C15.405 9.206 14.6 8.4 13.604 8.4ZM12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM13.604 14.4H10.199V18H7.801V6H13.605C15.924 6 17.805 7.88 17.805 10.199C17.805 12.52 15.924 14.4 13.604 14.4Z"
- fill="#DA552F"/>
-</svg>