feat: update for Deno 2 (#2655)
Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
co-authored by
Luca Casonato
parent
b5389f69a3
commit
de8f1b0c59
@@ -19,10 +19,10 @@ export default function NavigationBar(
|
||||
];
|
||||
const isHome = props.active == "/";
|
||||
return (
|
||||
<nav class={"flex " + props.class ?? ""} f-client-nav={false}>
|
||||
<nav class={"flex " + (props.class ?? "")} f-client-nav={false}>
|
||||
<ul class="flex items-center gap-x-2 sm:gap-4 mx-4 my-2 sm:my-6 flex-wrap lg:mx-8 2xl:mr-0">
|
||||
{items.map((item) => (
|
||||
<li>
|
||||
<li key={item.name}>
|
||||
<a
|
||||
href={item.href}
|
||||
class={`p-1 sm:p-2 ${
|
||||
|
||||
Reference in New Issue
Block a user