website: custom nav menus. #102

This commit is contained in:
jaywcjlove
2022-11-22 11:05:37 +08:00
parent aadf975ebf
commit ead5d35f44
4 changed files with 45 additions and 5 deletions

View File

@ -94,3 +94,23 @@ export const editor = {
},
],
};
export const home = {
type: 'element',
tagName: 'svg',
properties: {
viewBox: '0 0 24 24',
fill: 'currentColor',
height: '1em',
width: '1em',
},
children: [
{
type: 'element',
tagName: 'path',
properties: {
d: 'M12.74 2.32a1 1 0 0 0-1.48 0l-9 10A1 1 0 0 0 3 14h2v7a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-7h2a1 1 0 0 0 1-1 1 1 0 0 0-.26-.68z',
},
},
],
};