Просмотр исходного кода

use svg for mealie and improve shandan.one logo

Pi 3 месяцев назад
Родитель
Сommit
2166b20a06

+ 0 - 4
css/code.css

@@ -4,10 +4,6 @@ body .pure-g {
 details svg, details img {
     background-color: white
 }
-.card-img-top {
-    width: 40%;
-    margin: 10% 30% 10% 30%;
-}
 .row-cols-lg-2:has(.bg-azure) {
   justify-content: center;
 }

+ 0 - 4
css/goto.css

@@ -7,7 +7,3 @@ details svg, details img {
 .row-cols-lg-2:has(.bg-google) {
   justify-content: center;
 }
-.card-img-top {
-    width: 40%;
-    margin: 10% 30% 10% 30%;
-}

+ 0 - 4
css/upload.css

@@ -7,7 +7,3 @@ details svg, details img {
 .row-cols-lg-2:has(.bg-yellow) {
   justify-content: center;
 }
-.card-img-top {
-    width: 40%;
-    margin: 10% 30% 10% 30%;
-}

+ 2 - 2
home-sqlpage/index.sql

@@ -1,8 +1,8 @@
 SELECT 'shell' AS component
 , 'dark' AS theme
 , 'Portal' AS title
-, '/static/shandanone.svg' AS favicon
-, '/static/shandanone.svg' AS image
+, '/static/shandanone-small.svg' AS favicon
+, '/static/shandanone2.svg' AS image
 --, :manifest AS manifest
 ;
 SELECT 'text' AS component

+ 1 - 1
home-sqlpage/sqlpage/migrations/000_index.sql

@@ -68,7 +68,7 @@ VALUES
 (
 	'https://mealie.shandan.one',
 	'Recipes',
-	'https://mealie.shandan.one/favicon.ico',
+	'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" class="v-icon__svg" style="font-size: 100px; height: 100px; width: 100px; fill: rgb(229, 131, 37)"><path d="M8.1,13.34L3.91,9.16C2.35,7.59 2.35,5.06 3.91,3.5L10.93,10.5L8.1,13.34M13.41,13L20.29,19.88L18.88,21.29L12,14.41L5.12,21.29L3.71,19.88L13.36,10.22L13.16,10C12.38,9.23 12.38,7.97 13.16,7.19L17.5,2.82L18.43,3.74L15.19,7L16.15,7.94L19.39,4.69L20.31,5.61L17.06,8.85L18,9.81L21.26,6.56L22.18,7.5L17.81,11.84C17.03,12.62 15.77,12.62 15,11.84L14.78,11.64L13.41,13Z"></path></svg>',
 	'Share recipes and meal plans',
 	'yellow',
 	3

+ 68 - 0
rest/static/shandanone-small.svg

@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="104.20946mm"
+   height="95.790558mm"
+   viewBox="0 0 104.20946 95.790558"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   sodipodi:docname="shandanone-small.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="true"
+     inkscape:document-units="mm"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:zoom="0.56569164"
+     inkscape:cx="61.871164"
+     inkscape:cy="181.19412"
+     inkscape:window-width="1680"
+     inkscape:window-height="997"
+     inkscape:window-x="1920"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs2" />
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-52.895271,-100.60472)">
+    <rect
+       style="fill:#00ffff;stroke-width:1.58288"
+       id="rect9235"
+       width="104.20946"
+       height="95.790558"
+       x="52.895271"
+       y="100.60472"
+       rx="9.1908665"
+       ry="8.2469568" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:82.0971px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:2.05243"
+       x="45.846691"
+       y="180.05571"
+       id="text1948"
+       transform="scale(1.040286,0.96127411)"><tspan
+         sodipodi:role="line"
+         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:FreeMono;-inkscape-font-specification:'FreeMono Bold';stroke-width:2.05243"
+         x="45.846691"
+         y="180.05571"
+         id="tspan31781">.1</tspan></text>
+  </g>
+</svg>

+ 0 - 77
rest/static/shandanone.svg

@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
-   width="90mm"
-   height="90mm"
-   viewBox="0 0 90 90"
-   version="1.1"
-   id="svg5"
-   inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
-   sodipodi:docname="shandanone.svg"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:svg="http://www.w3.org/2000/svg">
-  <sodipodi:namedview
-     id="namedview7"
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1.0"
-     inkscape:pageshadow="2"
-     inkscape:pageopacity="0.0"
-     inkscape:pagecheckerboard="true"
-     inkscape:document-units="mm"
-     showgrid="false"
-     inkscape:zoom="0.52916667"
-     inkscape:cx="17.007874"
-     inkscape:cy="395.90551"
-     inkscape:window-width="1920"
-     inkscape:window-height="1176"
-     inkscape:window-x="0"
-     inkscape:window-y="0"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="layer1"
-     fit-margin-top="0"
-     fit-margin-left="0"
-     fit-margin-right="0"
-     fit-margin-bottom="0" />
-  <defs
-     id="defs2" />
-  <g
-     inkscape:label="Layer 1"
-     inkscape:groupmode="layer"
-     id="layer1"
-     transform="translate(-51.755279,-44.016113)">
-    <rect
-       style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;paint-order:fill markers stroke"
-       id="rect16718"
-       width="90"
-       height="90"
-       x="51.75528"
-       y="44.016113"
-       ry="10.916862" />
-    <text
-       xml:space="preserve"
-       style="font-style:normal;font-weight:normal;font-size:22.524px;line-height:1.25;font-family:sans-serif;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.563105"
-       x="59.320435"
-       y="69.989517"
-       id="text1310"
-       transform="scale(1.0359329,0.96531349)"><tspan
-         sodipodi:role="line"
-         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:22.524px;font-family:FreeMono;-inkscape-font-specification:'FreeMono, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#ffffff;stroke-width:0.563105"
-         x="59.320435"
-         y="69.989517"
-         id="tspan7472">shand</tspan><tspan
-         sodipodi:role="line"
-         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:22.524px;font-family:FreeMono;-inkscape-font-specification:'FreeMono, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#ffffff;stroke-width:0.563105"
-         x="59.320435"
-         y="99.050758"
-         id="tspan7476">an&lt;do</tspan><tspan
-         sodipodi:role="line"
-         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:22.524px;font-family:FreeMono;-inkscape-font-specification:'FreeMono, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#ffffff;stroke-width:0.563105"
-         x="59.320435"
-         y="128.112"
-         id="tspan7482">t&gt;one</tspan></text>
-  </g>
-</svg>

+ 78 - 0
rest/static/shandanone2.svg

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="104.20946mm"
+   height="95.790558mm"
+   viewBox="0 0 104.20946 95.790558"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   sodipodi:docname="shandanone2.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="true"
+     inkscape:document-units="mm"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:zoom="0.56569164"
+     inkscape:cx="61.871164"
+     inkscape:cy="181.19412"
+     inkscape:window-width="1680"
+     inkscape:window-height="997"
+     inkscape:window-x="1920"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs2" />
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-52.895271,-100.60472)">
+    <rect
+       style="fill:#00ffff;stroke-width:1.58288"
+       id="rect9235"
+       width="104.20946"
+       height="95.790558"
+       x="52.895271"
+       y="100.60472"
+       rx="9.1908665"
+       ry="8.2469568" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:23.4617px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.586543"
+       x="66.327843"
+       y="131.03873"
+       id="text1948"
+       transform="scale(1.040286,0.96127411)"><tspan
+         sodipodi:role="line"
+         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:FreeMono;-inkscape-font-specification:'FreeMono Bold';stroke-width:0.586543"
+         x="66.327843"
+         y="131.03873"
+         id="tspan4071">SHAN</tspan><tspan
+         sodipodi:role="line"
+         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:FreeMono;-inkscape-font-specification:'FreeMono Bold';stroke-width:0.586543"
+         x="66.327843"
+         y="161.30981"
+         id="tspan6473"> DAN</tspan><tspan
+         sodipodi:role="line"
+         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:FreeMono;-inkscape-font-specification:'FreeMono Bold';stroke-width:0.586543"
+         x="66.327843"
+         y="191.58092"
+         id="tspan6475"> .ONE</tspan></text>
+  </g>
+</svg>