test(theme): test for JPG

This commit is contained in:
Johannes Liermann 2025-12-02 17:27:46 +01:00
parent 85e693e002
commit 41e02836bc

View File

@ -6,6 +6,7 @@
*/
import png from '@site/static/img/docusaurus.png';
import svgImg from '@site/static/img/docusaurus.svg';
import jpg from '@site/static/img/endi.jpg';
const items = [
{
@ -54,6 +55,13 @@ const items = [
icon: png,
type: 'link',
},
{
label: 'Custom Image',
description: 'It works with JPG',
href: 'https://docusaurus.io',
icon: jpg,
type: 'link',
},
{
label: 'Custom Image',
description: 'It does not work with SVG',