logo
This commit is contained in:
parent
f627a6ef89
commit
1da50d7bea
2 changed files with 3 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
export const Logo = () => (
|
||||
<img src="public/favicon.svg" alt="My Logo" style={{ height: 40 }} />
|
||||
<img src="/favicon.svg" alt="My Logo" style={{ height: 40 }} />
|
||||
)
|
||||
|
|
@ -3,7 +3,6 @@ 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'
|
||||
|
|
@ -29,7 +28,7 @@ export default buildConfig({
|
|||
// Feel free to delete this at any time. Simply remove the line below.
|
||||
beforeDashboard: ['@/components/BeforeDashboard'],
|
||||
graphics: {
|
||||
Logo,
|
||||
Logo: '@/components/Logo#Logo', // ✅ string-based import
|
||||
},
|
||||
},
|
||||
importMap: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue