From e69c0639d83b754793278da6efa6f6853ebc9bdd Mon Sep 17 00:00:00 2001 From: andrzej Date: Fri, 15 Nov 2024 23:21:18 +0100 Subject: [PATCH] add link to devlog --- build.sh | 15 +++++++++++++-- css/styles.css | 8 +++++++- index.html | 38 +++++++++++++++++++++++--------------- styles.mtime | 1 + 4 files changed, 44 insertions(+), 18 deletions(-) create mode 100644 styles.mtime diff --git a/build.sh b/build.sh index 3ef80e3..235c3f9 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,14 @@ #!/usr/bin/env bash -COMMIT="$(git rev-parse HEAD)" -sed -i "s/css?=\w*/css?v=${COMMIT}/g" index.html + +prev_mtime=$(cat styles.mtime) +curr_mtime=$(stat -c %Y css/styles.css) + +##has styles.css been modified? +if [[ $prev_mtime != "$curr_mtime" ]]; then + ##update .mtimes + sed -i "1s/.*/$curr_mtime/" styles.mtime + echo "file has been modified!" + ##insert the commit id + COMMIT="$(git rev-parse HEAD)" + sed -i "s/css?=\w*/css?v=${COMMIT}/g" index.html +fi diff --git a/css/styles.css b/css/styles.css index 6a4489c..9b14daf 100644 --- a/css/styles.css +++ b/css/styles.css @@ -1,3 +1,5 @@ +empty {} + @font-face { font-family: Jura; src: url("../fonts/Jura-VariableFont_wght.ttf") format(tr); @@ -164,10 +166,14 @@ p { background-image: radial-gradient(circle at top left, var(--overlay), var(--surface)); border-radius: 6em; border: solid 1px var(--hl-med); - padding: 3em; + padding: 2em; box-shadow: 1em 1em var(--shadow-color); } +#this-website-container { + padding: 5rem; +} + figure { margin: 0px; } diff --git a/index.html b/index.html index 1e6fd6e..2301545 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,7 @@

Allow me to introduce myself...

- A photo of myself, smiling to camera. + A photo of myself, smiling to camera.

@@ -47,9 +47,16 @@ my CV. I thought this page would be the best way to demonstrate what I'm capable of.

+

+ When you've checked out my projects, certifications, and work experience, why not head over to my devlog, where I go into more detail about my process? +

+

+ Then, if you happen to be head-hunting, drop me a line at ajsWritesCode@gmail.com. +

-
+

This website...

  • @@ -169,11 +176,12 @@

    Subman

    A self-hosted literary submission management system comprising a @@ -192,10 +200,10 @@

    An app for when you don't know what movie to watch, written in @@ -210,8 +218,8 @@

    GoPaper

    - A screenshot of GoPaper in action. + A screenshot of GoPaper in action.

    A cross-platform wallpaper demon, built to ensure color harmony, written in Go.