Remove avatar/hero photos and gallery stats from the public About view and admin editor, and add env-backed defaults for ABOUT_TITLE and ABOUT_SUBHEAD. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
288 B
TypeScript
10 lines
288 B
TypeScript
import AdminAboutEditPage from '@/about/AdminAboutEditPage';
|
|
import { getAboutData } from '@/about/data';
|
|
|
|
export default async function AboutEditPage() {
|
|
const { about } = await getAboutData()
|
|
.catch(() => ({ about: undefined }));
|
|
|
|
return <AdminAboutEditPage about={about} />;
|
|
}
|