chore: added docs link

This commit is contained in:
Anoop M D 2023-02-26 17:26:06 +05:30
parent 2f52ce4c71
commit c04f0e7a71
2 changed files with 14 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import Modal from 'components/Modal/index'; 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'; import StyledWrapper from './StyledWrapper';
const BrunoSupport = ({ onClose }) => { const BrunoSupport = ({ onClose }) => {
@ -8,6 +8,12 @@ const BrunoSupport = ({ onClose }) => {
<StyledWrapper> <StyledWrapper>
<Modal size="sm" title={'Support'} handleCancel={onClose} hideFooter={true}> <Modal size="sm" title={'Support'} handleCancel={onClose} hideFooter={true}>
<div className="collection-options"> <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"> <div className="mt-2">
<a href="https://github.com/usebruno/bruno/issues" target="_blank" className="flex items-end"> <a href="https://github.com/usebruno/bruno/issues" target="_blank" className="flex items-end">
<IconSpeakerphone size={18} strokeWidth={2} /> <IconSpeakerphone size={18} strokeWidth={2} />

View File

@ -2,7 +2,7 @@ import { useState } from 'react';
import toast from 'react-hot-toast'; import toast from 'react-hot-toast';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import { openCollection, importCollection } from 'providers/ReduxStore/slices/collections/actions'; 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 Bruno from 'components/Bruno';
import CreateCollection from 'components/Sidebar/CreateCollection'; 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="uppercase font-semibold heading mt-10 pt-6">Links</div>
<div className="mt-4 flex flex-col collection-options select-none"> <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"> <div className="mt-2">
<a href="https://github.com/usebruno/bruno/issues" target="_blank" className="inline-flex items-center"> <a href="https://github.com/usebruno/bruno/issues" target="_blank" className="inline-flex items-center">
<IconSpeakerphone size={18} strokeWidth={2} /> <IconSpeakerphone size={18} strokeWidth={2} />
<span className="label ml-2">Report Issues</span> <span className="label ml-2">Report Issues</span>
</a> </a>
</div> </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"> <div className="mt-2">
<a href="https://github.com/usebruno/bruno" target="_blank" className="flex items-center"> <a href="https://github.com/usebruno/bruno" target="_blank" className="flex items-center">
<IconBrandGithub size={18} strokeWidth={2} /> <IconBrandGithub size={18} strokeWidth={2} />