diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 3b5ff79a..c46c2a08 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1 @@ -github: [raphamorim] -patreon: raphamorim \ No newline at end of file +github: [raphamorim] \ No newline at end of file diff --git a/docs/docs/documentation/command-line-interface.md b/docs/docs/documentation/command-line-interface.md index 19ec15de..7e109e61 100644 --- a/docs/docs/documentation/command-line-interface.md +++ b/docs/docs/documentation/command-line-interface.md @@ -15,9 +15,10 @@ Options:
-e, --command -h, --help Print help
-V, --version Print version
+```
The options "-e" and "--command" executes the command and closes the terminal right way after the execution.
-```
+
```
$ rio -e sleep 10
```
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index d1bf09fe..f3166c99 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -40,7 +40,7 @@ const config = {
'https://github.com/raphamorim/rio/tree/main/docs/',
},
theme: {
- customCss: require.resolve('./src/css/styles.css'),
+ customCss: require.resolve('./src/css/custom.css'),
},
}),
],
@@ -137,9 +137,9 @@ const config = {
id: 'support_us',
content:
'If you use Rio terminal please consider support via github sponsors',
- backgroundColor: '#fafbfc',
- textColor: '#091E42',
- isCloseable: false,
+ backgroundColor: '#f712ff',
+ textColor: '#FFFFFF',
+ isCloseable: true,
},
}),
};
diff --git a/docs/src/components/HomepageFeatures/index.js b/docs/src/components/HomepageFeatures/index.js
index c4965ab6..6eb7e800 100644
--- a/docs/src/components/HomepageFeatures/index.js
+++ b/docs/src/components/HomepageFeatures/index.js
@@ -4,32 +4,70 @@ import styles from './styles.module.css';
const FeatureList = [
{
- title: 'Easy to Use',
- Svg: require('@site/static/assets/logo.svg').default,
+ title: 'Fast and Fast',
+ // SVG Retired from https://www.svgrepo.com/svg/301795/fast-delivery-truck
+ // Under MIT License
+ Svg: require('@site/static/assets/homepage-svg/fast.svg').default,
description: (
<>
- Docusaurus was designed from the ground up to be easily installed and
- used to get your website up and running quickly.
+ Rio is perceived fast, there's few reasons behind the speed. Rio is built in Rust and also built over ANSI handler and parser is built from Alacritty terminal's VTE.
+ Rio owns a renderer called Sugarloaf that contains a "sugar" architecture (inspired by React Redux state machine) created for minimal and quick interactions in render steps using performance at highest.
>
),
},
{
- title: 'Focus on What Matters',
- Svg: require('@site/static/assets/logo.svg').default,
+ title: 'Built with Rust',
+ // SVG Retired from https://www.svgrepo.com/svg/232008/crab
+ // Under CC0 License
+ Svg: require('@site/static/assets/homepage-svg/rust.svg').default,
description: (
<>
- Docusaurus lets you focus on your docs, and we'll do the chores. Go
- ahead and move your docs into the {siteConfig.tagline}docs directory.
+ Rust language provides a mechanism called “ownership” that has a set of rules that are checked at compilation time, if these ownership rules are violated, the program won’t compile. This mechanism enforce memory safety without needing a garbage collector. The ownership rules don’t have a run time impact on performance either.
>
),
},
{
- title: 'Powered by React',
- Svg: require('@site/static/assets/logo.svg').default,
+ // SVG Retired from https://www.svgrepo.com/svg/439109/color-wheel
+ // Under MIT License
+ // The SVG suffered changes from the original file
+ title: '24-bit true color',
+ Svg: require('@site/static/assets/homepage-svg/colors.svg').default,
description: (
<>
- Extend or customize your website layout by reusing React. Docusaurus can
- be extended while reusing the same header and footer.
+ Regular terminals use 256-color palette, which is configured at start and is a 666-cube of colors, each of them defined as a 24-bit (888 RGB) color, which means it can only display 256 different colors in the terminal while "true color" means that you can display 16 million different colors at the same time.
+ >
+ ),
+ },
+ {
+ // SVG Retired from https://www.svgrepo.com/svg/444458/gui-pictures
+ // Under MIT License
+ title: 'Image protocols',
+ Svg: require('@site/static/assets/homepage-svg/images.svg').default,
+ description: (
+ <>
+ Rio terminal implements iTerm2 and Kitty image protocols. Both protocols provide the ability of display images within the terminal. Using a similar mechanism, it can also facilitate file transfers over any transport (such as ssh or telnet), even in a non-8-bit-clean environment.
+ >
+ ),
+ },
+ {
+ // SVG Retired from https://www.svgrepo.com/svg/267831/typography-font
+ // Under CC0 License
+ title: 'Font ligatures',
+ Svg: require('@site/static/assets/homepage-svg/ligatures.svg').default,
+ description: (
+ <>
+ Ligatures are special characters in a font that combine two or more characters into one. They were originally invented by scribes as a way to increase handwriting speed by combining commonly used characters. Often code editors provide font ligatures support as a way to improve readability of common expressions or operators. For example, != would be replaced with ≠ in a ligatured font.
+ >
+ ),
+ },
+ {
+ // SVG Retired from https://www.svgrepo.com/svg/454420/browser-chrome-google
+ // Under CC0 License
+ title: 'Support to WebGPU',
+ Svg: require('@site/static/assets/homepage-svg/webgpu.svg').default,
+ description: (
+ <>
+ Rio uses an implementation of WebGPU for use outside of a browser and as backend for firefox's WebGPU implementation. WebGPU allows for more efficient usage of modern GPU's than WebGL. Applications using WPGU run natively on Vulkan, Metal, DirectX 11/12, and OpenGL ES; and browsers via WebAssembly on WebGPU and WebGL2.
>
),
},
diff --git a/docs/src/components/Mention/index.js b/docs/src/components/Mention/index.js
new file mode 100644
index 00000000..2af70a11
--- /dev/null
+++ b/docs/src/components/Mention/index.js
@@ -0,0 +1,51 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+import React from 'react';
+
+import clsx from 'clsx';
+
+import Link from '@docusaurus/Link';
+import styles from './styles.module.css';
+
+export default function Tweet({
+ url,
+ handle,
+ name,
+ content,
+ date,
+ githubUsername,
+}) {
+ return (
+
+ {
+ this.onerror = null;
+ this.src = 'assets/rio-logo-512-512.png';
+ }}
+ alt="Rio Logo"
+ />
+
{siteConfig.title}