import { PageProps } from 'fresh/server.ts'; import { FreshContextState } from '/lib/types.ts'; import { AppConfig } from '/lib/config.ts'; import Header from '/components/Header.tsx'; interface Data {} export default async function App(_request: Request, { route, Component, state }: PageProps) { const config = await AppConfig.getConfig(); const defaultTitle = config.visuals.title || 'bewCloud is a modern and simpler alternative to Nextcloud and ownCloud'; const defaultDescription = config.visuals.description || `Have your files under your own control.`; const enabledApps = config.core.enabledApps; return ( {defaultTitle}
); }