diff --git a/components/Layout/Breadcrumb.tsx b/components/Layout/Breadcrumb.tsx index c497da94c..7eedb4452 100644 --- a/components/Layout/Breadcrumb.tsx +++ b/components/Layout/Breadcrumb.tsx @@ -1,7 +1,5 @@ import React from 'react' import Link from 'next/link' -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' -import { faChevronRight as solidChevronRight } from '@fortawesome/free-solid-svg-icons' export interface BreadcrumbItem { text: string @@ -20,19 +18,24 @@ export function Breadcrumb({ locale, items = [] }: BreadcrumbProps) { {items.map((item, index) => (
  • - {item.text} + + {index < items.length - 1 && ( + + {/* eslint-disable-next-line @next/next/no-img-element */} + + + )}
  • ))} diff --git a/public/chevron-right.svg b/public/chevron-right.svg new file mode 100644 index 000000000..878701754 --- /dev/null +++ b/public/chevron-right.svg @@ -0,0 +1 @@ + \ No newline at end of file