Skip to content

Commit e437b84

Browse files
committed
Changed up the wishlist image
1 parent 6e7f061 commit e437b84

5 files changed

Lines changed: 23 additions & 12 deletions

File tree

content/pages/wishlist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A list of items I'd like to obtain. An [Amazon wish list](https://www.amazon.co.
77

88
📅 *Last updated: 14/05/2025*
99

10-
{{ gif(src="/img/wishlist.webp", alt="", position="center") }}
10+
{{ gif(src="/img/fry.webp", alt="", position="center") }}
1111

1212
### Books 📚
1313

generate_webp.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ for file in $TARGET_PATH; do
1919
echo $FILE_PATH
2020

2121
# Strip EXIF data from still images first, read image size
22-
if [[ $file == *.jpg ]] || [[ $file == *.jpeg ]] || [[ $file == *.png ]] || [[ $file == *.tiff ]] || [[ $file == *.gif ]]; then
22+
if [[ $file == *.jpg ]] || [[ $file == *.jpeg ]] || [[ $file == *.png ]] || [[ $file == *.tiff ]]; then
2323
IMAGE_SIZE=$(identify -format '%w' "$file")
2424
echo "Stripping EXIF from ${file}..."
2525
exiv2 rm "$file"
@@ -35,7 +35,7 @@ for file in $TARGET_PATH; do
3535
# Convert GIFs
3636
elif [[ $file == *.gif ]]; then
3737
echo "Converting ${file} --> webp"
38-
gif2webp -q 90 "${file}" -o "${FILE_PATH}.webp" -mt -quiet
38+
gif2webp -q 85 "${file}" -o "${FILE_PATH}.webp" -mt -quiet -mixed
3939
# Convert still images
4040
elif [[ $file == *.jpg ]] || [[ $file == *.jpeg ]] || [[ $file == *.png ]] || [[ $file == *.tiff ]]; then
4141
# Resize large images (Width greater than 800 pixels)

sass/main.scss

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,32 @@ mark {
101101
background-color: var(--background);
102102
color: var(--accent);
103103
}
104+
104105
strong {
105-
position: relative;
106-
font-weight: 500;
106+
position: relative;
107+
font-weight: 500;
108+
}
109+
110+
strong {
111+
position: relative;
112+
font-weight: 500;
113+
z-index: 1;
114+
// Optional: add padding for better highlight appearance
115+
padding: 0 2px;
107116
}
108117

109-
strong::before{
110-
background-color: var(--accent-alpha-20);
118+
strong::before {
111119
content: "";
112120
position: absolute;
113-
width: calc(100% + 4px);
114-
height: 100%;
115-
left: -2px;
116-
bottom: 0;
121+
top: 0; left: 0; right: 0; bottom: 0;
122+
background: var(--accent-alpha-20);
123+
border-radius: 2px;
117124
z-index: -1;
118125
transform: rotate(-2deg);
126+
// Make sure the highlight covers the text even when it wraps
127+
width: 100%;
128+
height: 100%;
129+
pointer-events: none;
119130
}
120131

121132

static/img/fry.webp

603 KB
Loading

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<h1>Hi, I'm&nbsp;<mark>Dan</mark></h1>
5252
</div>
5353
<div class="center-text"></div>
54-
<p>I'm currently working as a DevOps team lead in <strong>Dublin, Ireland.</strong>
54+
<p>DevOps team lead in <strong>Dublin, Ireland.</strong>
5555
Leading a team to deliver software changes quickly while <i>hopefully</i> not breaking things.</p>
5656
<p>Some current tools and technologies that I enjoy using, and am currently working with:</p>
5757
<div class="interests">

0 commit comments

Comments
 (0)