feat: Обновить компоненты интерфейса, добавив новый заголовок страницы и состояние пустого контента в менеджерах ASNs, Domains и IPRanges, а также улучшить стили для адаптивного отображения
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 2m0s

This commit is contained in:
2025-08-27 17:16:46 +07:00
parent 001b4d9d98
commit 434462f633
13 changed files with 255 additions and 71 deletions
+25
View File
@@ -0,0 +1,25 @@
import React from 'react'
import { Link } from 'react-router-dom'
function Breadcrumbs({ items = [] }) {
if (!Array.isArray(items) || items.length === 0) return null
return (
<nav aria-label="breadcrumb">
<ol className="breadcrumb">
{items.map((it, idx) => (
<li key={idx} className={`breadcrumb-item${idx === items.length - 1 ? ' active' : ''}`} aria-current={idx === items.length - 1 ? 'page' : undefined}>
{it.to && idx !== items.length - 1 ? (
<Link to={it.to}>{it.label}</Link>
) : (
<span>{it.label}</span>
)}
</li>
))}
</ol>
</nav>
)
}
export default Breadcrumbs