Commit Graph
163 Commits
Author SHA1 Message Date
Stevan Freeborn dd7e7e1783 feat: add individual post page (#4)
* chore: add markdown lint to ignore no h1 heading in markdown files

* chore: update example settings

* chore: update example development env file

* fix: remove fixed 100% height on container

* feat: add individual post page

* chore: update README.md

* feat: add links to headings in post and add copy button to code blocks

* tests: add tests for get post async method

* tests: remove heading for test blogs

* fix: only add links to headings in markdown body

* tests: add tests for post page

* tests: add test to check for blog content

* docs: add jsdoc comments

* chore: fix incorrect env variable format in example

* fix: don't render anything if blog post is null

* fix: don't render anything until posts are fetched

* chore: add docker compose file for prod
2024-04-11 00:58:22 -05:00
Stevan Freeborn 75831e5f45 chore: remove old files 2024-04-10 12:44:43 -05:00
Stevan Freeborn f97600fa43 Merge branch 'main' of https://github.com/StevanFreeborn/blog.stevanfreeborn.com 2024-04-10 12:41:51 -05:00
Stevan Freeborn c4795dfdae feat: add blog feed (#3)
* chore: begin working on post service

* chore: add debug assets

* chore: add whitelist words

* feat: add prism for syntax highlighting

* feat: updated favicon

* feat: add blog feed

* fix: add link to written by image

* feat: add custom error pages

* fix: focus on h2 since h1 is always the journal site title

* feat: use status code pages with redirects

* fix: add discernible text to link

* feat: add support for light and dark theme

* fix: wrap body with main tag

* fix: style main element in pages to take up full width of container

* fix: add heading to home page

* feat: add not-found-corgi image

* chore: add robots.txt file

* chore: clean up place holder posts

* fix: namespace header in layouts

* fix: use logger instead of console

* fix: use new text context in each test when registering services

* chore: update workflow to debug failing tests

* chore: install playwright deps

* fix: extend expect timeout

* fix: extend expect timeout

* fix: capture traces

* fix: capture traces

* fix: index file name
2024-04-10 01:28:38 -05:00
Stevan Freeborn d25e5d4944 feat: add site header (#2)
* tests: setup initial infra for end to end tests

* tests: rework end to end host

* tests: remove need for bang operator

* tests: correct header component tests

* docs: add README.md to blog directory with instructions on setting up local dev environment with and without docker

* docs: update non-developer run command

* feat: finish layout of header

* feat: add favicon

* tests: setup test coverage

* chore: update workflow with missing playwright step

* chore: add install command
2024-04-08 23:34:32 -05:00
Stevan Freeborn 5ccb9848ed chore: add pull request workflow (#1)
* chore: add pull_request workflow

* chore: add license
2024-04-08 23:24:49 -05:00
Stevan Freeborn 1f5d45f003 tests: setup initial infra for end to end tests 2024-04-03 16:21:38 -05:00
Stevan Freeborn c7c24965b3 chore: add ref to blog 2024-04-03 12:45:42 -05:00
Stevan Freeborn 795d9df07a chore: switch to nunit for test framework 2024-04-03 12:25:25 -05:00
Stevan Freeborn 6e090f9b4b chore: setup initial docker development 2024-04-03 12:02:00 -05:00
Stevan Freeborn dd092738aa chore: project cleanup 2024-04-03 10:09:22 -05:00
Stevan Freeborn 21c038ada8 docs: update README.md 2024-04-02 15:36:38 -05:00
Stevan Freeborn e4ed74cb4d chore: initial project setup 2024-04-02 15:35:57 -05:00