|
1 | 1 | import { Table, TableBody, TableCell, TableRow } from "./ui/table"; |
2 | 2 | import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip"; |
3 | 3 | import { Badge } from "./ui/badge"; |
4 | | -import { ExternalLink, Image as ImageIcon, LucideTerminalSquare, Package, ScrollText, Download } from "lucide-react"; |
| 4 | +import { ExternalLink, Image as ImageIcon, LucideTerminalSquare, Package, ScrollText, Download, Bug } from "lucide-react"; |
5 | 5 | import { buttonVariants } from "./ui/button"; |
6 | 6 | import { useClipboard } from "../hooks/use-clipboard"; |
7 | 7 | import FormulaLinks from "./formula-links"; |
@@ -322,23 +322,20 @@ export default function App({ data, logs: build, repo }: AppProps) { |
322 | 322 | </div> |
323 | 323 | )} |
324 | 324 |
|
325 | | - {data.icon && ( |
326 | | - <div className="flex flex-col items-center space-y-2 p-3 rounded-lg border bg-card"> |
327 | | - <h2 className="text-lg font-semibold flex items-center space-x-2"> |
328 | | - <ImageIcon className="text-amber-600 dark:text-amber-400" /> |
329 | | - <span>Package Icon</span> |
330 | | - </h2> |
331 | | - <img src={data.icon} alt="Package Icon" className="w-16 h-16 rounded-lg" /> |
332 | | - <a href={data.icon} target="_blank" rel="noreferrer" |
333 | | - className={buttonVariants({ |
334 | | - variant: "outline", |
335 | | - className: "w-full flex items-center justify-center space-x-2" |
336 | | - })}> |
337 | | - <span>View Raw</span> |
338 | | - <ExternalLink className="h-4 w-4" /> |
339 | | - </a> |
340 | | - </div> |
341 | | - )} |
| 325 | + <div className="flex flex-col items-center space-y-2 p-3 rounded-lg border bg-card"> |
| 326 | + <h2 className="text-lg font-semibold flex items-center space-x-2"> |
| 327 | + <Bug className="text-red-600 dark:text-red-400" /> |
| 328 | + <span>Report Issues</span> |
| 329 | + </h2> |
| 330 | + <a href="https://github.com/pkgforge/soarpkgs/issues/new/choose" target="_blank" rel="noreferrer" |
| 331 | + className={buttonVariants({ |
| 332 | + variant: "outline", |
| 333 | + className: "w-full flex items-center justify-center space-x-2" |
| 334 | + })}> |
| 335 | + <span>Create Issue</span> |
| 336 | + <ExternalLink className="h-4 w-4" /> |
| 337 | + </a> |
| 338 | + </div> |
342 | 339 | </div> |
343 | 340 | </div> |
344 | 341 | </TooltipProvider> |
|
0 commit comments