Indonesiasbardian/gatsby-plugin-breadcrumb
Breadcrumbs for gatsby sites
🥖 Breadcrumb điệu đà cho trang Gatsby
Hai cách thức chính: Click Tracking theo hành trình người dùng và AutoGen tự động sinh breadcrumb cho mỗi trang.
gatsby-plugin-breadcrumb là một plugin JavaScript nhẹ cho Gatsby, cung cấp component <Breadcrumb /> và hook useBreadcrumb để thêm thanh điều hướng breadcrumb. Hỗ trợ Gatsby v2, v3 và v4.
✨ Điểm nổi bật
- Click Tracking: tạo breadcrumb từ hành trình click của người dùng
- AutoGen: tự động sinh breadcrumb và chèn vào
pageContextcủa trang - Component
<Breadcrumb />: hỗ trợ props tùy biến nhưlocation,crumbLabel,title - Hook
useBreadcrumb: cho phép dùng breadcrumb tùy chỉnh nhưng vẫn dùng logic Click Tracking - Tùy chỉnh separator: hỗ trợ
crumbSeparatornhư/ - Hỗ trợ pathPrefix: tùy chọn
usePathPrefixcho trang có tiền tố đường dẫn
💡 Vì sao đáng chú ý
Plugin cung cấp linh hoạt hai cách tiếp cận: Click Tracking theo dõi hành vi người dùng thực sự, phù hợp với UX phản ánh chính xác hành trình người dùng; AutoGen tự động sinh breadcrumb từ cấu trúc trang, tiết kiệm công đặt breadcrumb thủ công. Cả hai đều hỗ trợ tùy biến giao diện và dữ liệu, đáp ứng nhu cầu đa dạng từ blog cá nhân đến trang thương mại điện tử.
#Gatsby #Breadcrumb #WebDevelopment #ReactJS #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
A starter to launch your blazing fast personal website and a blog, Built with Gatsby and Netlify CMS. Made with ❤ by Stackrole
A blog for designers and developer, built with Gatsby and Netlfiy CMS. Live demo https://delog-w3layouts.netlify.com/
Source plugin for pulling data into Gatsby.js from the Ghost Public API.
A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.
The official Gatsby source plugin for GraphCMS projects
A simple, lightweight Gatsby plugin to subscribe new email addresses to your Mailchimp list
⏳ Chronoblog is a Gatsbyjs theme specifically designed to create a personal website. The main idea of Chronoblog is to allow you not only to write a personal blog but also to keep a record of everything important that you have done.
🍭 Gatsby plugin for using Figma documents as a data source.