import { Fragment } from 'react'; import Uik from "../ui-kit" const scrollTo = (link: string): void => { const id = "uik-divider--text-" + link.toLowerCase().replaceAll(" ", "-") const el = document.querySelector(`#${id}`) if (el) { const elOffset = el.getBoundingClientRect().top const scrollOffset = window.scrollY const pos = elOffset + scrollOffset - 25 window.scroll({ top: pos, behavior: "smooth" }) } } const content = [ { title: "Style", links: [ "Colors", "Font" ] }, { title: "Atoms", links: [ "Button", "Action Button", "Text", "Icon", "Alert", "Tooltip", "Card", "Dropdown", "Modal", "Tabs", "Label", "Input", "Form", "Toggle", "Checkbox", "Table", "Radio", "Slider", "Tag", "Trend", "Reef Amount", "Avatar", "Container", "Divider", "Celebrate", "Loading", "QR Code", "Code" ] }, { title: 'Molecules', links: [ "Notifications", "Prompt" ] }, { title: 'Organisms', links: [ "Account Selector", "Copy Button", "Pool Actions" ] }, { title: 'Assets', links: [ "Reef Logo", "Reef Sign", "Reef Icon", "Bubbles", "Fish Animation" ] } ] const Navigation = () => ( ) export default Navigation