import { Database, FolderRoot } from 'lucide-react';
import { RootLocationBlock } from './RootLocationBlock';
/**
* Administration — this plugin's own machinery, not the client's site.
*
* ── It is a list of blocks ──
*
* Not one form. Administration holds several unrelated settings, and giving each its own titled block
* means adding the next one moves nothing — as against a single form that has to be broken up the
* first time anything joins it. The second block cost one entry, which is the point.
*
* The order is the order things are needed in: where the site is on disk, then how to read its data.
*
* ── What used to be here ──
*
* An address and a token: where fofos is, over HTTP. That is gone. It has NOT been replaced yet, so
* nothing can currently configure this plugin — which is why `useReady` stays hardcoded false and
* every other section stays locked. The two are the same change and neither is finished.
*
* The server half is untouched: `/_config` still stores a URL and a token, and the proxy in
* `api/router.ts` still reads them. Only the way in from the screen is gone.
*/
/** One titled block. The shape every Administration setting gets, so the second one costs nothing. */
const Block = ({
icon: Icon,
title,
hint,
children,
}: {
icon: typeof Database;
title: string;
hint: string;
children?: React.ReactNode;
}) => (
{hint}
Nothing to set yet.