import type { Component } from "solid-js";import { createSignal, Show } from "solid-js";import NavMenu from "../components/details/NavMenu";const DetailPage: Component = () => { const [loading, setLoading] = createSignal(true); return ( <div> <NavMenu /> <div> <Show when={loading()} fallback={<p>Some content</p>}> <p>Loading...</p>; </Show> </div> </div> );};