From a365172e0cb05adc23c60f099f6cbe34154b830c Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 23 Jun 2021 01:58:11 +0200 Subject: [PATCH] Add new direction indicators --- .../public_bookcase/public_bookcase.json | 1 + assets/svg/direction_gradient.svg | 113 +++++++++++++----- assets/svg/direction_masked.svg | 70 +++++++++++ assets/svg/direction_outline.svg | 72 +++++++++++ assets/svg/direction_stroke.svg | 72 +++++++++++ assets/tagRenderings/questions.json | 3 + 6 files changed, 299 insertions(+), 32 deletions(-) create mode 100644 assets/svg/direction_masked.svg create mode 100644 assets/svg/direction_outline.svg create mode 100644 assets/svg/direction_stroke.svg diff --git a/assets/layers/public_bookcase/public_bookcase.json b/assets/layers/public_bookcase/public_bookcase.json index f3db0d0b7b..a300a0f0e1 100644 --- a/assets/layers/public_bookcase/public_bookcase.json +++ b/assets/layers/public_bookcase/public_bookcase.json @@ -72,6 +72,7 @@ ], "tagRenderings": [ "images", + "minimap", { "render": { "en": "The name of this bookcase is {name}", diff --git a/assets/svg/direction_gradient.svg b/assets/svg/direction_gradient.svg index 54af33ba00..50b10be0ee 100644 --- a/assets/svg/direction_gradient.svg +++ b/assets/svg/direction_gradient.svg @@ -6,48 +6,97 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" - id="svg8" - version="1.1" - viewBox="0 0 100 100" - height="100" - width="100"> - - - - image/svg+xml - - - - + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.0" + width="860.50732pt" + height="860.50732pt" + viewBox="0 0 860.50732 860.50732" + preserveAspectRatio="xMidYMid meet" + id="svg14" + sodipodi:docname="direction_gradient.svg" + inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"> + id="defs18"> + inkscape:collect="always" + id="linearGradient832"> + id="stop828" /> + id="stop830" /> + + + + + + +Created by potrace 1.15, written by Peter Selinger 2001-2017 + + + image/svg+xml + + + + + + style="fill:url(#radialGradient838);fill-opacity:1;stroke:none;stroke-width:2.83464575;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 735.79979,124.70799 C 654.79116,43.598883 544.88842,-2.0206645 430.25389,-2.121103 315.61937,-2.0206592 205.71663,43.598888 124.70801,124.70799 l 305.54588,305.54589 z" + id="path836" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccc" /> diff --git a/assets/svg/direction_masked.svg b/assets/svg/direction_masked.svg new file mode 100644 index 0000000000..8a591c2138 --- /dev/null +++ b/assets/svg/direction_masked.svg @@ -0,0 +1,70 @@ + + + + + + + + +Created by potrace 1.15, written by Peter Selinger 2001-2017 + + + image/svg+xml + + + + + + diff --git a/assets/svg/direction_outline.svg b/assets/svg/direction_outline.svg new file mode 100644 index 0000000000..679c50f380 --- /dev/null +++ b/assets/svg/direction_outline.svg @@ -0,0 +1,72 @@ + + + + + + + + +Created by potrace 1.15, written by Peter Selinger 2001-2017 + + + image/svg+xml + + + + + + + diff --git a/assets/svg/direction_stroke.svg b/assets/svg/direction_stroke.svg new file mode 100644 index 0000000000..af96495107 --- /dev/null +++ b/assets/svg/direction_stroke.svg @@ -0,0 +1,72 @@ + + + + + + + + +Created by potrace 1.15, written by Peter Selinger 2001-2017 + + + image/svg+xml + + + + + + + diff --git a/assets/tagRenderings/questions.json b/assets/tagRenderings/questions.json index 0ac2cd7f77..a7f632e394 100644 --- a/assets/tagRenderings/questions.json +++ b/assets/tagRenderings/questions.json @@ -5,6 +5,9 @@ "reviews": { "render": "{reviews()}" }, + "minimap": { + "render": "
{minimap(19, {id})}
" + }, "phone": { "question": { "en": "What is the phone number of {name}?",