[gnome-todo] welcome: Add welcome screen artwork



commit e65582bd38a2148f1c36fe637d64a63daee5d866
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri May 7 10:00:39 2021 -0300

    welcome: Add welcome screen artwork
    
    Thanks to Jakub we have a nice artwork to put in the welcome screen :)

 src/plugins/welcome/assets/welcome.svg       |  1 +
 src/plugins/welcome/gtd-welcome-workspace.ui | 10 ++++++++++
 src/plugins/welcome/welcome.gresource.xml    |  1 +
 3 files changed, 12 insertions(+)
---
diff --git a/src/plugins/welcome/assets/welcome.svg b/src/plugins/welcome/assets/welcome.svg
new file mode 100644
index 00000000..c964d8c4
--- /dev/null
+++ b/src/plugins/welcome/assets/welcome.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg"; width="512" height="440"><defs><linearGradient id="a"><stop 
offset="0" stop-color="#051224"/><stop offset="1" stop-color="#3584e4"/></linearGradient><linearGradient 
id="b"><stop offset="0" stop-color="#1c71d8"/><stop offset="1" 
stop-color="#33d17a"/></linearGradient><clipPath clipPathUnits="userSpaceOnUse" id="c"><rect width="443.742" 
height="423.922" x="2.836" y="361.125" rx="6.595" ry="6.595" fill="#9141ac" stroke-width="10.125" 
stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".482"/></clipPath><clipPath 
clipPathUnits="userSpaceOnUse" id="d"><circle cx="60.445" cy="758.586" r="252.859" fill="#9141ac" 
stroke-width="30" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".482"/></clipPath></defs><g 
transform="matrix(1.28618 0 0 1.28708 -384.93 -371.917)"><rect style="marker:none" width="398.078" 
height="317.999" x="299.285" y="312.2" rx="8.953" ry="8.953" fill="#e5a50a"/><g transform="matrix(2.66006 0 0 
2.66006 183.441
  63.898)"><rect style="marker:none" width="95.25" height="58.208" x="47.625" y="84.667" rx="2.884" 
ry="2.884"/><rect ry="2.884" rx="2.884" y="145.256" x="47.625" height="58.208" width="95.25" 
style="marker:none" fill-opacity=".102"/><rect style="marker:none" width="95.25" height="58.208" x="47.625" 
y="144.198" rx="2.884" ry="2.884" fill="#deddda"/><rect ry="2.884" rx="2.884" y="142.875" x="47.625" 
height="58.208" width="95.25" style="marker:none" fill="#f6f5f4"/><rect style="marker:none" width="84.667" 
height="29.104" x="52.917" y="148.167" rx="1.958" ry="1.958" fill="#c0bfbc"/><rect ry="1.958" rx="1.958" 
y="148.696" x="52.917" height="29.104" width="84.667" style="marker:none" fill="#deddda"/><rect ry=".826" 
rx=".826" y="137.583" x="63.5" height="7.408" width="63.5" style="marker:none"/><rect ry="2.884" rx="2.884" 
y="179.917" x="82.021" height="15.875" width="26.458" style="marker:none" fill="#deddda"/><rect ry="1.574" 
rx="1.574" y="86.284" x="49.158" height="54.975" width="92.183"
  style="marker:none" fill="#4a86cf"/><rect style="marker:none" width="46.302" height="5.292" x="74.083" 
y="170.656" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" y="170.656" x="121.708" 
height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect style="marker:none" width="6.615" 
height="5.292" x="129.646" y="170.656" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" 
y="164.042" x="125.677" height="5.292" width="5.292" style="marker:none" fill="#241f31"/><rect 
style="marker:none" width="6.615" height="5.292" x="117.74" y="164.042" rx="1.013" ry="1.013" 
fill="#241f31"/><rect ry="1.013" rx="1.013" y="164.042" x="109.802" height="5.292" width="6.615" 
style="marker:none" fill="#241f31"/><rect style="marker:none" width="6.615" height="5.292" x="101.865" 
y="164.042" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" y="164.042" x="93.927" 
height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect style="marker:none" 
 width="6.615" height="5.292" x="85.99" y="164.042" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" 
rx="1.013" y="164.042" x="78.052" height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect 
style="marker:none" width="6.615" height="5.292" x="70.115" y="164.042" rx="1.013" ry="1.013" 
fill="#241f31"/><rect ry="1.013" rx="1.013" y="164.042" x="62.177" height="5.292" width="6.615" 
style="marker:none" fill="#241f31"/><rect style="marker:none" width="6.615" height="5.292" x="121.708" 
y="157.427" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" y="157.427" x="113.771" 
height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect style="marker:none" width="6.615" 
height="5.292" x="105.833" y="157.427" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" 
y="157.427" x="97.896" height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect 
style="marker:none" width="6.615" height="5.292" x="89.958" y="157.427" rx="1.013" ry="
 1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" y="157.427" x="82.021" height="5.292" width="6.615" 
style="marker:none" fill="#241f31"/><rect style="marker:none" width="6.615" height="5.292" x="74.083" 
y="157.427" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" y="157.427" x="66.146" 
height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect style="marker:none" width="10.583" 
height="5.292" x="54.24" y="157.427" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" 
y="150.813" x="125.677" height="5.292" width="10.583" style="marker:none" fill="#241f31"/><rect 
style="marker:none" width="6.615" height="5.292" x="117.74" y="150.813" rx="1.013" ry="1.013" 
fill="#241f31"/><rect ry="1.013" rx="1.013" y="150.813" x="109.802" height="5.292" width="6.615" 
style="marker:none" fill="#241f31"/><rect style="marker:none" width="6.615" height="5.292" x="101.865" 
y="150.813" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" y="150.813" x=
 "93.927" height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect style="marker:none" 
width="6.615" height="5.292" x="85.99" y="150.813" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" 
rx="1.013" y="150.813" x="78.052" height="5.292" width="6.615" style="marker:none" fill="#241f31"/><rect 
style="marker:none" width="6.615" height="5.292" x="70.115" y="150.813" rx="1.013" ry="1.013" 
fill="#241f31"/><rect ry="1.013" rx="1.013" y="150.813" x="62.177" height="5.292" width="6.615" 
style="marker:none" fill="#241f31"/><rect style="marker:none" width="6.615" height="5.292" x="54.24" 
y="150.813" rx="1.013" ry="1.013" fill="#241f31"/><rect style="marker:none" width="6.615" height="5.292" 
x="54.24" y="164.042" rx="1.013" ry="1.013" fill="#241f31"/><rect style="marker:none" width="6.615" 
height="5.292" x="66.146" y="170.656" rx="1.013" ry="1.013" fill="#241f31"/><rect ry="1.013" rx="1.013" 
y="170.656" x="54.24" height="5.292" width="10.583" style="marker:none" fill="#241f31"
 /><rect ry="1.013" rx="1.013" y="157.427" x="129.646" height="5.292" width="6.615" style="marker:none" 
fill="#241f31"/><rect style="marker:none" width="3.969" height="11.906" x="132.292" y="157.427" rx="1.013" 
ry="1.013" fill="#241f31"/></g><g transform="matrix(1.72347 0 0 1.72347 617.68 94.236)"><g 
transform="matrix(.5269 0 0 .5269 161.93 58.874)"><rect ry="8" rx="8" y="190.009" x="-348" height="104" 
width="88" style="marker:none" fill-opacity=".102"/><rect style="marker:none" width="88" height="104" 
x="-348" y="188" rx="8" ry="8" fill="#1e737e"/><rect ry="8" rx="8" y="188" x="-348" height="102" width="88" 
style="marker:none" fill="#f6f5f4"/><path d="M-340.177 188h64.72a7.805 7.805 0 017.823 7.822l-.102 
94.178h-72.441a7.805 7.805 0 01-7.823-7.822v-86.356a7.805 7.805 0 017.823-7.822z" style="marker:none" 
fill="#fff"/><rect ry="8" rx="8" y="180" x="-348" height="100" width="88" style="marker:none" 
fill="#1e737e"/><rect style="marker:none" width="88" height="98" x="-348" y="180" rx="8
 " ry="8" fill="#27a0a4"/></g><g transform="matrix(.5269 0 0 .5269 -31.97 60.455)" fill="#3d3846" 
stroke="#241f31" stroke-width="2"><circle cx="32" cy="187" r="3"/><circle r="3" cy="187" cx="96"/><circle 
cx="48" cy="187" r="3"/><circle cx="64" cy="187" r="3"/><circle r="3" cy="187" cx="80"/></g><path d="M-15.125 
149.486a1.054 1.054 0 00-1.037 1.069v8.43a1.054 1.054 0 102.107 0v-8.43a1.054 1.054 0 00-1.07-1.069zm8.432 
0a1.054 1.054 0 00-1.04 1.069v8.43a1.054 1.054 0 102.108 0v-8.43a1.054 1.054 0 00-1.068-1.069zm8.43 0a1.054 
1.054 0 00-1.038 1.069v8.43a1.054 1.054 0 102.108 0v-8.43a1.054 1.054 0 00-1.07-1.069zm8.429 0a1.054 1.054 0 
00-1.037 1.069v8.43a1.054 1.054 0 102.107 0v-8.43a1.054 1.054 0 00-1.07-1.069zm8.432 0a1.054 1.054 0 00-1.04 
1.069v8.43a1.054 1.054 0 102.108 0v-8.43a1.054 1.054 0 00-1.068-1.069z" 
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-featu
 
re-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1"
 color="#000" font-weight="400" font-family="sans-serif" overflow="visible" fill="#deddda"/><circle r="1.058" 
cy="151.642" cx="-15.081" style="marker:none" fill="#fff"/><circle style="marker:none" cx="-6.639" 
cy="151.642" r="1.058" fill="#fff"/><circle r="1.058" cy="151.642" cx="1.757" style="marker:none" 
fill="#fff"/><circle style="marker:none" cx="10.199" cy="151.642" r="1.058" fill="#fff"/><circle r="1.058" 
cy="151.642" cx="18.665" style="marker:none" fill="#fff"/></g><g transform="matrix(.42538 0 0 .42538 -711.952 
3102.21)" stroke-width="1.912"><path style="marker:none" d="M3070.867-5952.92h115.266c12.668 0 27.53 11.09 
22.867 22.868l-16 40.414c-3.848 9.72-8.415 18.868-18.869 18.868h-91.262c-10.454 0-15.02
 1-9.149-18.869-18.868l-16-40.414c-4.663-11.779 10.199-22.867 22.867-22.867z" fill="#deddda" 
fill-opacity=".969"/><path style="marker:none" d="M3143.133-5952.92c12.668 0 24.727 10.336 22.867 22.867l-6 
40.415c-1.535 10.34-8.416 18.869-18.87 18.869h33c10.454 0 15.022-9.15 
18.87-18.87l16-40.414c4.663-11.778-10.199-22.867-22.867-22.867z" fill="#c0bfbc" fill-opacity=".969"/><path 
d="M3086-6004.48s41-1 56-18 19-30 28-30-2 23 12 23 29-35 45-34 11 26 5 38-25 28-25 28z" fill="#241f31"/><rect 
style="marker:none" width="185" height="71" x="3035" y="-6003.48" rx="14.397" ry="14.241" 
fill="#fff"/><circle style="marker:none" cx="3242.5" cy="-5967.98" r="28.006" fill="none" stroke="#f6f5f4" 
stroke-width="30.598"/><path style="marker:none" d="M3140.473-6003.48c4.17 0 7.527 3.321 7.527 7.447v56.105c0 
4.126-3.357 7.448-7.527 7.448h72c4.17 0 7.527-3.322 7.527-7.448v-56.105c0-4.126-3.357-7.447-7.527-7.447z" 
fill="#f6f5f4"/><path d="M3162.066-6103.667c-5.631 3.924-10.066 14.187-14.066 24.187-4 10 3 12 10
  7s25.934-13.293 27-23c1.036-9.43-11.457-16.186-22.934-8.187z" fill="#241f31"/></g><g transform="matrix(0 
2.418 2.418 0 199.579 -96.236)"><path style="font-variation-settings:normal;marker:none" d="M174.888 
199.154v-33.812c0-.78 1.408-7.946 1.408-7.946h.46s1.408 7.165 1.408 7.946v33.812c0 .78-.628 1.409-1.409 
1.409h-.459c-.78 0-1.408-.629-1.408-1.409z" fill-opacity=".102"/><rect style="marker:none" width="3.44" 
height="2.117" x="173.567" y="198.702" rx=".468" ry=".468" fill="#1a5fb4"/><path style="marker:none" 
d="M174.805 157.427h.963c.1 0 .164.083.18.184l1.058 6.482c.043.261-.208.478-.467.478h-2.505c-.259 
0-.51-.217-.467-.478l1.058-6.482c.016-.1.08-.184.18-.184z" fill="#1a5fb4"/><path style="marker:none" 
fill="#fff" d="M173.302 164.042h3.969v35.719h-3.969z"/><rect style="marker:none" width=".794" height="2.381" 
x="174.89" y="155.84" rx=".397" ry=".468" fill="#1a5fb4"/><rect style="marker:none" width="1.323" 
height="1.058" x="174.625" y="156.633" rx="0" ry="0" fill="#fff"/><path sty
 le="marker:none" fill="#f6f5f4" d="M175.948 164.042h1.323v35.719h-1.323z"/></g><g clip-path="url(#c)" 
transform="matrix(.33749 0 0 .33749 313.248 174.887)"><circle cx="60.445" cy="758.586" r="277.127" 
fill="#99c1f1" fill-opacity=".581"/><g clip-path="url(#d)"><circle cx="60.969" cy="758.586" r="252.859" 
fill="#1a5fb4"/><path d="M143.604 635.834v12.787a30 30 135 01-30 30h-3.381a30 30 135 00-30 30v21.38a30 30 45 
0030 30h49.771a30 30 45 0130 30 22.292 22.292 17.9 0030 9.69h74.567a30 30 135 0030-30V635.834a30 30 45 
00-30-30H173.604a30 30 135 00-30 30z" fill="#26a269"/><rect width="48.962" height="84.074" x="52.351" 
y="577.554" rx="24.481" ry="24.481" fill="#26a269"/><rect width="119.844" height="44.28" x="141.501" 
y="540.627" rx="22.14" ry="22.14" fill="#26a269"/></g><path d="M314.623 643.158a40.625 40.625 0 00-36.363 
22.576 32.599 32.599 0 00-3.09-.148 32.599 32.599 0 00-32.6 32.6 32.599 32.599 0 00.9 7.61h136.434a27.262 
27.262 0 00-24.814-25.948 40.625 40.625 0 00-40.434-36.69 40.625 
 40.625 0 00-.033 0zM191.617 667.906a20.492 20.492 0 00-19.428 13.979 17.222 17.222 0 00-6.513-1.281 17.222 
17.222 0 00-17.223 17.222 17.222 17.222 0 002.192 8.408h30.058a17.222 17.222 0 00.201-.367 20.492 20.492 0 
00.623.367h20.176a20.492 20.492 0 0010.406-17.836 20.492 20.492 0 00-20.492-20.492z" fill="#fff"/></g><g 
transform="matrix(.84583 0 0 .84583 428.469 152.173)" stroke-width="1.182"><path style="marker:none" 
fill="#f5c211" d="M20 192h88v88H20z"/><path style="marker:none" fill="#f6d32d" d="M126 236l-62 62-62-62 
62-62z"/><circle cy="236" cx="64" style="marker:none" fill="#fbf59e" r="48"/></g></g></svg>
\ No newline at end of file
diff --git a/src/plugins/welcome/gtd-welcome-workspace.ui b/src/plugins/welcome/gtd-welcome-workspace.ui
index bf979119..82299582 100644
--- a/src/plugins/welcome/gtd-welcome-workspace.ui
+++ b/src/plugins/welcome/gtd-welcome-workspace.ui
@@ -25,6 +25,16 @@
           <object class="GtkBox">
             <property name="hexpand">true</property>
             <property name="halign">center</property>
+            <property name="spacing">18</property>
+            <property name="orientation">vertical</property>
+
+            <child>
+              <object class="GtkPicture">
+                <property name="can-shrink">true</property>
+                <property name="keep-aspect-ratio">true</property>
+                <property 
name="file">resource:///org/gnome/todo/plugins/welcome/assets/welcome.svg</property>
+              </object>
+            </child>
 
             <child>
               <object class="GtkBox">
diff --git a/src/plugins/welcome/welcome.gresource.xml b/src/plugins/welcome/welcome.gresource.xml
index 5b903bc2..d67f6e34 100644
--- a/src/plugins/welcome/welcome.gresource.xml
+++ b/src/plugins/welcome/welcome.gresource.xml
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/todo/plugins/welcome">
+    <file>assets/welcome.svg</file>
     <file>themes/shared.css</file>
     <file>gtd-welcome-action-card.ui</file>
     <file>gtd-welcome-workspace.ui</file>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]