Skip to content

Commit

Permalink
add github issue link
Browse files Browse the repository at this point in the history
  • Loading branch information
truskovskiyk committed Jan 23, 2025
1 parent 291cce5 commit f677776
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
12 changes: 11 additions & 1 deletion no-ocr-ui/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FileSearch, FolderPlus } from 'lucide-react';
import { FileSearch, FolderPlus, Github } from 'lucide-react';
import { Link, useLocation } from 'react-router-dom';
import { LogoutButton } from './auth/LogoutButton';
import { useAuthStore } from '../stores/authStore';
Expand Down Expand Up @@ -43,6 +43,16 @@ export default function Navbar() {
<FileSearch className="w-5 h-5 mr-2" />
AI Search
</Link>

<a
href="https://github.com/kyryl-opens-ml/no-ocr/issues"
className="inline-flex items-center px-3 py-2 text-sm font-medium text-gray-500 hover:text-gray-700"
target="_blank"
rel="noopener noreferrer"
>
<Github className="w-5 h-5 mr-2" />
GitHub Issues
</a>
</div>
</div>

Expand Down
8 changes: 7 additions & 1 deletion no-ocr-ui/src/components/layout/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FileSearch, FolderPlus, Info, Library } from 'lucide-react';
import { FileSearch, FolderPlus, Info, Library, Github } from 'lucide-react';
import { Link } from 'react-router-dom';
import { LogoutButton } from '../auth/LogoutButton';
import { useAuthStore } from '../../stores/authStore';
Expand Down Expand Up @@ -41,6 +41,12 @@ export default function Navbar() {
icon={<Info className="w-5 h-5 mr-2" />}
label="About"
/>
<NavLink
to="https://github.com/kyryl-opens-ml/no-ocr/issues"
icon={<Github className="w-5 h-5 mr-2" />}
label="Submit Issue"
external
/>
</div>
</div>

Expand Down

0 comments on commit f677776

Please sign in to comment.