Remove trailing commas, split SVG onto multiple lines

This commit is contained in:
Oliver Davies 2019-06-14 12:34:41 +01:00
parent 42acef934a
commit 3bbbc2f166

View file

@ -21,7 +21,11 @@
aria-label="Toggle main menu" aria-label="Toggle main menu"
@click="hidden = !hidden" @click="hidden = !hidden"
> >
<svg class="fill-current text-white w-6 h-6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M16.4 9H3.6c-.552 0-.6.447-.6 1 0 .553.048 1 .6 1h12.8c.552 0 .6-.447.6-1 0-.553-.048-1-.6-1zm0 4H3.6c-.552 0-.6.447-.6 1 0 .553.048 1 .6 1h12.8c.552 0 .6-.447.6-1 0-.553-.048-1-.6-1zM3.6 7h12.8c.552 0 .6-.447.6-1 0-.553-.048-1-.6-1H3.6c-.552 0-.6.447-.6 1 0 .553.048 1 .6 1z"/></svg> <svg
class="fill-current text-white w-6 h-6"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
><path d="M16.4 9H3.6c-.552 0-.6.447-.6 1 0 .553.048 1 .6 1h12.8c.552 0 .6-.447.6-1 0-.553-.048-1-.6-1zm0 4H3.6c-.552 0-.6.447-.6 1 0 .553.048 1 .6 1h12.8c.552 0 .6-.447.6-1 0-.553-.048-1-.6-1zM3.6 7h12.8c.552 0 .6-.447.6-1 0-.553-.048-1-.6-1H3.6c-.552 0-.6.447-.6 1 0 .553.048 1 .6 1z" /></svg>
</button> </button>
</div> </div>
</div> </div>
@ -67,38 +71,38 @@ export default {
{ {
title: 'About', title: 'About',
href: '/', href: '/',
pattern: '^/.$', pattern: '^/.$'
}, },
{ {
title: 'Projects', title: 'Projects',
href: '/projects', href: '/projects',
pattern: '^/projects/?$', pattern: '^/projects/?$'
}, },
{ {
title: 'Articles', title: 'Articles',
href: '/articles', href: '/articles',
pattern: '^/articles/?', pattern: '^/articles/?'
}, },
{ {
title: 'Talks', title: 'Talks',
href: '/talks', href: '/talks',
pattern: '^/talks/?', pattern: '^/talks/?'
}, },
{ {
title: 'Podcasts', title: 'Podcasts',
href: '/podcasts', href: '/podcasts',
pattern: '^/podcasts/?', pattern: '^/podcasts/?'
}, },
{ {
title: 'Book', title: 'Book',
href: '/test-driven-drupal', href: '/test-driven-drupal',
pattern: '^/test-driven-drupal/?$', pattern: '^/test-driven-drupal/?$'
}, },
{ {
title: 'Contact', title: 'Contact',
href: '/contact', href: '/contact',
pattern: '^/contact/?', pattern: '^/contact/?'
}, }
], ],
} }
}, },