From 7f19a9068f794c47d00c657ba8efb0ad0504546d Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 27 Jan 2018 12:55:09 -0800 Subject: [PATCH] fix title and gear icon --- bin/build-svg.js | 2 +- bin/svgs.js | 2 +- routes/_components/Nav.html | 2 +- templates/2xx.html | 30 +++++++++++++++--------------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/bin/build-svg.js b/bin/build-svg.js index 67d00b14..11cb5f27 100755 --- a/bin/build-svg.js +++ b/bin/build-svg.js @@ -21,7 +21,7 @@ async function main() { let $symbol = $('') .attr('id', svg.id) .attr('viewBox', `0 0 ${optimized.info.width} ${optimized.info.height}`) - .append($('').val(svg.title)) + .append($('<title>').text(svg.title)) .append($path) return $.xml($symbol) }))).join('\n') diff --git a/bin/svgs.js b/bin/svgs.js index 6f0ea638..b7fdece4 100644 --- a/bin/svgs.js +++ b/bin/svgs.js @@ -3,7 +3,7 @@ module.exports = [ {id:'fa-bell', src:'node_modules/font-awesome-svg-png/white/svg/bell.svg', title: 'Notifications'}, {id:'fa-users', src:'node_modules/font-awesome-svg-png/white/svg/users.svg', title: 'Local'}, {id:'fa-globe', src:'node_modules/font-awesome-svg-png/white/svg/globe.svg', title: 'Federated'}, - {id:'fa-gears', src:'node_modules/font-awesome-svg-png/white/svg/gears.svg', title: 'Settings'}, + {id:'fa-gear', src:'node_modules/font-awesome-svg-png/white/svg/gear.svg', title: 'Settings'}, {id:'fa-reply', src:'node_modules/font-awesome-svg-png/white/svg/reply.svg', title: 'Reply'}, {id:'fa-retweet', src:'node_modules/font-awesome-svg-png/white/svg/retweet.svg', title: 'Boost'}, {id:'fa-star', src:'node_modules/font-awesome-svg-png/white/svg/star.svg', title: 'Favorite'}, diff --git a/routes/_components/Nav.html b/routes/_components/Nav.html index 1246ca07..8951c2cb 100644 --- a/routes/_components/Nav.html +++ b/routes/_components/Nav.html @@ -13,7 +13,7 @@
  • - +
  • {{#if dynamicPage}}
  • diff --git a/templates/2xx.html b/templates/2xx.html index a96c57dd..3f456204 100644 --- a/templates/2xx.html +++ b/templates/2xx.html @@ -64,21 +64,21 @@ body.offline,body.theme-hotpants.offline,body.theme-majesty.offline,body.theme-o - - - - - - - - - - - - - - - + +Notifications +Local +Federated +Settings +Reply +Boost +Favorite +More +Spinner +Empty user profile +Play +Show Sensitive Content +Hide Sensitive Content +Hashtag