Replace campfire icon with a better one, and add barbecue

We were using what was very clearly a campfire as the icon for the
barbecue service, when we first replaced it with a Font Awesome icon
we chose an icon that was neither campfire nor barbecue (flame-curved),
but now Oriol wanted one that left no doubt it was a barbecue.

Instead of replacing the campfire SVG with that of the barbecue, i have
chosen a campfire image from Font Awesome for our icon, and added a
separate icon for that service.
This commit is contained in:
jordi fita mas 2024-01-24 11:21:08 +01:00
parent e4cd0cc963
commit b67aae0936
5 changed files with 9 additions and 5 deletions

View File

@ -328,7 +328,7 @@ values (52, 'information', 'Informació', '<p>A la recepció linformarem del
, (52, 'shower', 'Dutxa', '<p>Aigua calenta, sense fitxes.</p>')
, (52, 'baby', 'Bany per nadons', '<p>Bany individual per nadons, amb banyera i canviador.</p>')
, (52, 'pool', 'Piscina', '<p>Piscina per adults i piscina infantil.</p><p><em>(Piscines amb aigua salada.)</em></p>')
, (52, 'campfire', 'Barbacoa', '<p>Trobareu una barbacoa comunitària de carbó o la possibilitat de llogar una barbacoa de gas (no es pot fer servir llenya o carbó en les parcel·les).</p>')
, (52, 'barbecue', 'Barbacoa', '<p>Trobareu una barbacoa comunitària de carbó o la possibilitat de llogar una barbacoa de gas (no es pot fer servir llenya o carbó en les parcel·les).</p>')
, (52, 'rv', 'Estació servei per autocaravanes', '<p>Situada a lentrada del càmping.</p>')
, (52, 'castle', 'Zona de jocs', '<p>Una zona central pels més menuts.</p>')
, (52, 'ball', 'Camp desport', '<p>Amb camp de futbol, voley, tenis-taula i espai per jugar.</p>')

View File

@ -8,6 +8,7 @@ insert into camper.icon (icon_name)
values ('area')
, ('baby')
, ('ball')
, ('barbecue')
, ('bicycle')
, ('campfire')
, ('castle')

View File

@ -4,8 +4,6 @@
begin;
delete from camper.icon
where icon_name = 'pet'
;
-- Nothing; leave it to the available_icons@v1 to delete all of them
commit;

View File

@ -7,6 +7,7 @@ set search_path to camper;
select 1 / count(*) from icon where icon_name = 'area';
select 1 / count(*) from icon where icon_name = 'baby';
select 1 / count(*) from icon where icon_name = 'ball';
select 1 / count(*) from icon where icon_name = 'barbecue';
select 1 / count(*) from icon where icon_name = 'bicycle';
select 1 / count(*) from icon where icon_name = 'campfire';
select 1 / count(*) from icon where icon_name = 'castle';

View File

@ -16,12 +16,16 @@
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3Cpath d="M417.3 360.1l-71.6-4.8c-5.2-.3-10.3 1.1-14.5 4.2s-7.2 7.4-8.4 12.5l-17.6 69.6C289.5 445.8 273 448 256 448s-33.5-2.2-49.2-6.4L189.2 372c-1.3-5-4.3-9.4-8.4-12.5s-9.3-4.5-14.5-4.2l-71.6 4.8c-17.6-27.2-28.5-59.2-30.4-93.6L125 228.3c4.4-2.8 7.6-7 9.2-11.9s1.4-10.2-.5-15l-26.7-66.6C128 109.2 155.3 89 186.7 76.9l55.2 46c4 3.3 9 5.1 14.1 5.1s10.2-1.8 14.1-5.1l55.2-46c31.3 12.1 58.7 32.3 79.6 57.9l-26.7 66.6c-1.9 4.8-2.1 10.1-.5 15s4.9 9.1 9.2 11.9l60.7 38.2c-1.9 34.4-12.8 66.4-30.4 93.6zM256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm14.1-325.7c-8.4-6.1-19.8-6.1-28.2 0L194 221c-8.4 6.1-11.9 16.9-8.7 26.8l18.3 56.3c3.2 9.9 12.4 16.6 22.8 16.6h59.2c10.4 0 19.6-6.7 22.8-16.6l18.3-56.3c3.2-9.9-.3-20.7-8.7-26.8l-47.9-34.8z"/%3E%3C/svg%3E');
}
.icon_barbecue {
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-10 0 468 512"%3E%3Cpath d="M120 -39q22 2 24 24v3v0q0 8 7 13l13 8v0q27 20 28 53v3v0q-2 22 -24 24q-22 -2 -24 -24v-3v0q0 -8 -7 -13l-13 -8v0q-27 -20 -28 -53v-3v0q2 -22 24 -24v0zM0 153q0 -14 9 -23v0v0q9 -9 23 -9h384v0q14 0 23 9t9 23q-1 59 -32 106q-31 46 -82 69l48 112v0q7 21 -12 31 q-21 7 -32 -13l-11 -25v0h-172v0q-7 18 -23 29t-36 11q-27 -1 -45 -19t-19 -45q1 -27 19 -45t45 -19q5 0 10 1l8 -18v0q-51 -23 -82 -69q-31 -47 -32 -106v0zM155 385h152h-152h152l-19 -43v0q-16 3 -32 3h-64v0q-16 0 -32 -3l-12 29v0q4 6 7 14v0zM96 433q22 -2 24 -24 q-2 -22 -24 -24q-22 2 -24 24q2 22 24 24v0zM256 -15v3v-3v3q0 8 7 13l13 8v0q27 20 28 53v3v0q-2 22 -24 24q-22 -2 -24 -24v-3v0q0 -8 -7 -13l-12 -8v0q-28 -20 -29 -53v-3v0q2 -22 24 -24q22 2 24 24v0z" /%3E%3C/svg%3E');
}
.icon_bicycle {
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"%3E%3Cpath d="M312 32c-13.3 0-24 10.7-24 24s10.7 24 24 24h25.7l34.6 64H222.9l-27.4-38C191 99.7 183.7 96 176 96H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h43.7l22.1 30.7-26.6 53.1c-10-2.5-20.5-3.8-31.2-3.8C57.3 224 0 281.3 0 352s57.3 128 128 128c65.3 0 119.1-48.9 127-112h49c8.5 0 16.3-4.5 20.7-11.8l84.8-143.5 21.7 40.1C402.4 276.3 384 312 384 352c0 70.7 57.3 128 128 128s128-57.3 128-128s-57.3-128-128-128c-13.5 0-26.5 2.1-38.7 6L375.4 48.8C369.8 38.4 359 32 347.2 32H312zM458.6 303.7l32.3 59.7c6.3 11.7 20.9 16 32.5 9.7s16-20.9 9.7-32.5l-32.3-59.7c3.6-.6 7.4-.9 11.2-.9c39.8 0 72 32.2 72 72s-32.2 72-72 72s-72-32.2-72-72c0-18.6 7-35.5 18.6-48.3zM133.2 368h65c-7.3 32.1-36 56-70.2 56c-39.8 0-72-32.2-72-72s32.2-72 72-72c1.7 0 3.4 .1 5.1 .2l-24.2 48.5c-9 18.1 4.1 39.4 24.3 39.4zm33.7-48l50.7-101.3 72.9 101.2-.1 .1H166.8zm90.6-128H365.9L317 274.8 257.4 192z"/%3E%3C/svg%3E');
}
.icon_campfire {
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"%3E%3Cpath d="M153.6 29.9l16-21.3C173.6 3.2 180 0 186.7 0C198.4 0 208 9.6 208 21.3V43.5c0 13.1 5.4 25.7 14.9 34.7L307.6 159C356.4 205.6 384 270.2 384 337.7C384 434 306 512 209.7 512H192C86 512 0 426 0 320v-3.8c0-48.8 19.4-95.6 53.9-130.1l3.5-3.5c4.2-4.2 10-6.6 16-6.6C85.9 176 96 186.1 96 198.6V288c0 35.3 28.7 64 64 64s64-28.7 64-64v-3.9c0-18-7.2-35.3-19.9-48l-38.6-38.6c-24-24-37.5-56.7-37.5-90.7c0-27.7 9-54.8 25.6-76.9z"/%3E%3C/svg%3E');
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-10 0 532 512"%3E%3Cpath d="M258 281q61 -2 102 -43v0v0q41 -41 43 -102q1 -23 -14 -56q-14 -34 -54 -74q-19 -15 -38 1l-10 10v0l-42 -41v0q-9 -9 -20 -9q-9 0 -15 5q-33 25 -65 68q-31 43 -33 96q2 61 43 102t103 43v0zM316 179q-1 25 -17 41v0v0q-17 17 -41 18q-25 -1 -42 -18q-16 -16 -17 -41 q2 -25 19 -47t31 -33q9 -6 17 0q14 11 31 33t19 47v0zM43 251q-13 -4 -25 1v0v0q-11 6 -16 18q-4 13 1 25q6 11 18 16l140 50v0l-140 50v0q-12 5 -18 16q-5 12 -1 25q5 13 16 18q12 5 25 1l213 -76v0l213 76v0q13 4 25 -1q11 -5 16 -18q4 -13 -1 -25q-6 -11 -18 -16 l-140 -50v0l140 -50v0q12 -5 18 -16q5 -12 1 -25q-5 -12 -16 -18q-12 -5 -25 -1l-213 76v0l-213 -76v0z" /%3E%3C/svg%3E');
}
.icon_castle {