Skip to content

Commit

Permalink
Convert to lume.land
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanhudak committed Feb 9, 2023
1 parent 73e8464 commit 65aef96
Show file tree
Hide file tree
Showing 15 changed files with 1,888 additions and 159 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish on GitHub Pages

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Setup Deno environment
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Build site
run: |
deno task build --location=https://jonathanhudak.com
- name: DeployDeploy to GitHub Pages
if: success()
# https://github.com/peaceiris/actions-gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
cname: jonathanhudak.com
publish_dir: _site
github_token: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

18 changes: 18 additions & 0 deletions _config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import lume from "lume/mod.ts";
import lightningcss from "lume/plugins/lightningcss.ts";
import jsx from "lume/plugins/jsx.ts";
import mdx from "lume/plugins/mdx.ts";
import pug from "lume/plugins/pug.ts";
import metas from "lume/plugins/metas.ts";

const site = lume({
src: "./src",
});

site.use(lightningcss());
site.use(jsx());
site.use(mdx());
site.use(pug());
site.use(metas());

export default site;
5 changes: 5 additions & 0 deletions _site/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<html><head><meta charset="utf-8"><title>Jonathan Hudak</title><link rel="stylesheet" href="main.css"><meta property="og:type" content="website">
<meta property="og:url" content="http://localhost:3000/">
<meta name="twitter:card" content="summary">
</head><body><main><div class="u-flow"><header><div class="u-flow"><h1>Jonathan Hudak</h1><p>Born 1984 in Tacoma, Washington USA</p><ul class="ul"><li><a href="https://www.instagram.com/hudak_doodles/">Artist 🖼</a></li><li>Musician 🎸<a title="Mystical Synth Pop from 2010-2011" href="https://tumbledry.bandcamp.com/music">&gt;🎹</a> 🎤 🎧</li><li>Coder of Web 💻<a href="https://hudak.codes">hudak.codes</a> 💾<a href="https://github.com/jonathanhudak">github</a></li></ul></div></header><main><div class="u-flow"><details><summary>2022</summary><ul class="ul"><li>Alive and well on Bainbridge Island, Wa.</li><li>Senior Frontend Engineer at Amazon Web Services</li><li>Learning techniques of japanese joinery, and wood carving.</li><li>Creating art and music and not sharing it much.</li><li>Playing nostalgic 90's rock songs on my old acoustic guitar while my son Theodore builds with lego bricks.</li></ul></details><details><summary>2020</summary><details><summary>Move to Bainbridge</summary><p>During Covid times, Seattle got to be a drag so we moved across the Puget Sound to Bainbridge Island. My only complaint about living on the island is the limited array of restaurants. Otherwise it has been beautiful and quiet. We have been able to explore the Olympic Penninsula and enjoy more of my home State.</p></details></details></div></main><footer class="footer"><div class="u-flow"><p>Jonathan Hudak © 2023</p></div></footer></div></main></body></html>
1 change: 1 addition & 0 deletions _site/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"tasks": {
"dev": "deno run --watch --allow-net --allow-env --allow-read ./server.ts"
}
}
"importMap": "./import_map.json",
"tasks": {
"lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable -A -",
"build": "deno task lume",
"serve": "deno task lume -s"
}
}
Loading

0 comments on commit 65aef96

Please sign in to comment.