1
0
Fork 0

Bundle static resources

Since I took down my S3 bucket and CloudFront distribution, the images
on dustin.hatch.name do not display. They are small enough and the site
has so little traffic that serving them from the main server is fine.
remotes/origin/HEAD
Dustin 2017-11-21 23:23:30 -06:00
parent 11dec7ac2d
commit b64db4092a
4 changed files with 21 additions and 4 deletions

View File

@ -7,9 +7,9 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/png" <link rel="shortcut icon" type="image/png"
href="//d2g89yxlcdy1r2.cloudfront.net/static/5b377b570198/static/images/favicon.png" /> href="/static/favicon.png" />
<link type="text/css" rel="stylesheet" <link type="text/css" rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/foundation/6.0.1/css/foundation.min.css" /> href="/static/foundation-6.0.1.min.css" />
<style type="text/css"> <style type="text/css">
/* <![CDATA[ */ /* <![CDATA[ */
body, html { body, html {
@ -121,8 +121,7 @@
<body> <body>
<section id="main" class="row"> <section id="main" class="row">
<div id="logo" class="medium-4 columns"><img alt="D" <div id="logo" class="medium-4 columns"><img alt="D" src="/static/D.svg" />
src="//d2g89yxlcdy1r2.cloudfront.net/static/5b377b570198/static/images/D.svg" />
</div> </div>
<blockquote id="songquote" class="medium-8 columns"> <blockquote id="songquote" class="medium-8 columns">
<p class="quote">{{ quote.quote }}</p> <p class="quote">{{ quote.quote }}</p>

17
static/D.svg Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1" viewBox="0 0 400 400">
<defs>
<linearGradient id="blue-gradient" x1="0" y1="0" x2="0" y2="100%">
<stop stop-color="#1b2f48" offset="0" />
<stop stop-color="#091018" offset="1" />
</linearGradient>
<path id="monogram-d"
d="m 10,264.80001 c -10e-6,4.00001 2.266654,7.46667 6.8,10.4 4.533312,2.66667 12.79997,4 24.8,4 3.466622,0 7.333284,-0.26667 11.6,-0.8 4.266609,-0.8 8.533272,-1.73333 12.8,-2.8 4.266596,-1.06666 8.399926,-2.26666 12.4,-3.6 3.999918,-1.59999 7.466581,-3.33332 10.4,-5.2 -4.533418,-1.59999 -9.733412,-3.19999 -15.6,-4.8 -5.600068,-1.59998 -11.333395,-2.93331 -17.2,-4 -5.866717,-1.33331 -11.466711,-2.39998 -16.8,-3.2 -5.333367,-0.79998 -10.000029,-1.19998 -14,-1.2 -5.333353,2e-5 -9.200016,1.33336 -11.6,4 -2.400011,2.40002 -3.60001,4.80002 -3.6,7.2 M 166.8,16.800006 c -9.60016,2.65e-4 -19.06681,1.46693 -28.4,4.4 -9.0668,2.933591 -17.20012,7.46692 -24.4,13.6 -6.93344,6.133574 -12.53343,13.8669 -16.8,23.2 -4.26676,9.333548 -6.400091,20.400203 -6.4,33.2 -9.1e-5,11.200184 2.266574,22.266834 6.8,33.200004 4.7999,10.66681 10.93322,20.53347 18.4,29.6 7.46654,9.06678 15.86653,16.93344 25.2,23.6 9.33318,6.40009 18.66651,10.93342 28,13.6 7.99982,-12.26657 16.66648,-26.13322 26,-41.6 9.5998,-15.46652 18.93312,-30.26651 28,-44.4 9.3331,-14.399813 17.73309,-27.1998 25.2,-38.400004 7.73308,-11.199774 13.73307,-18.933099 18,-23.2 -13.60025,-7.199755 -28.80024,-13.466415 -45.6,-18.8 -16.8002,-5.333071 -34.80019,-7.999735 -54,-8 m 26.4,178.800004 c 19.99979,8e-5 35.86644,-2.79992 47.6,-8.4 11.73308,-5.5999 20.79974,-11.9999 27.2,-19.2 5.06639,-5.86655 8.66639,-10.93321 10.8,-15.2 2.39972,-4.5332 3.99972,-8.26653 4.8,-11.2 1.06638,-2.93319 1.73305,-5.06653 2,-6.4 0.26638,-1.59986 0.93305,-2.39986 2,-2.4 1.59971,1.4e-4 2.39971,0.93348 2.4,2.8 -2.9e-4,1.33347 -0.66696,4.00014 -2,8 -1.33362,4.00013 -3.60028,8.53346 -6.8,13.6 -2.93361,5.06678 -7.06694,10.40011 -12.4,16 -5.06693,5.6001 -11.46692,10.80009 -19.2,15.6 -7.46691,4.53342 -16.40023,8.26675 -26.8,11.2 -10.40021,2.93341 -22.26687,4.40007 -35.6,4.4 -3.20018,7e-5 -6.00018,-0.13326 -8.4,-0.4 -2.40018,-0.26659 -4.53351,-0.53326 -6.4,-0.8 -14.66682,20.26672 -32.26681,37.4667 -52.8,51.6 16.26653,2.66669 32.93318,5.33335 50,8 17.06648,2.40001 32.3998,3.60001 46,3.6 24.53309,10e-6 44.93307,-3.73332 61.2,-11.2 16.53304,-7.7333 29.73303,-17.06663 39.6,-28 9.86634,-11.19994 16.79967,-22.93326 20.8,-35.2 4.26633,-12.53324 6.39966,-23.73322 6.4,-33.6 -3.4e-4,-11.19987 -1.86701,-22.26653 -5.6,-33.2 -3.73367,-10.93317 -8.80033,-21.19983 -15.2,-30.800004 -6.40032,-9.599803 -13.86698,-18.399794 -22.4,-26.4 -8.26696,-7.999778 -17.06695,-14.799771 -26.4,-20.4 -5.3336,5.600229 -11.7336,14.133553 -19.2,25.6 -7.20025,11.466864 -15.06691,24.266851 -23.6,38.400004 -8.26689,13.86682 -16.93355,28.13347 -26,42.8 -9.06686,14.40011 -17.86685,27.46676 -26.4,39.2 2.39982,0.53342 4.66648,1.06675 6.8,1.6 2.13315,0.26675 4.66648,0.40008 7.6,0.4 m -150,47.6 c 11.466612,3e-5 22.933267,1.33337 34.4,4 11.466578,2.66669 22.7999,4.66669 34,6 9.86655,-7.46663 18.79987,-14.93329 26.8,-22.4 8.26652,-7.46661 16.26651,-17.33327 24,-29.6 -11.46682,-2.66659 -22.26681,-6.93325 -32.4,-12.8 -9.86679,-5.86657 -18.53344,-12.93323 -26,-21.2 -7.200097,-8.26655 -12.933424,-17.73321 -17.2,-28.4 -4.266749,-10.66652 -6.40008,-22.26651 -6.4,-34.8 -8e-5,-16.266477 2.93325,-30.666462 8.8,-43.200004 6.133238,-12.799766 14.26656,-23.466422 24.4,-32 10.13321,-8.533072 21.7332,-15.066399 34.8,-19.5999999 13.33317,-4.5330564 27.19982,-6.7997208 41.6,-6.8 16.79979,2.792e-4 32.93311,2.4002768 48.4,7.2 15.73308,4.8002669 29.8664,11.0669279 42.4,18.7999999 6.13305,-5.333075 12.39971,-10.13307 18.8,-14.4 6.66636,-4.5330611 11.06636,-6.7997255 13.2,-6.7999999 2.13302,2.744e-4 3.19968,1.06694 3.2,3.1999999 -3.2e-4,0.533604 -0.93365,1.466937 -2.8,2.8 -1.86698,1.333601 -4.26698,3.066932 -7.2,5.2 -2.66697,1.866928 -5.73363,4.133593 -9.2,6.8 -3.20029,2.400254 -6.13362,4.933585 -8.8,7.6 19.46636,14.133568 35.06634,30.533552 46.8,49.2 11.73299,18.400184 17.59965,39.866824 17.6,64.400004 -3.5e-4,14.66678 -2.26702,28.4001 -6.8,41.2 -4.53367,12.53341 -10.80033,23.86673 -18.8,34 -7.73365,10.13338 -16.80031,19.0667 -27.2,26.8 -10.13362,7.73335 -21.06695,14.26668 -32.8,19.6 -11.46692,5.33334 -23.33358,9.33333 -35.6,12 -12.26689,2.66666 -24.13354,3.99999 -35.6,4 -18.40018,-10e-6 -35.60016,-1.6 -51.6,-4.8 -15.73346,-3.46666 -31.20011,-6.93333 -46.4,-10.4 -6.133425,2.93334 -11.600086,5.33334 -16.4,7.2 -4.800076,1.86667 -9.466738,3.46666 -14,4.8 -4.533396,1.06666 -9.333391,1.86666 -14.4,2.4 -4.800048,0.53333 -10.266709,0.79999 -16.4,0.8 -10.13336,-10e-6 -17.866685,-1.73334 -23.2,-5.2 -5.3333412,-3.73333 -8.0000052,-8.13333 -8,-13.2 -5.2e-6,-6.93331 2.6666588,-12.39998 8,-16.4 5.333315,-3.99997 15.333305,-5.99997 30,-6" />
</defs>
<rect width="400" height="400" x="0" y="0" rx="40"
fill="url(#blue-gradient)" />
<use xlink:href="#monogram-d" fill="#ffffff"
transform="translate(21.2, 36.6)" />
</svg>

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
static/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

1
static/foundation-6.0.1.min.css vendored Normal file

File diff suppressed because one or more lines are too long