fix: fix errors and reformat code
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
---
|
||||
import {type NavBarLink} from "../../types/config";
|
||||
import {Icon} from "astro-icon/components";
|
||||
import {url} from "../../utils/url-utils";
|
||||
import { type NavBarLink } from '../../types/config'
|
||||
import { Icon } from 'astro-icon/components'
|
||||
import { url } from '../../utils/url-utils'
|
||||
|
||||
interface Props {
|
||||
links: NavBarLink[],
|
||||
links: NavBarLink[]
|
||||
}
|
||||
|
||||
const links = Astro.props.links;
|
||||
const links = Astro.props.links
|
||||
---
|
||||
<div id="nav-menu-panel" class:list={["float-panel float-panel-closed absolute transition-all fixed right-4 px-2 py-2"]}>
|
||||
{links.map((link) => (
|
||||
|
||||
Reference in New Issue
Block a user