/* @refresh reload */ import { For, render } from "solid-js/web"; import "./index.css"; import { type Component } from "solid-js"; import Layout from "./components/layout"; import Card from "./components/card"; import type { CardProps } from "./types/interfaces"; import { Link } from "./components/link"; const apiRoot = "https://api.martials.no"; const cards = [ { title: "API-er", children: <>
Sjekk ut mine API-er
Sjekk ut mine andre prosjekter
, to: "https://h600878.github.io/", }, { title: "Forenkle sannhetsverdier", children:Implementering av API
, to: `/simplify-truths.html`, } ] satisfies CardProps[]; const HomePage: Component = () => { return (