MCPcopy Create free account
hub / github.com/Recordscript/recordscript / About

Function About

src/App.tsx:1100–1121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1098 }
1099
1100 function About() {
1101 const [name] = createResource(getName);
1102 const [version] = createResource(getVersion);
1103 const [build_type] = createInvokeResource<BuildType>("build_type");
1104
1105 return (
1106 <div class="flex flex-col items-center h-full gap-5 select-none">
1107 <img src={logo} class="max-w-36 mt-6 pointer-events-none" />
1108 <div class="text-center">
1109 <h1 class="text-2xl font-black select-text">{name()}</h1>
1110 <span class={`text-xs ${build_type() === BuildType.Debug ? "bg-red-500" : "bg-blue-500"} text-white px-4 rounded-lg select-text`}>{build_type()} v{version()}</span>
1111 </div>
1112 <div class="flex flex-col gap-2">
1113 <a class="border text-sm px-3 py-2 text-center" target="_blank" href={config.support_url}>Support or Feature Request</a>
1114 <a class="border text-sm px-3 py-2 text-center" target="_blank" href={config.github_repository_url}>GitHub</a>
1115 <a class="border text-sm px-3 py-2 text-center" target="_blank" href={config.homepage_url}>Homepage</a>
1116 </div>
1117 <p class="text-sm font-bold flex items-center">Support us by starring or sponsoring on <img class="h-4 mx-1 object-cover" src={github_mark} /> GitHub!</p>
1118 <span class="text-xs">&copy; Recordscript. 2024</span>
1119 </div>
1120 )
1121 }
1122
1123 return (
1124 <main class="flex flex-col h-screen justify-start">

Callers

nothing calls this directly

Calls 2

createInvokeResourceFunction · 0.85
build_typeFunction · 0.85

Tested by

no test coverage detected