From 058a4aff2022af417779625164598c4ebb882676 Mon Sep 17 00:00:00 2001 From: sr-remsha <46220620+sr-remsha@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:02:31 +0200 Subject: [PATCH] fix: fixes in footer and header (#161) * fixes in footer and header * fix icons --------- Co-authored-by: Aliaksei Kryvasheyeu --- docs/README.md | 1 + docusaurus.config.js | 22 +++++++--------------- src/css/custom.css | 4 ++++ static/github.svg | 6 ++++++ static/youtube.svg | 9 ++++++--- 5 files changed, 24 insertions(+), 18 deletions(-) create mode 100644 static/github.svg diff --git a/docs/README.md b/docs/README.md index 57d02990..232e66b4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -58,4 +58,5 @@ Here is the current list of repositories where you can find more details. - [DIAL Azure OpenAI Adapter](https://github.com/epam/ai-dial-adapter-openai) - plugable Azure ChatGPT adapter - [DIAL GCP VertexAI Adapter](https://github.com/epam/ai-dial-adapter-vertexai) - plugable Google LLMs adapter - [DIAL AWS Bedrock Adapter](https://github.com/epam/ai-dial-adapter-bedrock) - plugable Amazon LLMs adapter (Anthropic Claude 1/2 is included) + - [AI DIAL Adapter](https://github.com/epam/ai-dial-adapter-dial) - application which adapts calls from one DIAL Core to calls to another DIAL Core. - More LLM adapters will be released (you may contribute) diff --git a/docusaurus.config.js b/docusaurus.config.js index 0100bfb5..ea852293 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -128,21 +128,7 @@ const config = { // position: 'left', // label: 'Tutorial', // }, - { - href: 'https://github.com/search?q=org%3Aepam++DIAL&type=repositories', - label: 'GitHub', - position: 'right', - }, - { - href: 'https://discord.gg/hgqEAbEwZ9', - label: 'Discord', - position: 'right', - }, - { - href: 'https://www.youtube.com/@TeamDialX', - label: 'YouTube', - position: 'right', - }, + ], }, footer: { @@ -180,6 +166,12 @@ const config = { './static/youtube.svg' ), }, + { + html: footerLink( + 'https://github.com/search?q=org%3Aepam++DIAL&type=repositories', + './static/github.svg' + ), + }, ], }, ], diff --git a/src/css/custom.css b/src/css/custom.css index 984cf33a..49dd436e 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -65,6 +65,10 @@ fill: var(--ifm-footer-background-color); } +.icon-stroke { + stroke: var(--ifm-footer-background-color); +} + .footer .container { max-width: 100%; } diff --git a/static/github.svg b/static/github.svg new file mode 100644 index 00000000..f78b1e5a --- /dev/null +++ b/static/github.svg @@ -0,0 +1,6 @@ + + + + + diff --git a/static/youtube.svg b/static/youtube.svg index 0ab8b7ac..01065bc6 100644 --- a/static/youtube.svg +++ b/static/youtube.svg @@ -1,5 +1,8 @@ - - - + + + + +