Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R ga juyc #168

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ const config = {
}
},

plugins: [
[
'@docusaurus/plugin-google-gtag',
{
trackingID: 'G-Q77VSJHYQB',
},
],
],

presets: [
[
'classic',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"dependencies": {
"@docusaurus/core": "^2.4.0",
"@docusaurus/plugin-google-gtag": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.0",
"@docusaurus/theme-mermaid": "^2.4.1",
"@easyops-cn/docusaurus-search-local": "^0.35.0",
Expand Down
77 changes: 37 additions & 40 deletions src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,42 @@ import Link from '@docusaurus/Link';
import styles from './styles.module.css';

const FeatureList = [
{
id: 0,
title: 'Develop Wasm applications',
LinkUrl: '/develop/overview',
Svg: require('@site/static/img/programmable.svg').default,
description: (
<>
Develop Wasm apps in Rust, JavaScript, Go, and Python. Those apps are
compiled into Wasm and run inside the WasmEdge sandbox.
</>
),
},
{
id: 1,
title: 'Embed Wasm functions into a host',
LinkUrl: '/embed/overview',
Svg: require('@site/static/img/WebAssembly.svg').default,
description: (
<>
The host app could be written in Rust, C/C++, Go, and Java. Wasm
functions are plugged in without re-compiling the host.
</>
),
},
{
id: 2,
title: 'Extend WasmEdge',
LinkUrl: '/contribute/overview',
Svg: require('@site/static/img/lowcode.svg').default,
description: (
<>
Create WasmEdge extensions and plugins in Rust and C/C++. Contribute to
the WasmEdge project.
</>
),
},
{
id: 0,
title: 'Develop Wasm applications',
LinkUrl: '/develop/overview',
Svg: require('@site/static/img/programmable.svg').default,
description: (
<>
Develop Wasm apps in Rust, JavaScript, Go, and Python. Those apps are
compiled into Wasm and run inside the WasmEdge sandbox.
</>
),
},
{
id: 1,
title: 'Embed Wasm functions into a host',
LinkUrl: '/embed/overview',
Svg: require('@site/static/img/WebAssembly.svg').default,
description: (
<>
The host app could be written in Rust, C/C++, Go, and Java. Wasm
functions are plugged in without re-compiling the host.
</>
),
},
{
id: 2,
title: 'Extend WasmEdge',
LinkUrl: '/contribute/overview',
Svg: require('@site/static/img/lowcode.svg').default,
description: (
<>
Create WasmEdge extensions and plugins in Rust and C/C++. Contribute to
the WasmEdge project.
</>
),
},
];

function Feature({ Svg, LinkUrl, title, description }) {
Expand All @@ -56,10 +56,7 @@ function Feature({ Svg, LinkUrl, title, description }) {
<h3>{title}</h3>
</Link>
</div>
<p>{description}</p>
</div>
</div>
);
);
}

export default function HomepageFeatures() {
Expand Down
Loading