diff --git a/README.md b/README.md index 9452b64d..a4193720 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,9 @@ You don't need to learn any new classes or special syntax. All magic actions and

+
## [Documentation](https://open-tool.github.io/ultron/) | [Releases](https://github.com/open-tool/ultron/releases) | [Telegram](https://t.me/ultron_framework) +
## What are the benefits of using the framework? diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 891d3b4f..49793072 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -57,9 +57,10 @@ const config: Config = { label: 'Docs', }, { - label: 'Telegram', href: 'https://t.me/ultron_framework', position: 'right', + className: 'header-telegram-link', + 'aria-label': 'Telegram', }, { href: 'https://github.com/open-tool/ultron', diff --git a/docs/package-lock.json b/docs/package-lock.json index a9d0a488..49a517b0 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -11,6 +11,7 @@ "@docusaurus/core": "3.4.0", "@docusaurus/plugin-client-redirects": "^3.4.0", "@docusaurus/preset-classic": "3.4.0", + "@fortawesome/fontawesome-free": "^6.6.0", "@mdx-js/react": "^3.0.0", "clsx": "^2.0.0", "prism-react-renderer": "^2.3.0", @@ -2751,6 +2752,15 @@ "node": ">=18.0" } }, + "node_modules/@fortawesome/fontawesome-free": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.6.0.tgz", + "integrity": "sha512-60G28ke/sXdtS9KZCpZSHHkCbdsOGEhIUGlwq6yhY74UpTiToIh8np7A8yphhM4BWsvNFtIvLpi4co+h9Mr9Ow==", + "license": "(CC-BY-4.0 AND OFL-1.1 AND MIT)", + "engines": { + "node": ">=6" + } + }, "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", diff --git a/docs/src/components/HomepageFeatures/index.tsx b/docs/src/components/HomepageFeatures/index.tsx index 28d1631b..91762b85 100644 --- a/docs/src/components/HomepageFeatures/index.tsx +++ b/docs/src/components/HomepageFeatures/index.tsx @@ -42,10 +42,10 @@ const FeatureList: FeatureItem[] = [ ), description: ( <> +

Page Object support

Allure support

Detailed logs

Extendable API

-

An architectural approach to developing UI tests

), }, diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index f69a266e..5c1e294c 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -17,6 +17,7 @@ --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); } */ + :root { --ifm-color-primary: #233a60; --ifm-color-primary-dark: #29784c; @@ -59,4 +60,20 @@ .header-github-link:hover::before { background-color: var(--ifm-navbar-link-hover-color); -} \ No newline at end of file +} + +.header-telegram-link { + display: flex; + align-items: center; +} + +.header-telegram-link::before { + content: ''; + display: inline-block; + width: 24px; + height: 24px; + background-image: url('/img/telegram-icon.svg'); + background-size: contain; + background-repeat: no-repeat; + margin-right: 8px; +} diff --git a/docs/static/img/telegram-icon.svg b/docs/static/img/telegram-icon.svg new file mode 100644 index 00000000..c67526fd --- /dev/null +++ b/docs/static/img/telegram-icon.svg @@ -0,0 +1,16 @@ + + + + Artboard + Created with Sketch. + + + + + + + + + + + \ No newline at end of file