[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: website: help: Add link to cookbook.
From: |
Florian Pelz |
Subject: |
01/01: website: help: Add link to cookbook. |
Date: |
Wed, 30 Oct 2019 18:51:02 -0400 (EDT) |
pelzflorian pushed a commit to branch master
in repository guix-artwork.
commit f304cade4d30b1c5d6ada8e08212f34c50108e35
Author: sirgazil via Guix-patches via <address@hidden>
Date: Wed Oct 30 14:15:35 2019 -0500
website: help: Add link to cookbook.
* website/apps/base/templates/help.scm (help-t): Add cookbook item.
* website/static/base/img/cookbook-icon.png: Render cookbook icon.
* website/static/base/img/icon-set.svg: Add cookbook icon.
Signed-off-by: Florian Pelz <address@hidden>
---
website/apps/base/templates/help.scm | 16 ++++
website/static/base/img/cookbook-icon.png | Bin 0 -> 6686 bytes
website/static/base/img/icon-set.svg | 143 ++++++++++++++++++++++--------
3 files changed, 124 insertions(+), 35 deletions(-)
diff --git a/website/apps/base/templates/help.scm
b/website/apps/base/templates/help.scm
index 0a745df..631be31 100644
--- a/website/apps/base/templates/help.scm
+++ b/website/apps/base/templates/help.scm
@@ -80,6 +80,22 @@
(div
+ (@ (class "summary-box"))
+ (img (@ (src ,(guix-url "static/base/img/cookbook-icon.png"))
+ (alt "")))
+ (h3 "Cookbook")
+ (p
+ "Tutorials, how-to guides and examples contributed by the
+ Guix community which show you how to use the system and its
+ collection of packages to achieve common and not-so-common
+ goals users may have.")
+ (p
+ ,(link-more
+ #:label "Browse the recipes"
+ #:url (guix-url "cookbook/"))))
+
+
+ (div
(@ (class "summary-box"))
(img (@ (src ,(guix-url "static/base/img/library-icon.png"))
(alt "")))
diff --git a/website/static/base/img/cookbook-icon.png
b/website/static/base/img/cookbook-icon.png
new file mode 100644
index 0000000..0a2b374
Binary files /dev/null and b/website/static/base/img/cookbook-icon.png differ
diff --git a/website/static/base/img/icon-set.svg
b/website/static/base/img/icon-set.svg
index e8cee65..4244810 100644
--- a/website/static/base/img/icon-set.svg
+++ b/website/static/base/img/icon-set.svg
@@ -16,7 +16,7 @@
version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="icon-set.svg"
- inkscape:export-filename="videos-icon.png"
+ inkscape:export-filename="cookbook-icon.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<title
@@ -26,7 +26,7 @@
<color-profile
name="Artifex-PS-CMYK-Profile"
xlink:href="/usr/share/color/icc/ghostscript/ps_cmyk.icc"
- id="color-profile4" />
+ id="color-profile3" />
</defs>
<sodipodi:namedview
id="base"
@@ -35,9 +35,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="1"
- inkscape:cx="339.31607"
- inkscape:cy="164.97588"
+ inkscape:zoom="1.4142136"
+ inkscape:cx="380.90978"
+ inkscape:cy="97.985987"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
@@ -47,9 +47,9 @@
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:showpageshadow="false"
- inkscape:snap-global="false"
+ inkscape:snap-global="true"
inkscape:snap-nodes="false"
- inkscape:snap-bbox="false"
+ inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
showguides="true"
inkscape:guide-bbox="true">
@@ -761,40 +761,113 @@
sodipodi:nodetypes="sccccs" />
</g>
<g
- id="g202"
- transform="translate(0.09375,0.03124738)">
+ transform="translate(200.09375,200.03125)"
+ id="g126">
<rect
- y="912.33093"
- x="30.90625"
- height="100"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="rect120"
width="118"
- id="rect168"
-
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
/>
+ height="100"
+ x="30.90625"
+ y="912.33093" />
<rect
- y="917.84796"
- x="36.821918"
- height="89.028481"
+
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="rect122"
width="106.35617"
- id="rect170"
-
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
/>
+ height="89.028481"
+ x="36.821918"
+ y="917.84796" />
<path
- inkscape:transform-center-x="-4.5503043"
- transform="matrix(0,0.14843019,-0.12622115,0,204.24997,1032.2728)"
- inkscape:transform-center-y="8.1637868e-06"
- d="m -346.11806,997.46281 -249.76388,0 L -471,781.16093 Z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="1.5707963"
- sodipodi:arg1="0.52359878"
- sodipodi:r2="72.100624"
- sodipodi:r1="144.20125"
- sodipodi:cy="925.36218"
- sodipodi:cx="-471"
- sodipodi:sides="3"
- id="path172"
+ sodipodi:type="star"
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:19.72588921;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
+ id="path124"
+ sodipodi:sides="3"
+ sodipodi:cx="-471"
+ sodipodi:cy="925.36218"
+ sodipodi:r1="144.20125"
+ sodipodi:r2="72.100624"
+ sodipodi:arg1="0.52359878"
+ sodipodi:arg2="1.5707963"
+ inkscape:flatsided="true"
+ inkscape:rounded="0"
+ inkscape:randomized="0"
+ d="m -346.11806,997.46281 -249.76388,0 L -471,781.16093 Z"
+ inkscape:transform-center-y="8.1637868e-06"
+ transform="matrix(0,0.14843019,-0.12622115,0,204.24997,1032.2728)"
+ inkscape:transform-center-x="-4.5503043" />
+ </g>
+ <g
+ id="g163">
+ <path
+ id="path196"
+ transform="translate(0,872.36218)"
+ d="M 51.767578 76.462891 L 51.767578 76.46875 A 4.4719791 4.4719791 0
0 0 51.6875 76.464844 A 4.4719791 4.4719791 0 0 0 47.216797 80.9375 A 4.4719791
4.4719791 0 0 0 51.6875 85.408203 A 4.4719791 4.4719791 0 0 0 51.767578
85.404297 L 51.767578 85.414062 L 128.23047 85.414062 L 128.23047 85.404297 A
4.4719791 4.4719791 0 0 0 128.3125 85.408203 A 4.4719791 4.4719791 0 0 0
132.78516 80.9375 A 4.4719791 4.4719791 0 0 0 128.3125 76.464844 A 4.4719791
4.4719791 0 0 0 128.23047 76.4687 [...]
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
/>
+ <path
+ d="m 63.682778,911.20302 1.387989,4.43788 2.64155,-1.61044
-1.377982,-4.44397 2.211294,-1.34813 1.377982,4.44397 2.771632,-1.68974
1.299327,2.13125 -3.30194,2.01304 0.981037,3.16252 2.841663,-1.73243
1.311528,2.15126 -3.361972,2.04964 1.375787,4.41786 -2.211294,1.34813
-1.375787,-4.41786 -2.64155,1.61044 1.375787,4.41786 -2.231308,1.36033
-1.375787,-4.41786 -2.791646,1.70194 -1.311528,-2.15126 3.281925,-2.00085
-0.971021,-3.16862 -2.831664,1.72634 -1.299327,-2.13125 3.381986,-2. [...]
+
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:24px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif
Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#333333;fill-opacity:1;stroke:none"
+ id="path145"
+ inkscape:connector-curvature="0" />
+ <path
+ d="m 123.42799,920.71566 -0.82008,1.71218 -3.18631,-1.51316 q
-0.68562,1.2958 -1.52098,2.41594 -0.83536,1.12015 -1.83059,2.08576 l
-2.76908,-1.32629 q 1.20572,-0.91677 2.1362,-1.99135 0.92498,-1.09021
1.57978,-2.34881 l -3.28696,-1.57433 -0.23045,0.31841 q -1.65376,2.31337
-3.11625,2.92524 -1.45743,0.60131 -3.24358,-0.25419 -1.89185,-0.90613
-2.33117,-2.70177 -0.44482,-1.81127 0.60917,-4.25598 l -2.43638,-1.17992
0.82007,-1.71218 2.39916,1.14912 q 0.59073,-1.01643 1.27666,-1.987 [...]
+
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:24px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif
Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#333333;fill-opacity:1;stroke:none"
+ id="path141"
+ inkscape:connector-curvature="0" />
+ <path
+ d="m 89.550907,931.41373 0.165996,-2.09197 q 0.08052,-0.95677
-0.186143,-1.44139 -0.256032,-0.47971 -1.256055,-0.94165 l -1.191521,-0.5504
1.154846,-2.50006 2.202184,1.01725 q 1.936218,0.89439 2.600405,2.19516
0.674823,1.30569 0.503849,3.57607 l -1.122912,15.22978 -3.808607,-1.7593
0.517175,-7.35135 -5.389644,5.10063 -3.808608,-1.7593 z"
+
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:24px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif
Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#333333;fill-opacity:1;stroke:none"
+ id="path137"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path223"
+ d="m 68.000001,935.11218 a 4.75,4.75 0 0 0 -4.75,4.75 4.75,4.75 0 0 0
4.75,4.75 4.75,4.75 0 0 0 4.75,-4.75 4.75,4.75 0 0 0 -4.75,-4.75 z m
-0.734375,0.49023 a 3.5125632,3.5125632 0 0 1 3.511719,3.51172
3.5125632,3.5125632 0 0 1 -3.511719,3.51367 3.5125632,3.5125632 0 0 1
-3.513672,-3.51367 3.5125632,3.5125632 0 0 1 3.513672,-3.51172 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle228"
+ d="m 79.363282,926.40515 a 2.6553302,2.6553302 0 0 0 -2.65625,2.65625
2.6553302,2.6553302 0 0 0 2.65625,2.6543 2.6553302,2.6553302 0 0 0
2.654297,-2.6543 2.6553302,2.6553302 0 0 0 -2.654297,-2.65625 z m
-0.412109,0.27344 a 1.963582,1.963582 0 0 1 1.964844,1.96484 1.963582,1.963582
0 0 1 -1.964844,1.96289 1.963582,1.963582 0 0 1 -1.962891,-1.96289
1.963582,1.963582 0 0 1 1.962891,-1.96484 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.69999981;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle232"
+ d="m 113.25,935.61218 a 4.75,4.75 0 0 0 -4.75,4.75 4.75,4.75 0 0 0
4.75,4.75 4.75,4.75 0 0 0 4.75,-4.75 4.75,4.75 0 0 0 -4.75,-4.75 z m
-0.73438,0.49023 a 3.5125632,3.5125632 0 0 1 3.51172,3.51172
3.5125632,3.5125632 0 0 1 -3.51172,3.51367 3.5125632,3.5125632 0 0 1
-3.51367,-3.51367 3.5125632,3.5125632 0 0 1 3.51367,-3.51172 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle236"
+ d="m 102.875,925.48718 a 3.5,3.5 0 0 0 -3.499999,3.5 3.5,3.5 0 0 0
3.499999,3.5 3.5,3.5 0 0 0 3.5,-3.5 3.5,3.5 0 0 0 -3.5,-3.5 z m
-0.54102,0.36133 a 2.5882044,2.5882044 0 0 1 2.5879,2.58789 2.5882044,2.5882044
0 0 1 -2.5879,2.58789 2.5882044,2.5882044 0 0 1 -2.587885,-2.58789
2.5882044,2.5882044 0 0 1 2.587885,-2.58789 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle240"
+ d="m 129.25,930.61218 a 2.625,2.625 0 0 0 -2.625,2.625 2.625,2.625 0
0 0 2.625,2.625 2.625,2.625 0 0 0 2.625,-2.625 2.625,2.625 0 0 0 -2.625,-2.625
z m -0.40625,0.27148 a 1.9411533,1.9411533 0 0 1 1.94141,1.94141
1.9411533,1.9411533 0 0 1 -1.94141,1.93945 1.9411533,1.9411533 0 0 1
-1.94141,-1.93945 1.9411533,1.9411533 0 0 1 1.94141,-1.94141 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle244"
+ d="m 51.000001,922.73718 a 2.625,2.625 0 0 0 -2.625,2.625 2.625,2.625
0 0 0 2.625,2.625 2.625,2.625 0 0 0 2.625,-2.625 2.625,2.625 0 0 0
-2.625,-2.625 z m -0.40625,0.27148 a 1.9411533,1.9411533 0 0 1 1.941406,1.94141
1.9411533,1.9411533 0 0 1 -1.941406,1.93945 1.9411533,1.9411533 0 0 1
-1.941406,-1.93945 1.9411533,1.9411533 0 0 1 1.941406,-1.94141 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle248"
+ d="m 54.625001,934.23718 a 2,2 0 0 0 -2,2 2,2 0 0 0 2,2 2,2 0 0 0
2,-2 2,2 0 0 0 -2,-2 z m -0.308594,0.20703 a 1.478974,1.478974 0 0 1
1.478516,1.47852 1.478974,1.478974 0 0 1 -1.478516,1.47851 1.478974,1.478974 0
0 1 -1.480468,-1.47851 1.478974,1.478974 0 0 1 1.480468,-1.47852 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle252"
+ d="m 86.595704,897.80945 a 2,2 0 0 0 -2,2 2,2 0 0 0 2,2 2,2 0 0 0
2,-2 2,2 0 0 0 -2,-2 z m -0.308594,0.20507 a 1.478974,1.478974 0 0 1
1.478516,1.48047 1.478974,1.478974 0 0 1 -1.478516,1.47852 1.478974,1.478974 0
0 1 -1.478515,-1.47852 1.478974,1.478974 0 0 1 1.478515,-1.48047 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle256"
+ d="m 84.076173,909.58484 a 3.125,3.125 0 0 0 -3.125,3.125 3.125,3.125
0 0 0 3.125,3.125 3.125,3.125 0 0 0 3.125,-3.125 3.125,3.125 0 0 0
-3.125,-3.125 z m -0.482422,0.32226 a 2.3108969,2.3108969 0 0 1 2.310547,2.3125
2.3108969,2.3108969 0 0 1 -2.310547,2.31055 2.3108969,2.3108969 0 0 1
-2.310547,-2.31055 2.3108969,2.3108969 0 0 1 2.310547,-2.3125 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ id="circle260"
+ d="m 97.375001,903.23718 a 3.125,3.125 0 0 0 -3.125,3.125 3.125,3.125
0 0 0 3.125,3.125 3.125,3.125 0 0 0 3.124999,-3.125 3.125,3.125 0 0 0
-3.124999,-3.125 z m -0.484375,0.32227 a 2.3108969,2.3108969 0 0 1
2.3125,2.31054 2.3108969,2.3108969 0 0 1 -2.3125,2.31055 2.3108969,2.3108969 0
0 1 -2.310547,-2.31055 2.3108969,2.3108969 0 0 1 2.310547,-2.31054 z"
+
style="opacity:1;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.70000005;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
</g>
</g>
</svg>