Skip to content

Set a Logo

The logo appears next to your site name in the header bar. It is optional, but recommended.

logo

Set the path to an image inside the ./src/assets folder (or a subfolder). Supported formats include svg, jpg, png, and webp.
LightNet optimizes the image size for better performance. We recommend providing an image file with a width and height of 150px.

astro.config.mjs
export default defineConfig({
integrations: [
lightnet({
// ...
logo: { src: "./src/assets/logo.png" },
}),
],
})