switched to using webpack & svgo to optimize SVG files, and inline them via PHP

This commit is contained in:
Adam Piontek 2021-07-26 11:03:32 -04:00
parent 65810de967
commit 028efdcc67
13 changed files with 174 additions and 3693 deletions

View file

@ -67,7 +67,7 @@ namespace WP_73k;
esc_url( home_url( '/' ) )
);
echo svg_icon_use("mdi-desktop-classic", "baseline");
echo inline_svg( 'mdi-desktop-classic', array( 'div_class' => 'icon baseline' ) );
printf( '<span class="fw-light font-brand">\\\\%1$s</span>',
esc_html( get_bloginfo( 'name' ) )