From 3a9c5408c35d3e49d88a80f611f004990bd35617 Mon Sep 17 00:00:00 2001 From: Mackie Date: Fri, 29 May 2026 02:32:59 +0800 Subject: [PATCH] logo --- src/components/Logo.tsx | 3 +++ src/payload.config.ts | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 src/components/Logo.tsx diff --git a/src/components/Logo.tsx b/src/components/Logo.tsx new file mode 100644 index 0000000..0b02df3 --- /dev/null +++ b/src/components/Logo.tsx @@ -0,0 +1,3 @@ +export const Logo = () => ( + My Logo +) \ No newline at end of file diff --git a/src/payload.config.ts b/src/payload.config.ts index 3e6272b..d119f25 100644 --- a/src/payload.config.ts +++ b/src/payload.config.ts @@ -3,6 +3,7 @@ import sharp from 'sharp' import path from 'path' import { buildConfig, PayloadRequest } from 'payload' import { fileURLToPath } from 'url' +import { Logo } from './components/Logo' import { Categories } from './collections/Categories' import { Media } from './collections/Media' @@ -27,6 +28,8 @@ export default buildConfig({ // The `BeforeDashboard` component renders the 'welcome' block that you see after logging into your admin panel. // Feel free to delete this at any time. Simply remove the line below. beforeDashboard: ['@/components/BeforeDashboard'], + Logo, + }, }, importMap: { baseDir: path.resolve(dirname),