import { insert_nbsp } from "@sealcode/jdd"; import type { Context } from "koa"; import { icon } from "src/back/icons.js"; import { TempstreamJSX } from "tempstream"; const icons = [ { name: "mastodon", url: "https://mastodon.com.pl" }, { name: "peertube", url: "https://joinpeertube.org/pl" }, ]; export default async function footer(ctx: Context) { const { items: navbar_items } = await ctx.$app.collections["navbar-links"] .list(ctx.$context) .fetch(); const linkData = navbar_items.map((e) => ({ text: e.get("label"), url: e.get("href"), })); return ( ); }