Modify Loading Icon

First, edit the components/Loading.js file, and add a line of code at the beginning of the file (as shown on line 7 of the image):
import Image from 'next/image'
notion imagenotion image
Then delete the SVG code below this file, in the <svg>...</svg> part shown in the image:
notion imagenotion image
Finally, use the following code to replace the SVG code that was just deleted. Here, favicon.png is used as an example. You can freely modify it to other images, and the height and width can be modified through width and height:
<Image src='/favicon.png' alt='Logo' width={50} height={50} />
It will probably look like this:
notion imagenotion image
💡
Note the indentation of the code.
对于本文内容有任何疑问, 可与我联系.