Skip to content

Commit

Permalink
Static build with video.
Browse files Browse the repository at this point in the history
  • Loading branch information
chr15m committed Jun 23, 2020
1 parent 791e330 commit ca02d85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
STATIC=index.html style.css logo.png
BUILD=build/js/main.js $(foreach S, $(STATIC), build/$(S))

SITEFILES=public/style.css public/img/computers-in-our-lives.jpg public/img/appleIIe.jpg public/logo.svg public/logo.png
SITEFILES=public/style.css public/img/computers-in-our-lives.jpg public/img/appleIIe.jpg public/img/youtube.png public/logo.svg public/logo.png
SITEFILES_DEST=$(foreach S, $(SITEFILES), slingcode.net/$(S))
DISTFILES=index.html publish.html slingcode.html license.txt revision.txt ENV Procfile nginx.conf
DEFAULTAPPS=hello-world chromium-dinosaur-game preact-demo mithril-todomvc savings-calculator widgets-order-form leaflet-map banana-dungeon-game jquery-ui-demo party-like-its-98 text-log 8bit-interface
Expand Down
1 change: 1 addition & 0 deletions src/slingcode-embed.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<iframe width="640" height="360" src="https://www.youtube.com/embed/0tONEHy-P7M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
1 change: 1 addition & 0 deletions src/slingcode-site-bootleg.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
static (enlive/at static [:section#about] (enlive/content (markdown (str "../" (last *command-line-args*)) :hickory-seq)))
static (enlive/at static [:p#gh-logo] (enlive/substitute nil))
static (enlive/at static [:section#about] (enlive/prepend (convert-to [:img {:src "public/img/computers-in-our-lives.jpg"}] :hickory-seq)))
static (enlive/at static [:p#youtube] (enlive/substitute (html "slingcode-embed.html" :hickory-seq)))
;static (enlive/at static [:section#about] (enlive/prepend (convert-to [:div [:p.title "Slingcode personal computing platform."]] :hickory-seq)))
]
(enlive/at template [:body] (enlive/content static)))

0 comments on commit ca02d85

Please sign in to comment.