From c04f0e7a716d47fe60cce5de7d6da93a885f319e Mon Sep 17 00:00:00 2001 From: Anoop M D <anoop.md1421@gmail.com> Date: Sun, 26 Feb 2023 17:26:06 +0530 Subject: [PATCH] chore: added docs link --- .../bruno-app/src/components/BrunoSupport/index.js | 8 +++++++- packages/bruno-app/src/components/Welcome/index.js | 11 +++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/packages/bruno-app/src/components/BrunoSupport/index.js b/packages/bruno-app/src/components/BrunoSupport/index.js index b4ec85484..155145a22 100644 --- a/packages/bruno-app/src/components/BrunoSupport/index.js +++ b/packages/bruno-app/src/components/BrunoSupport/index.js @@ -1,6 +1,6 @@ import React from 'react'; import Modal from 'components/Modal/index'; -import { IconSpeakerphone, IconBrandTwitter, IconBrandGithub, IconBrandDiscord } from '@tabler/icons'; +import { IconSpeakerphone, IconBrandTwitter, IconBrandGithub, IconBrandDiscord, IconBook } from '@tabler/icons'; import StyledWrapper from './StyledWrapper'; const BrunoSupport = ({ onClose }) => { @@ -8,6 +8,12 @@ const BrunoSupport = ({ onClose }) => { <StyledWrapper> <Modal size="sm" title={'Support'} handleCancel={onClose} hideFooter={true}> <div className="collection-options"> + <div className="mt-2"> + <a href="https://docs.usebruno.com" target="_blank" className="flex items-end"> + <IconBook size={18} strokeWidth={2} /> + <span className="label ml-2">Documentation</span> + </a> + </div> <div className="mt-2"> <a href="https://github.com/usebruno/bruno/issues" target="_blank" className="flex items-end"> <IconSpeakerphone size={18} strokeWidth={2} /> diff --git a/packages/bruno-app/src/components/Welcome/index.js b/packages/bruno-app/src/components/Welcome/index.js index 54754854d..563d10be5 100644 --- a/packages/bruno-app/src/components/Welcome/index.js +++ b/packages/bruno-app/src/components/Welcome/index.js @@ -2,7 +2,7 @@ import { useState } from 'react'; import toast from 'react-hot-toast'; import { useDispatch } from 'react-redux'; import { openCollection, importCollection } from 'providers/ReduxStore/slices/collections/actions'; -import { IconBrandGithub, IconPlus, IconUpload, IconFolders, IconSpeakerphone } from '@tabler/icons'; +import { IconBrandGithub, IconPlus, IconUpload, IconFolders, IconSpeakerphone, IconBook } from '@tabler/icons'; import Bruno from 'components/Bruno'; import CreateCollection from 'components/Sidebar/CreateCollection'; @@ -74,15 +74,18 @@ const Welcome = () => { <div className="uppercase font-semibold heading mt-10 pt-6">Links</div> <div className="mt-4 flex flex-col collection-options select-none"> + <div className="flex items-center mt-2"> + <a href="https://docs.usebruno.com" target="_blank" className="inline-flex items-center"> + <IconBook size={18} strokeWidth={2} /> + <span className="label ml-2">Documentation</span> + </a> + </div> <div className="mt-2"> <a href="https://github.com/usebruno/bruno/issues" target="_blank" className="inline-flex items-center"> <IconSpeakerphone size={18} strokeWidth={2} /> <span className="label ml-2">Report Issues</span> </a> </div> - {/* <div className="flex items-center mt-2"> - <IconBook size={18} strokeWidth={2}/><span className="label ml-2">Docs</span> - </div> */} <div className="mt-2"> <a href="https://github.com/usebruno/bruno" target="_blank" className="flex items-center"> <IconBrandGithub size={18} strokeWidth={2} />