Commit Graph
142 Commits
Author SHA1 Message Date
Stevan Freeborn 66bef092f3 fix: switch to SSR only
- not actually making use of interactive server
  functionality
- don't need to deal with websocket disconnect
  when server is restarted
- can get necessary functionality using static
  rendering plus executing js on client
  when loaded
- added page script component to handle
  loading collocated scripts for pages that
  also work with enhanced navigation
2024-04-13 19:09:03 -05:00
Stevan Freeborn 279f80fc97 chore: stub out footer 2024-04-13 13:41:11 -05:00
Stevan Freeborn 862cb72f73 chore: add terms and privacy pages 2024-04-13 13:36:23 -05:00
Stevan Freeborn 44aad166bc Merge pull request #6 from StevanFreeborn/stevanfreeborn/fix/account-for-proxy-when-building-rss-feed
fix: account for proxy when building rss feed
2024-04-13 13:02:05 -05:00
Stevan Freeborn 3b05bbe491 fix: look for proxy headers first when building url for rss fed 2024-04-13 12:57:37 -05:00
Stevan Freeborn a96b061afb tests: correct test name 2024-04-13 12:57:10 -05:00
Stevan Freeborn 8310e0159a chore: clean up script 2024-04-13 03:14:58 -05:00
Stevan Freeborn 9cfc0a8fa6 fix: flip if else logic for deploy 2024-04-13 03:08:36 -05:00
Stevan Freeborn bd32813e2a fix: load js deps before blazor web 2024-04-13 03:04:11 -05:00
Stevan Freeborn 3ea27c1836 chore: fix nginx config path 2024-04-13 02:21:05 -05:00
Stevan Freeborn 26d8bdddcc chore: run script with correct privileges 2024-04-13 02:19:20 -05:00
Stevan Freeborn 8542b49cae chore: write green-blue deploy script 2024-04-13 02:03:44 -05:00
Stevan Freeborn e47cd2684c chore: troubleshoot 2024-04-13 00:13:37 -05:00
Stevan Freeborn a6f85e98d8 chore: troubleshoot 2024-04-13 00:12:38 -05:00
Stevan Freeborn b867d9d3a8 chore: troubleshoot 2024-04-13 00:09:43 -05:00
Stevan Freeborn 09618d61de chore: troubleshoot 2024-04-12 22:32:14 -05:00
Stevan Freeborn 6fb3af0024 chore: troubleshoot 2024-04-12 22:31:20 -05:00
Stevan Freeborn 9895bee847 chore: troubleshoot 2024-04-12 22:29:23 -05:00
Stevan Freeborn 7352e0ea8e chore: troubleshoot 2024-04-12 22:27:49 -05:00
Stevan Freeborn 362f6a2785 chore: troubleshoot 2024-04-12 22:24:56 -05:00
Stevan Freeborn 849e7de87c chore: fix path 2024-04-12 22:23:46 -05:00
Stevan Freeborn 44e68b1a4b chore: give script permissions 2024-04-12 22:22:04 -05:00
Stevan Freeborn 5087a5f9fb chore: test out deploy script 2024-04-12 22:16:39 -05:00
Stevan Freeborn d0686121ea chore: fix tag version format 2024-04-12 20:11:24 -05:00
Stevan Freeborn 4cff527877 chore: add deploy workflow 2024-04-12 20:09:36 -05:00
Stevan Freeborn a4a2d2b3c3 tests: add tests for copy button and heading links 2024-04-12 19:51:16 -05:00
Stevan Freeborn fd5ab56813 Merge pull request #5 from StevanFreeborn/stevanfreeborn/feat/add-rss-feed
feat: add rss feed
2024-04-12 19:37:58 -05:00
Stevan Freeborn ba65401c88 chore: cleanup usings and run dotnet format 2024-04-12 19:33:56 -05:00
Stevan Freeborn 95d4888876 feat: implement rss feed 2024-04-12 19:31:56 -05:00
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