-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCategoryActionButtons.tsx
More file actions
39 lines (34 loc) · 1.55 KB
/
CategoryActionButtons.tsx
File metadata and controls
39 lines (34 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
'use client';
import React from 'react';
import Link from 'next/link';
import { BiArchive, BiUser, BiLinkExternal } from 'react-icons/bi';
const CategoryActionButtons: React.FC = () => {
return (
<div className="flex gap-4 p-4 justify-center">
<Link
href="/orphaned"
className="flex items-center justify-center gap-2 px-3 py-1.5 sm:px-4 sm:py-2 text-xs sm:text-sm text-gray-700 bg-white rounded-md border hover:bg-gray-50 hover:text-ssw-red transition-colors duration-200 no-underline text-center"
>
<BiUser className="hidden sm:block w-4 h-4" />
<span>Orphaned Rules</span>
</Link>
<Link
href="/archived"
className="flex items-center justify-center gap-2 px-3 py-1.5 sm:px-4 sm:py-2 text-xs sm:text-sm text-gray-700 bg-white rounded-md border hover:bg-gray-50 hover:text-ssw-red transition-colors duration-200 no-underline text-center"
>
<BiArchive className="hidden sm:block w-4 h-4" />
<span>Archived Rules</span>
</Link>
<a
href="https://www.ssw.com.au/ssw/Standards/Default.aspx"
target="_blank"
rel="noopener noreferrer nofollow"
className="flex items-center justify-center gap-2 px-3 py-1.5 sm:px-4 sm:py-2 text-xs sm:text-sm text-gray-700 bg-white rounded-md border hover:bg-gray-50 hover:text-ssw-red transition-colors duration-200 no-underline text-center"
>
<BiLinkExternal className="hidden sm:block w-4 h-4" />
<span>Unmigrated Rules</span>
</a>
</div>
);
};
export default CategoryActionButtons;