Skip to content

Commit 1ff64d9

Browse files
committed
fix: styles
1 parent 8f90733 commit 1ff64d9

File tree

13 files changed

+31
-407
lines changed

13 files changed

+31
-407
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

docusaurus.config.ts

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const config: Config = {
7070
title: 'RubyCDP',
7171
logo: {
7272
alt: 'Ferrum Logo',
73-
src: 'img/logo.svg',
73+
src: 'img/favicon-128.ico',
7474
},
7575
items: [
7676
{
@@ -87,21 +87,16 @@ const config: Config = {
8787
title: 'Docs',
8888
items: [
8989
{
90-
label: 'Getting Started',
90+
label: 'Ferrum',
9191
to: 'docs/ferrum/introduction',
9292
},
93-
],
94-
},
95-
{
96-
title: 'Community',
97-
items: [
9893
{
99-
label: 'GitHub',
100-
href: 'https://github.com/rubycdp/ferrum',
94+
label: 'Cuprite',
95+
to: 'docs/cuprite/introduction',
10196
},
10297
{
103-
label: 'Issues',
104-
href: 'https://github.com/rubycdp/ferrum/issues',
98+
label: 'Vessel',
99+
to: 'docs/vessel/introduction',
105100
},
106101
],
107102
},

src/components/HomepageFeatures/index.tsx

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,31 @@ type FeatureItem = {
1111

1212
const FeatureList: FeatureItem[] = [
1313
{
14-
title: 'Simple & Clean API',
15-
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
14+
title: 'High-level gem to control Chrome in Ruby',
15+
Svg: require('@site/static/img/ferrum.svg').default,
1616
description: (
1717
<>
18-
High-level Ruby API to control Chrome. As simple as Puppeteer, though even simpler.
18+
High-level Ruby API to control Chrome.
1919
No Selenium/WebDriver/ChromeDriver dependency required.
2020
</>
2121
),
2222
},
2323
{
24-
title: 'Direct Chrome DevTools Protocol',
25-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
24+
title: 'Headless Chrome driver for Capybara',
25+
Svg: require('@site/static/img/cuprite.svg').default,
2626
description: (
2727
<>
28-
Connect directly to Chrome via CDP protocol. Access powerful features that go beyond
29-
traditional WebDriver capabilities.
28+
Run Capybara tests on a headless Chrome or Chromium using Ferrum.
3029
</>
3130
),
3231
},
3332
{
34-
title: 'Headless by Default',
35-
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
33+
title: 'High-level web crawling framework',
34+
Svg: require('@site/static/img/vessel.svg').default,
3635
description: (
3736
<>
38-
Run Chrome headless for faster automation, or switch to headful mode for debugging.
39-
Perfect for web scraping, testing, and automation tasks.
37+
Perfect for web scraping. High-level web crawling framework based on Ferrum for extracting the data from websites.
38+
Use it for data mining, monitoring or historical archival.
4039
</>
4140
),
4241
},

src/pages/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ function HomepageHeader() {
2626
<Link
2727
className="button button--outline button--secondary button--lg"
2828
to="https://github.com/rubycdp/ferrum"
29-
style={{marginLeft: '1rem'}}>
30-
View on GitHub
29+
style={{marginLeft: '1rem', display: 'flex', alignItems: 'center', gap: '0.5rem'}}>
30+
<img src="img/github.svg" alt="GitHub" style={{width: '30px', height: '30px'}} /> Star
3131
</Link>
3232
</div>
3333
</div>
@@ -41,9 +41,9 @@ export default function Home(): ReactNode {
4141
<Layout
4242
title={`${siteConfig.title} - High-level API to control Chrome in Ruby`}
4343
description="Ferrum is a high-level API to control Chrome in Ruby.">
44-
<HomepageHeader />
44+
<HomepageHeader/>
4545
<main>
46-
<HomepageFeatures />
46+
<HomepageFeatures/>
4747
</main>
4848
</Layout>
4949
);

static/img/cuprite.svg

Lines changed: 3 additions & 0 deletions
Loading

static/img/ferrum.svg

Lines changed: 3 additions & 0 deletions
Loading

static/img/github.svg

Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)