~technomancy/fennel-lang.org

dfe62424d5f69b9d3f297185af4f5a6c24d658e8 — Phil Hagelberg 1 year, 1 month ago 12f9918
Add logo to front page.
4 files changed, 222 insertions(+), 2 deletions(-)

M fennel.css
A logo.svg
M main.fnl
M makefile
M fennel.css => fennel.css +1 -0
@@ 9,6 9,7 @@ body {
}

h1 { text-align: center; }
h1 img { height: 2em; margin: -0.5em 0.2em; }

a { color: #0d98ba; }
a:hover { color: #0c7090; }

A logo.svg => logo.svg +219 -0
@@ 0,0 1,219 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="74mm"
   height="98mm"
   viewBox="0 0 74 98"
   version="1.1"
   id="svg3957"
   sodipodi:docname="fennel-logo-smol-outlined-grey-rectangle.svg"
   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
   inkscape:export-filename="/home/m455/fennel-logo-squareoutline.png"
   inkscape:export-xdpi="96"
   inkscape:export-ydpi="96">
  <defs
     id="defs3951">
    <linearGradient
       inkscape:collect="always"
       id="linearGradient5117">
      <stop
         style="stop-color:#2ca02c;stop-opacity:1"
         offset="0"
         id="stop5113" />
      <stop
         style="stop-color:#000000;stop-opacity:1"
         offset="1"
         id="stop5115" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       id="linearGradient4784">
      <stop
         style="stop-color:#fff3d7;stop-opacity:1"
         offset="0"
         id="stop4780" />
      <stop
         style="stop-color:#000000;stop-opacity:1"
         offset="1"
         id="stop4782" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient4784"
       id="linearGradient4786"
       x1="54.092594"
       y1="250.00999"
       x2="79.962959"
       y2="312.6633"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(1.1818182,0,0,1.4375004,-19.242426,-86.942743)" />
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient5117"
       id="linearGradient5119"
       x1="-5.4793844"
       y1="221.29395"
       x2="15.889588"
       y2="254.97092"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(1.3036534,0,1.4042258e-8,1.1844429,-13.521903,-37.403546)" />
    <linearGradient
       gradientTransform="matrix(0.95075606,0,0,0.83981999,73.990248,37.961903)"
       inkscape:collect="always"
       xlink:href="#linearGradient5117"
       id="linearGradient5119-1"
       x1="-5.4793844"
       y1="221.29395"
       x2="6.4165993"
       y2="241.66725"
       gradientUnits="userSpaceOnUse" />
    <linearGradient
       gradientTransform="matrix(0.94499478,0,0,0.88681393,166.16167,-47.892736)"
       inkscape:collect="always"
       xlink:href="#linearGradient5117"
       id="linearGradient5119-1-2"
       x1="-5.4793844"
       y1="221.29395"
       x2="20.366011"
       y2="237.7247"
       gradientUnits="userSpaceOnUse" />
  </defs>
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="1.4"
     inkscape:cx="13.72522"
     inkscape:cy="274.39145"
     inkscape:document-units="mm"
     inkscape:current-layer="layer1"
     showgrid="true"
     inkscape:snap-grids="true"
     units="mm"
     showguides="true"
     inkscape:snap-object-midpoints="true"
     inkscape:snap-midpoints="true"
     inkscape:snap-smooth-nodes="true"
     inkscape:snap-intersection-paths="true"
     inkscape:object-paths="true"
     inkscape:snap-bbox="true"
     inkscape:snap-global="true"
     inkscape:window-width="1360"
     inkscape:window-height="707"
     inkscape:window-x="0"
     inkscape:window-y="0"
     inkscape:window-maximized="1">
    <inkscape:grid
       type="xygrid"
       id="grid3961" />
  </sodipodi:namedview>
  <metadata
     id="metadata3954">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(0,-199.00002)">
    <rect
       style="fill:url(#linearGradient5119-1-2);fill-opacity:1;stroke-width:3.01006447;stroke:#444444;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
       id="rect5096-9-3"
       width="11.251348"
       height="30.502701"
       x="160.98367"
       y="133.10245"
       transform="matrix(0.79972947,0.60036054,-0.50409724,0.8636469,0,0)" />
    <rect
       style="fill:url(#linearGradient5119-1);fill-opacity:1;stroke-width:3.00055975;stroke:#444444;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
       id="rect5096-9"
       width="11.319942"
       height="28.886305"
       x="68.780678"
       y="209.36581"
       transform="matrix(0.9954662,0.09511594,-0.12226903,0.99249699,0,0)" />
    <rect
       style="fill:url(#linearGradient5119);fill-opacity:1;stroke-width:3.000803;stroke:#444444;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
       id="rect5096"
       width="15.521629"
       height="40.739902"
       x="-20.665121"
       y="204.33658"
       transform="matrix(0.98898665,-0.14800473,0.18027534,0.98361619,0,0)" />
    <ellipse
       style="fill:url(#linearGradient4786);fill-opacity:1;stroke-width:3;stroke:#444444;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
       id="path3973"
       cx="37.041664"
       cy="263.92712"
       rx="34.395836"
       ry="30.427088" />
    <path
       style="fill:#444444;fill-opacity:1;stroke-width:0.56126553"
       id="path4788-7-3-6-0"
       sodipodi:type="arc"
       sodipodi:cx="21.166666"
       sodipodi:cy="263.92706"
       sodipodi:rx="7.9374976"
       sodipodi:ry="11.906248"
       sodipodi:start="0"
       sodipodi:end="6.1764496"
       sodipodi:open="true"
       d="m 29.104164,263.92706 a 7.9374976,11.906248 0 0 1 -7.725719,11.90201 7.9374976,11.906248 0 0 1 -8.137976,-11.2669 7.9374976,11.906248 0 0 1 7.291465,-12.50323 7.9374976,11.906248 0 0 1 8.527059,10.59971" />
    <path
       style="fill:#444444;fill-opacity:1;stroke-width:0.56126553"
       id="path4788-7-3-6-0-6"
       sodipodi:type="arc"
       sodipodi:cx="52.916672"
       sodipodi:cy="263.92706"
       sodipodi:rx="7.9374976"
       sodipodi:ry="11.906248"
       sodipodi:start="0"
       sodipodi:end="6.1764496"
       sodipodi:open="true"
       d="m 60.854169,263.92706 a 7.9374976,11.906248 0 0 1 -7.725719,11.90201 7.9374976,11.906248 0 0 1 -8.137975,-11.2669 7.9374976,11.906248 0 0 1 7.291464,-12.50323 7.9374976,11.906248 0 0 1 8.527059,10.59971" />
    <path
       style="fill:#ffffff;fill-opacity:1;stroke-width:0.21603146"
       id="path5077"
       sodipodi:type="arc"
       sodipodi:cx="18.520836"
       sodipodi:cy="261.28122"
       sodipodi:rx="2.6458333"
       sodipodi:ry="3.9687524"
       sodipodi:start="0"
       sodipodi:end="6.176441"
       sodipodi:open="true"
       d="m 21.166669,261.28122 a 2.6458333,3.9687524 0 0 1 -2.575235,3.96734 2.6458333,3.9687524 0 0 1 -2.712664,-3.75562 2.6458333,3.9687524 0 0 1 2.430471,-4.16776 2.6458333,3.9687524 0 0 1 2.842369,3.5332" />
    <path
       style="fill:#ffffff;fill-opacity:1;stroke-width:0.21603146"
       id="path5077-7"
       sodipodi:type="arc"
       sodipodi:cx="50.270828"
       sodipodi:cy="261.28122"
       sodipodi:rx="2.6458333"
       sodipodi:ry="3.9687526"
       sodipodi:start="0"
       sodipodi:end="6.176441"
       sodipodi:open="true"
       d="m 52.916662,261.28122 a 2.6458333,3.9687526 0 0 1 -2.575235,3.96734 2.6458333,3.9687526 0 0 1 -2.712664,-3.75562 2.6458333,3.9687526 0 0 1 2.430471,-4.16776 2.6458333,3.9687526 0 0 1 2.842368,3.5332" />
  </g>
</svg>

M main.fnl => main.fnl +1 -1
@@ 12,7 12,7 @@
                       :href "https://code.cdn.mozilla.net/fonts/fira.css"}]
               [:title {} "the Fennel programming language"]]
              [:body {}
               [:h1 {} "Fennel"]
               [:h1 {} "Fennel" [:img {:src "logo.svg"}]]
               [:p {} "Fennel is a programming language that brings together "
                "the speed, simplicity, and reach of"
                [:a {:href "https://www.lua.org"} "Lua"]

M makefile => makefile +1 -1
@@ 68,7 68,7 @@ clean: cleantagdirs ; rm -f $(HTML) index.html $(LUA)

upload: $(HTML) $(LUA) $(TAGDIRS) index.html init.lua repl.fnl fennel.css \
		fengari-web.js repl-worker.js repl-worker.lua .htaccess fennel \
		see.html see.lua antifennel.lua see-worker.lua see-worker.js
		see.html see.lua antifennel.lua see-worker.lua see-worker.js logo.svg
	rsync -r $^ fenneler@fennel-lang.org:fennel-lang.org/

conf/%.html: conf/%.fnl fennel/fennel ; fennel/fennel $< > $@