aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-05-20 23:30:47 -0700
committerGitHub <noreply@github.com>2017-05-20 23:30:47 -0700
commit55f50910d96b94658b8d9d6bcaa09be5cc90bc05 (patch)
tree07112ff8f7d2a67dbb5f99652181d4e205f877cb
parent372573572913bebe24312b72f2c62d74bb8aba54 (diff)
parente8f967619e02ebdd6daa5132012ea2382f34ce91 (diff)
downloadxesite-55f50910d96b94658b8d9d6bcaa09be5cc90bc05.tar.xz
xesite-55f50910d96b94658b8d9d6bcaa09be5cc90bc05.zip
Merge pull request #4 from Xe/Xe/feat/server-side-rendering
Use server-side rendering, redo frontend with hack.css
-rw-r--r--Dockerfile8
-rw-r--r--LICENSE32
-rw-r--r--README.md9
-rw-r--r--backend/christine.website/main.go192
-rw-r--r--backend/christine.website/rss.go67
-rw-r--r--box.rb29
-rwxr-xr-xbuild.sh11
-rw-r--r--containermake.lua23
-rwxr-xr-xcontainermake.sh13
-rw-r--r--css/hack.css1
-rw-r--r--css/solarized-dark.css1
-rw-r--r--frontend/.gitignore9
-rw-r--r--frontend/LICENSE24
-rw-r--r--frontend/README.md38
-rw-r--r--frontend/bower.json19
-rw-r--r--frontend/package.json53
-rw-r--r--frontend/src/BlogEntry.purs72
-rw-r--r--frontend/src/BlogIndex.purs86
-rw-r--r--frontend/src/Counter.purs40
-rw-r--r--frontend/src/Layout.purs188
-rw-r--r--frontend/src/Main.purs53
-rw-r--r--frontend/src/NotFound.purs8
-rw-r--r--frontend/src/Pux/DocumentTitle.js3
-rw-r--r--frontend/src/Pux/DocumentTitle.purs7
-rw-r--r--frontend/src/Resume.purs66
-rw-r--r--frontend/src/Routes.purs31
-rw-r--r--frontend/src/Utils.js16
-rw-r--r--frontend/src/Utils.purs3
-rw-r--r--frontend/support/index.html18
-rw-r--r--frontend/support/index.js25
-rw-r--r--frontend/support/pux-starter-app.gifbin2095651 -> 0 bytes
-rw-r--r--frontend/webpack.config.js102
-rw-r--r--frontend/webpack.production.config.js69
-rw-r--r--gopreload.go (renamed from backend/christine.website/gopreload.go)0
-rw-r--r--gops.go13
-rw-r--r--hash.go (renamed from backend/christine.website/hash.go)0
-rw-r--r--html.go72
-rw-r--r--main.go204
-rw-r--r--rice-box.go351
-rw-r--r--rss.go64
-rwxr-xr-xrun.sh4
-rw-r--r--static/css/about/main.css108
-rw-r--r--static/css/main.css3
-rw-r--r--static/favicon/android-icon-144x144.pngbin0 -> 13978 bytes
-rw-r--r--static/favicon/android-icon-192x192.pngbin0 -> 17669 bytes
-rw-r--r--static/favicon/android-icon-36x36.pngbin0 -> 3074 bytes
-rw-r--r--static/favicon/android-icon-48x48.pngbin0 -> 4151 bytes
-rw-r--r--static/favicon/android-icon-72x72.pngbin0 -> 6252 bytes
-rw-r--r--static/favicon/android-icon-96x96.pngbin0 -> 8678 bytes
-rw-r--r--static/favicon/apple-icon-114x114.pngbin0 -> 10504 bytes
-rw-r--r--static/favicon/apple-icon-120x120.pngbin0 -> 11213 bytes
-rw-r--r--static/favicon/apple-icon-144x144.pngbin0 -> 13978 bytes
-rw-r--r--static/favicon/apple-icon-152x152.pngbin0 -> 14834 bytes
-rw-r--r--static/favicon/apple-icon-180x180.pngbin0 -> 18377 bytes
-rw-r--r--static/favicon/apple-icon-57x57.pngbin0 -> 4905 bytes
-rw-r--r--static/favicon/apple-icon-60x60.pngbin0 -> 5164 bytes
-rw-r--r--static/favicon/apple-icon-72x72.pngbin0 -> 6252 bytes
-rw-r--r--static/favicon/apple-icon-76x76.pngbin0 -> 6653 bytes
-rw-r--r--static/favicon/apple-icon-precomposed.pngbin0 -> 18245 bytes
-rw-r--r--static/favicon/apple-icon.pngbin0 -> 18245 bytes
-rw-r--r--static/favicon/browserconfig.xml2
-rw-r--r--static/favicon/favicon-16x16.pngbin0 -> 1729 bytes
-rw-r--r--static/favicon/favicon-32x32.pngbin0 -> 2768 bytes
-rw-r--r--static/favicon/favicon-96x96.pngbin0 -> 8678 bytes
-rw-r--r--static/favicon/favicon.icobin0 -> 1150 bytes
-rw-r--r--static/favicon/manifest.json41
-rw-r--r--static/favicon/ms-icon-144x144.pngbin0 -> 13978 bytes
-rw-r--r--static/favicon/ms-icon-150x150.pngbin0 -> 14670 bytes
-rw-r--r--static/favicon/ms-icon-310x310.pngbin0 -> 40648 bytes
-rw-r--r--static/favicon/ms-icon-70x70.pngbin0 -> 6092 bytes
-rw-r--r--static/resume/resume.md49
-rw-r--r--templates/base.html67
-rw-r--r--templates/blogindex.html22
-rw-r--r--templates/blogpost.html11
-rw-r--r--templates/contact.html36
-rw-r--r--templates/error.html9
-rw-r--r--templates/index.html30
-rw-r--r--templates/resume.html9
-rw-r--r--vendor-log22
-rw-r--r--vendor/github.com/GeertJohan/go.rice/appended.go138
-rw-r--r--vendor/github.com/GeertJohan/go.rice/box.go337
-rw-r--r--vendor/github.com/GeertJohan/go.rice/config.go39
-rw-r--r--vendor/github.com/GeertJohan/go.rice/debug.go4
-rw-r--r--vendor/github.com/GeertJohan/go.rice/embedded.go90
-rw-r--r--vendor/github.com/GeertJohan/go.rice/embedded/embedded.go80
-rw-r--r--vendor/github.com/GeertJohan/go.rice/file.go144
-rw-r--r--vendor/github.com/GeertJohan/go.rice/http.go21
-rw-r--r--vendor/github.com/GeertJohan/go.rice/sort.go19
-rw-r--r--vendor/github.com/GeertJohan/go.rice/virtual.go252
-rw-r--r--vendor/github.com/GeertJohan/go.rice/walk.go122
-rw-r--r--vendor/github.com/Xe/asarfs/asarfs.go117
-rw-r--r--vendor/github.com/Xe/asarfs/bench_test.go156
-rw-r--r--vendor/github.com/Xe/asarfs/runtest.go24
-rw-r--r--vendor/github.com/Xe/jsonfeed/jsonfeed.go242
-rw-r--r--vendor/github.com/Xe/ln/formatter.go12
-rw-r--r--vendor/github.com/daaku/go.zipexe/zipexe.go142
-rw-r--r--vendor/github.com/gernest/front/front.go144
-rw-r--r--vendor/github.com/google/gops/agent/agent.go237
-rw-r--r--vendor/github.com/google/gops/internal/internal.go52
-rw-r--r--vendor/github.com/google/gops/signal/signal.go35
-rw-r--r--vendor/github.com/kardianos/osext/osext.go33
-rw-r--r--vendor/github.com/kardianos/osext/osext_plan9.go20
-rw-r--r--vendor/github.com/kardianos/osext/osext_procfs.go36
-rw-r--r--vendor/github.com/kardianos/osext/osext_sysctl.go126
-rw-r--r--vendor/github.com/kardianos/osext/osext_windows.go34
-rw-r--r--vendor/github.com/russross/blackfriday/block.go1450
-rw-r--r--vendor/github.com/russross/blackfriday/doc.go32
-rw-r--r--vendor/github.com/russross/blackfriday/html.go949
-rw-r--r--vendor/github.com/russross/blackfriday/inline.go1152
-rw-r--r--vendor/github.com/russross/blackfriday/latex.go332
-rw-r--r--vendor/github.com/russross/blackfriday/markdown.go924
-rw-r--r--vendor/github.com/russross/blackfriday/smartypants.go400
-rw-r--r--vendor/github.com/tj/front/front.go24
-rw-r--r--vendor/github.com/urfave/negroni/doc.go25
-rw-r--r--vendor/github.com/urfave/negroni/logger.go35
-rw-r--r--vendor/github.com/urfave/negroni/negroni.go133
-rw-r--r--vendor/github.com/urfave/negroni/recovery.go65
-rw-r--r--vendor/github.com/urfave/negroni/response_writer.go99
-rw-r--r--vendor/github.com/urfave/negroni/static.go88
-rw-r--r--vendor/gopkg.in/yaml.v1/apic.go (renamed from vendor/gopkg.in/yaml.v2/apic.go)0
-rw-r--r--vendor/gopkg.in/yaml.v1/decode.go (renamed from vendor/gopkg.in/yaml.v2/decode.go)315
-rw-r--r--vendor/gopkg.in/yaml.v1/emitterc.go (renamed from vendor/gopkg.in/yaml.v2/emitterc.go)2
-rw-r--r--vendor/gopkg.in/yaml.v1/encode.go (renamed from vendor/gopkg.in/yaml.v2/encode.go)67
-rw-r--r--vendor/gopkg.in/yaml.v1/parserc.go (renamed from vendor/gopkg.in/yaml.v2/parserc.go)0
-rw-r--r--vendor/gopkg.in/yaml.v1/readerc.go (renamed from vendor/gopkg.in/yaml.v2/readerc.go)7
-rw-r--r--vendor/gopkg.in/yaml.v1/resolve.go (renamed from vendor/gopkg.in/yaml.v2/resolve.go)25
-rw-r--r--vendor/gopkg.in/yaml.v1/scannerc.go (renamed from vendor/gopkg.in/yaml.v2/scannerc.go)36
-rw-r--r--vendor/gopkg.in/yaml.v1/sorter.go (renamed from vendor/gopkg.in/yaml.v2/sorter.go)0
-rw-r--r--vendor/gopkg.in/yaml.v1/writerc.go (renamed from vendor/gopkg.in/yaml.v2/writerc.go)0
-rw-r--r--vendor/gopkg.in/yaml.v1/yaml.go (renamed from vendor/gopkg.in/yaml.v2/yaml.go)137
-rw-r--r--vendor/gopkg.in/yaml.v1/yamlh.go (renamed from vendor/gopkg.in/yaml.v2/yamlh.go)2
-rw-r--r--vendor/gopkg.in/yaml.v1/yamlprivateh.go (renamed from vendor/gopkg.in/yaml.v2/yamlprivateh.go)0
-rw-r--r--vendor/layeh.com/asar/builder.go80
-rw-r--r--vendor/layeh.com/asar/decoder.go64
-rw-r--r--vendor/layeh.com/asar/doc.go2
-rw-r--r--vendor/layeh.com/asar/encoder.go122
-rw-r--r--vendor/layeh.com/asar/entry.go227
-rw-r--r--vendor/layeh.com/asar/header.go212
138 files changed, 8668 insertions, 3427 deletions
diff --git a/Dockerfile b/Dockerfile
index 439fe62..7acc9cd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM xena/christine.website
-ENV PORT 5000
-EXPOSE 5000
-RUN apk add --no-cache bash
+FROM xena/christine.website
+ENV PORT 5000
+EXPOSE 5000
+RUN apk add --no-cache bash \ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 26b449a..fb06e42 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,19 +1,19 @@
-Copyright (c) 2016 Christine Dodrill <me@christine.website>
+Copyright (c) 2017 Christine Dodrill <me@christine.website>
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER