New Static Blazor/Tailwind Website

Published on

For anyone that visits my site somewhat regularly, you'll notice the site looks a little different.

Being a .NET developer, I wanted to move generating my site away from Jekyll and towards something more aligned to my skill set I would more easily be able to extend and maintain.

BlazorStatic

I came across a project called BlazorStatic which is a static site generator for Blazor. It allows me to create a static site using Blazor components and by default, it uses Tailwind CSS for styling.

There's a couple good things about using BlazorStatic:

  • .NET: I'm familiar with .NET and Blazor and so can leverage my existing skills to extend it.
  • Tailwind: I'm new to Tailwind, but I'm already in love with it. It comes recommended by the BlazorStatic author and now I recommend it too!

While these are great, there are also some cons to consider:

  • Limited Built-in Features: While BlazorStatic provides a good starting point, it may not offer the same level of customization as Jekyll.
  • Some teething issues: BlazorStatic is not quite as established as the likes of Jekyll, so there's still a few issues I have to work out... Things like hot reloading for site content is something I will have to figure out.
  • No built-in RSS: RSS is something that I will have to implement myself but is something I could look to contribute back in the future.

Tailwind

I had heard of Tailwind, but never really used it. I've got some experience with CSS frameworks like Bootstrap and Foundation, but Tailwind is something I've been wanting to try out for a while. It's a utility-first CSS framework that allows me to build custom designs without having to write a lot of CSS.

Conclusion

Overall, I'm really happy with the decision to move to BlazorStatic. It's a great tool for creating static sites and I'm excited to see where it goes in the future.

Future Plans

In the future, I plan to continue improving the site and adding new features. I also plan to contribute back to the BlazorStatic project and help make it even better.