forked from Transparency/kgroad-frontend2
improved seo, made not-found page, fixed bugs in news details and in report datails pages
This commit is contained in:
1 parent
7d36510a9b
commit
ad86f2e79e
18 files changed
+224
-30
No files matched your search
@@ -14,7 +14,7 @@ const BreadCrumbs: React.FC<IBreadcrumbsProps> = ({
|
||||
homeRequired,
|
||||
}: IBreadcrumbsProps) => {
|
||||
const pathname = usePathname();
|
||||
const query = useSearchParams().get("title");
|
||||
const query = useSearchParams().get("новость");
|
||||
const routes = pathname.split("/").filter((route) => route !== "");
|
||||
const tRoutes: Record<string, string> = {
|
||||
"about-us": "О нас",
|
||||
|
||||
Reference in new issue
Block a user