Initial commit

This commit is contained in:
Jeremy Dormitzer 2019-05-28 08:57:43 -04:00
commit e20ef54d9f
4 changed files with 34 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
src/**/*.html
src/**/*.css
src/compiled/*

BIN
src/images/jeremy.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

9
src/index.html.pm Normal file
View File

@ -0,0 +1,9 @@
#lang pollen
image[#:src "images/jeremy.jpg" #:width "300px"]
Hi! Im Jeremy Dormitzer. Im a full-stack software engineer from Boston, MA.
I love generative art, entrepreneurship, and automation. I think that software gives us superpowers, and I want to build programs that suprise, delight, and empower.
Connect with me on link[#:href "https://mastodon.technology/@jdormit"]{Mastodon} or ◊link[#:href "https://linkedin.com/in/jeremydormitzer"]{LinkedIn}.

22
src/pollen.rkt Normal file
View File

@ -0,0 +1,22 @@
#lang racket
(require pollen/decode txexpr)
(provide (all-defined-out))
(define (root . elements)
(txexpr 'root
empty
(decode-elements elements
#:txexpr-elements-proc decode-paragraphs)))
(define (zip-kws kws kw-args)
(map list (map string->symbol (map keyword->string kws)) kw-args))
(define link
(make-keyword-procedure
(lambda (kws kw-args . elements)
(txexpr 'a (zip-kws kws kw-args) elements))))
(define image
(make-keyword-procedure
(lambda (kws kw-args . elements)
(txexpr 'img (zip-kws kws kw-args) elements))))