Modifying the Burguillos.info logo.
This commit is contained in:
parent
cc04b7799a
commit
a021a27955
@ -13,12 +13,8 @@ has alternative => (
|
|||||||
is => 'rw'
|
is => 'rw'
|
||||||
);
|
);
|
||||||
|
|
||||||
sub max_alternative {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub regenerate_alternative($self) {
|
sub regenerate_alternative($self) {
|
||||||
$self->alternative(int(rand() * ($self->max_alternative+1)));
|
$self->alternative(rand());
|
||||||
}
|
}
|
||||||
|
|
||||||
sub weight {
|
sub weight {
|
||||||
|
@ -12,6 +12,15 @@ use Moo;
|
|||||||
|
|
||||||
use parent 'BurguillosInfo::Ad';
|
use parent 'BurguillosInfo::Ad';
|
||||||
|
|
||||||
|
|
||||||
|
sub max_alternative {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub default_alternative($self) {
|
||||||
|
return int($self->alternative * ($self->max_alternative + 1));
|
||||||
|
}
|
||||||
|
|
||||||
sub weight {
|
sub weight {
|
||||||
return 10;
|
return 10;
|
||||||
}
|
}
|
||||||
@ -24,7 +33,10 @@ sub is_active ($self) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub seconds {
|
sub seconds($self) {
|
||||||
|
if ($self->default_alternative == 1) {
|
||||||
|
return 5;
|
||||||
|
}
|
||||||
return 8;
|
return 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,7 +48,10 @@ sub href {
|
|||||||
return 'mailto:contact@owlcode.tech?subject=Quiero%20anunciarme%20en%20Burguillos.info';
|
return 'mailto:contact@owlcode.tech?subject=Quiero%20anunciarme%20en%20Burguillos.info';
|
||||||
}
|
}
|
||||||
|
|
||||||
sub text {
|
sub text($self) {
|
||||||
|
if ($self->default_alternative == 1) {
|
||||||
|
return '¡Anunciate en Burguillos.info! Precios a partir de 18.15€, pulsa aquí y escribenos.';
|
||||||
|
}
|
||||||
return
|
return
|
||||||
'Pulsando este anuncio puedes enviarnos un correo para anunciarte en este sitio. ¡Si me ves funciona!';
|
'Pulsando este anuncio puedes enviarnos un correo para anunciarte en este sitio. ¡Si me ves funciona!';
|
||||||
}
|
}
|
||||||
|
@ -24,25 +24,29 @@ sub max_alternative {
|
|||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub default_alternative($self) {
|
||||||
|
return int($self->alternative * ($self->max_alternative + 1));
|
||||||
|
}
|
||||||
|
|
||||||
sub is_active ($self) {
|
sub is_active ($self) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub img ($self) {
|
sub img ($self) {
|
||||||
if ( $self->alternative == 2 ) {
|
if ( $self->default_alternative == 2 ) {
|
||||||
return '/img/anuncio-yo-te-lo-guiso-3.webp';
|
return '/img/anuncio-yo-te-lo-guiso-3.webp';
|
||||||
}
|
}
|
||||||
if ( $self->alternative == 1 ) {
|
if ( $self->default_alternative == 1 ) {
|
||||||
return '/img/anuncio-yo-te-lo-guiso-2.webp';
|
return '/img/anuncio-yo-te-lo-guiso-2.webp';
|
||||||
}
|
}
|
||||||
return '/img/anuncio-yo-te-lo-guiso-1.webp';
|
return '/img/anuncio-yo-te-lo-guiso-1.webp';
|
||||||
}
|
}
|
||||||
|
|
||||||
sub text($self) {
|
sub text($self) {
|
||||||
if ( $self->alternative == 2 ) {
|
if ( $self->default_alternative == 2 ) {
|
||||||
return '¡Comida distinta cada día! Ven a YoTeLoGuiso.';
|
return '¡Comida distinta cada día! Ven a YoTeLoGuiso.';
|
||||||
}
|
}
|
||||||
if ( $self->alternative == 1 ) {
|
if ( $self->default_alternative == 1 ) {
|
||||||
return
|
return
|
||||||
'Una comida como esta no la ves todos los días, disponible en Burguillos, entra y descubrelo.';
|
'Una comida como esta no la ves todos los días, disponible en Burguillos, entra y descubrelo.';
|
||||||
}
|
}
|
||||||
|
@ -163,15 +163,17 @@ body {
|
|||||||
body div.page-contents div.description a.suscribe-category-rss img {
|
body div.page-contents div.description a.suscribe-category-rss img {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px; }
|
height: 40px; }
|
||||||
|
body div.page-contents nav.mobile-shortcuts > a {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center; }
|
||||||
body div.page-contents nav > a.menu-expand > img {
|
body div.page-contents nav > a.menu-expand > img {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px; }
|
||||||
padding-top: 15px; }
|
|
||||||
body div.page-contents nav > a > img.index-image-menu {
|
body div.page-contents nav > a > img.index-image-menu {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
width: 50px;
|
width: 40px;
|
||||||
height: 50px;
|
height: 40px; }
|
||||||
padding-bottom: 10px; }
|
|
||||||
body div.page-contents nav.desktop {
|
body div.page-contents nav.desktop {
|
||||||
display: none; }
|
display: none; }
|
||||||
body div.page-contents nav.desktop a {
|
body div.page-contents nav.desktop a {
|
||||||
@ -182,8 +184,6 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
margin: 0px; }
|
margin: 0px; }
|
||||||
body div.page-contents nav a.go-to-index img {
|
|
||||||
margin-top: 5%; }
|
|
||||||
body div.page-contents nav a {
|
body div.page-contents nav a {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
@ -214,7 +214,11 @@ body {
|
|||||||
top: 0%; }
|
top: 0%; }
|
||||||
body div.page-contents nav.mobile-shortcuts a {
|
body div.page-contents nav.mobile-shortcuts a {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 16.6666666667%; }
|
width: 16.6666666667%;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
padding-bottom: 0; }
|
||||||
body div.page-contents nav.mobile-shortcuts div {
|
body div.page-contents nav.mobile-shortcuts div {
|
||||||
width: 66.6666666667%; }
|
width: 66.6666666667%; }
|
||||||
body div.page-contents nav.mobile-foldable {
|
body div.page-contents nav.mobile-foldable {
|
||||||
@ -259,11 +263,14 @@ body {
|
|||||||
margin-right: 10%; }
|
margin-right: 10%; }
|
||||||
body div.page-contents nav.desktop {
|
body div.page-contents nav.desktop {
|
||||||
display: block;
|
display: block;
|
||||||
height: auto; }
|
height: auto;
|
||||||
|
height: 60px; }
|
||||||
body div.page-contents nav.desktop a {
|
body div.page-contents nav.desktop a {
|
||||||
display: table-cell; }
|
display: table-cell;
|
||||||
|
height: 60px; }
|
||||||
body div.page-contents nav.desktop a img.index-image-menu {
|
body div.page-contents nav.desktop a img.index-image-menu {
|
||||||
padding-top: 15px; }
|
height: 40px;
|
||||||
|
width: 40px; }
|
||||||
body div.page-contents nav.mobile-shortcuts {
|
body div.page-contents nav.mobile-shortcuts {
|
||||||
display: none; }
|
display: none; }
|
||||||
body div.page-contents.no-carousel {
|
body div.page-contents.no-carousel {
|
||||||
|
@ -240,17 +240,21 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav.mobile-shortcuts > a {
|
||||||
|
display:flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
nav > a.menu-expand > img {
|
nav > a.menu-expand > img {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
padding-top: 15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav > a > img.index-image-menu {
|
nav > a > img.index-image-menu {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
width: 50px;
|
width: 40px;
|
||||||
height: 50px;
|
height: 40px;
|
||||||
padding-bottom: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.desktop {
|
nav.desktop {
|
||||||
@ -269,7 +273,6 @@ body {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
|
||||||
a.go-to-index img {
|
a.go-to-index img {
|
||||||
margin-top: 5%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@ -321,6 +324,10 @@ body {
|
|||||||
a {
|
a {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: (100% / 6);
|
width: (100% / 6);
|
||||||
|
padding-left: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div {
|
div {
|
||||||
@ -410,12 +417,15 @@ body {
|
|||||||
nav.desktop {
|
nav.desktop {
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
height: 60px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
height: 60px;
|
||||||
|
|
||||||
img.index-image-menu {
|
img.index-image-menu {
|
||||||
padding-top: 15px;
|
height: 40px;
|
||||||
|
width: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
inkscape:deskcolor="#d1d1d1"
|
inkscape:deskcolor="#d1d1d1"
|
||||||
inkscape:document-units="mm"
|
inkscape:document-units="mm"
|
||||||
showgrid="false"
|
showgrid="false"
|
||||||
inkscape:zoom="1.3932941"
|
inkscape:zoom="0.49260385"
|
||||||
inkscape:cx="424.53349"
|
inkscape:cx="508.52221"
|
||||||
inkscape:cy="274.1704"
|
inkscape:cy="261.87371"
|
||||||
inkscape:window-width="1920"
|
inkscape:window-width="1920"
|
||||||
inkscape:window-height="1011"
|
inkscape:window-height="1011"
|
||||||
inkscape:window-x="0"
|
inkscape:window-x="0"
|
||||||
@ -34,6 +34,11 @@
|
|||||||
inkscape:window-maximized="1"
|
inkscape:window-maximized="1"
|
||||||
inkscape:current-layer="layer1" /><defs
|
inkscape:current-layer="layer1" /><defs
|
||||||
id="defs2"><rect
|
id="defs2"><rect
|
||||||
|
x="191.8733"
|
||||||
|
y="296.26283"
|
||||||
|
width="89.250046"
|
||||||
|
height="103.92693"
|
||||||
|
id="rect4068" /><rect
|
||||||
x="139.23143"
|
x="139.23143"
|
||||||
y="151.75457"
|
y="151.75457"
|
||||||
width="247.98071"
|
width="247.98071"
|
||||||
@ -42,28 +47,38 @@
|
|||||||
inkscape:label="Layer 1"
|
inkscape:label="Layer 1"
|
||||||
inkscape:groupmode="layer"
|
inkscape:groupmode="layer"
|
||||||
id="layer1"><path
|
id="layer1"><path
|
||||||
style="fill:#e7e199;fill-opacity:1;stroke:#8400b4;stroke-width:2.16901;stroke-dasharray:none;stroke-opacity:1"
|
style="fill:#e7e199;fill-opacity:1;stroke:#8400b4;stroke-width:3.05164;stroke-dasharray:none;stroke-opacity:1"
|
||||||
d="m 27.079878,45.918444 c -7.58595,12.256271 -7.79018,28.382467 1.918861,41.874385 13.858561,19.258191 39.471681,21.761031 39.471681,21.761031 14.179184,-0.30567 32.2061,-6.99075 40.86963,-21.493101 5.87864,-9.840573 7.88717,-23.049909 -0.24759,-41.198755 l 5.66136,-34.193671 -33.975578,7.115275 c -7.239777,-3.04064 -11.657461,-3.00772 -19.61893,-0.213637 L 26.102196,12.65053 Z"
|
d="M 5.7863186,52.207628 C -22.012164,157.6448 154.41228,155.66374 127.36304,54.668727 L 132.11332,3.8374652 92.997827,20.006012 C 80.297148,14.321987 52.188554,14.348872 40.660948,19.087459 L 5.2800912,3.8128335 Z"
|
||||||
id="path3088"
|
id="path3088"
|
||||||
sodipodi:nodetypes="cscscccccc" /><path
|
sodipodi:nodetypes="ccccccc" /><path
|
||||||
style="fill:#8400b4;fill-opacity:1;stroke:#8400b4;stroke-width:2.16901;stroke-dasharray:none;stroke-opacity:0.00202613"
|
style="fill:#8400b4;fill-opacity:1;stroke:#8400b4;stroke-width:3.01922;stroke-dasharray:none;stroke-opacity:0.00202613"
|
||||||
d="m 85.24717,23.020327 24.90347,-6.5078 -4.44536,23.992892 z"
|
d="M 98.811394,21.454347 C 111.71544,17.829834 122.06344,13.349308 129.80427,7.0505755 124.58799,19.145417 124.85471,31.24026 123.64764,43.335102 120.44183,32.877872 117.49746,25.776147 98.811394,21.454347 Z"
|
||||||
id="path4962" /><path
|
id="path4962"
|
||||||
style="fill:#000000;fill-opacity:0;stroke:#8400b4;stroke-width:2.82816;stroke-dasharray:none"
|
sodipodi:nodetypes="cccc" /><path
|
||||||
d="M 28.27396,55.870204 28.759111,78.547647 40.919263,73.783646 30.853186,70.638506 39.67723,59.51037 Z"
|
style="fill:#505050;fill-opacity:1;stroke:#8400b4;stroke-width:3.14877;stroke-dasharray:none"
|
||||||
id="path352" /><path
|
d="M 108.20765,43.212212 C 84.047928,57.848404 51.15628,30.725107 23.738987,43.342514 34.019992,50.227809 37.853543,59.25761 35.823599,70.237689 47.879623,70.919345 63.722117,68.072214 64.406596,47.75889 70.952206,59.817138 73.121801,70.398577 94.285795,68.588935 92.563169,59.237928 99.494167,51.10012 108.20765,43.212209 Z"
|
||||||
style="fill:#000000;fill-opacity:0;stroke:#8400b4;stroke-width:1.64858"
|
id="path352"
|
||||||
d="m 45.976678,75.2918 2.550224,-2.435693 1.351544,2.263037 -2.737802,2.170473 z"
|
sodipodi:nodetypes="cccccc" /><path
|
||||||
|
style="fill:#000000;fill-opacity:0;stroke:#8400b4;stroke-width:3.50549"
|
||||||
|
d="m 61.441562,80.584238 6.387162,-4.397143 3.385008,4.085448 -6.85696,3.918343 z"
|
||||||
id="path354" /><path
|
id="path354" /><path
|
||||||
style="fill:#000000;fill-opacity:0;stroke:#8400b4;stroke-width:2.63215"
|
style="fill:#8400b4;fill-opacity:1;stroke:#8400b4;stroke-width:2.70604;stroke-dasharray:none"
|
||||||
d="m 51.939638,61.748437 12.673771,-0.27739 h -6.400381 l 1.151006,14.361502 -6.438478,0.36657 13.172502,-0.950901"
|
d="m 6.2765833,52.32988 16.9366957,-8.80056 7.764406,6.625174 C 21.126656,46.000841 12.943755,49.985234 6.2765833,52.32988 Z"
|
||||||
id="path356" /><path
|
id="path2078"
|
||||||
style="fill:#000000;fill-opacity:0;stroke:#8400b4;stroke-width:3.01048"
|
sodipodi:nodetypes="cccc" /><path
|
||||||
d="M 73.22782,76.689607 70.207266,64.96019 82.424851,72.732691 79.693647,61.536292"
|
style="fill:#8400b4;fill-opacity:1;stroke:#8400b4;stroke-width:2.70604;stroke-dasharray:none"
|
||||||
id="path358" /><path
|
d="m 107.218,44.009038 19.84411,10.243598 c -6.85372,-2.624296 -16.73079,-6.952393 -25.46852,-2.771324 z"
|
||||||
style="fill:#000000;fill-opacity:0;stroke:#8400b4;stroke-width:2.53388"
|
id="path2548"
|
||||||
d="m 97.911689,61.50783 -12.661461,1.345325 2.16392,6.806336 11.429001,-1.480573 -11.154641,1.415187 1.17052,6.114865"
|
sodipodi:nodetypes="cccc" /><text
|
||||||
id="path362" /><path
|
xml:space="preserve"
|
||||||
style="fill:#000000;fill-opacity:0;stroke:#8400b4;stroke-width:2.64703"
|
transform="scale(0.264585)"
|
||||||
d="m 100.30805,62.173984 h 9.69333 l 0.40771,10.273945 -9.15263,-0.576022 z"
|
id="text4066"
|
||||||
id="path364" /></g></svg>
|
style="fill:#8400b4;-inkscape-font-specification:'monospace, Normal';font-family:monospace;font-size:66.66666667px;stroke:#8400b4;stroke-width:7.34740157;fill-opacity:1;stroke-dasharray:none;white-space:pre;shape-inside:url(#rect4068)" /><g
|
||||||
|
aria-label="I"
|
||||||
|
id="text4074"
|
||||||
|
style="font-size:17.639px;font-family:monospace;-inkscape-font-specification:'monospace, Normal';fill:#8400b4;stroke:#8400b4;stroke-width:0;stroke-dasharray:none"
|
||||||
|
transform="matrix(0.0143326,-2.9138852,5.7034495,0.09621834,-441.6579,301.0981)"><path
|
||||||
|
d="m 67.459633,82.859003 c 2.16276,1.661141 4.308209,2.061983 7.088328,0 v 1.343596 l -2.601002,1.367555 -0.09454,6.037127 2.69554,1.526784 v 1.343596 c -2.418748,-1.695052 -4.78008,-1.651346 -7.088328,0 V 93.134065 L 70.055,91.700252 70.301915,85.570154 67.459633,84.202599 Z"
|
||||||
|
id="path4076"
|
||||||
|
style="stroke-width:0;stroke-dasharray:none"
|
||||||
|
sodipodi:nodetypes="ccccccccccccc" /></g></g></svg>
|
||||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 4.5 KiB |
Loading…
Reference in New Issue
Block a user