From 7f8be1c7099e38f939c2c52749744a2c75eb8008 Mon Sep 17 00:00:00 2001 From: Luke Carr Date: Mon, 2 Jan 2023 19:45:16 +0000 Subject: [PATCH] feat: added lighthouse report to homepage --- templates/about-me.stpl | 9 +++++++++ templates/index.stpl | 21 ++------------------- templates/nav.stpl | 4 ++-- templates/site-details.stpl | 12 ++++++++++++ 4 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 templates/about-me.stpl create mode 100644 templates/site-details.stpl diff --git a/templates/about-me.stpl b/templates/about-me.stpl new file mode 100644 index 0000000..872f850 --- /dev/null +++ b/templates/about-me.stpl @@ -0,0 +1,9 @@ +
+

about me

+
+

Hi there! 👋

+

I'm a <%= age %> y/o from the UK, currently working as a Software Developer at Sitel Group.

+

As far as open source projects go, I enjoy working on anything and everything related to education 🏫, privacy 👀, and data analysis/engineering 🗃.

+

I currently spend most of time in Rust and TypeScript, and I take pride in writing code that's lightweight 🍃 and performant 💪!

+
+
\ No newline at end of file diff --git a/templates/index.stpl b/templates/index.stpl index 6042e8a..25aa7f1 100644 --- a/templates/index.stpl +++ b/templates/index.stpl @@ -3,25 +3,8 @@ <% include!("./head.stpl"); %> <% include!("./header.stpl"); %> -
-

about me

-
-

Hi there! 👋

-

I'm a <%= age %> y/o from the UK, currently working as a Software Developer at Sitel Group.

-

As far as open source projects go, I enjoy working on anything and everything related to education 🏫, privacy 👀, and data analysis/engineering 🗃.

-

I currently spend most of time in Rust and TypeScript, and I take pride in writing code that's lightweight 🍃 and performant 💪!

-
-
-
-

about this site

-
-

This site is built using a custom static site generator made with Rust[1].

-

It has no CSS or JavaScript and each page weighs in at a few kilobytes.

-

The site is hosted on Cloudflare Pages, using GitHub Actions to automate building and deployment when a new tag is pushed.

-
-

[1] Sailfish is used for templating. The entire generator codebase comes in at <100 LOC.

-
-
+ <% include!("./about-me.stpl"); %> + <% include!("./site-details.stpl"); %> <% include!("./footer.stpl"); %> \ No newline at end of file diff --git a/templates/nav.stpl b/templates/nav.stpl index c59d947..9ff48ff 100644 --- a/templates/nav.stpl +++ b/templates/nav.stpl @@ -1,4 +1,4 @@ \ No newline at end of file diff --git a/templates/site-details.stpl b/templates/site-details.stpl new file mode 100644 index 0000000..5c05df3 --- /dev/null +++ b/templates/site-details.stpl @@ -0,0 +1,12 @@ +
+

about this site

+
+

The site is built using a custom static site generator made with Rust[1].

+

It has no CSS or JavaScript and each page weighs in at a few kilobytes.

+

The site is hosted on Cloudflare Pages, using GitHub Actions to automate building and deployment when a new tag is pushed.

+

The site has a perfect Google Lighthouse[2] rating for both desktop and mobile devices, ensuring that it's both performant and accessible.

+
+

[1] Sailfish is used for templating. The entire generator codebase comes in at <100 LOC.

+

[2] Lighthouse is a tool maintained by Google that analyzes web apps to evaluate best practices, performance, and accessibility.

+
+
\ No newline at end of file