mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
test(theme): test for JPG
This commit is contained in:
parent
85e693e002
commit
41e02836bc
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue