Skip to content

Commit aa6589d

Browse files
committed
Refactor <img> html tags for cover images out of primary collections in favor of responsive Astro <Picture /> tags
1 parent 8863808 commit aa6589d

45 files changed

Lines changed: 603 additions & 483 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cache/pages.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,10 @@
2222
"contact",
2323
"offline",
2424
{
25-
"privacy": [
26-
"my-data"
27-
]
25+
"privacy": ["my-data"]
2826
},
2927
{
30-
"services": [
31-
"consulting",
32-
"overview",
33-
"web-development"
34-
]
28+
"services": ["consulting", "overview", "web-development"]
3529
},
3630
{
3731
"tags": [
@@ -53,4 +47,4 @@
5347
"typescript"
5448
]
5549
}
56-
]
50+
]

_TODO.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,27 @@ Allows any Mastodon instance to discover your Mastodon profile directly from you
410410
</body>
411411
```
412412

413+
## Refactor social neworks in Authors collection to Contact collection format
414+
415+
The contact data collection uses an array of social networks, with keys:
416+
417+
```
418+
{
419+
network: z.string(),
420+
name: z.string(),
421+
url: z.string().url(),
422+
order: z.number(),
423+
}
424+
```
425+
426+
The authors collection is using named entries under a "social" property, like "twitter", "github", etc. This task is to refactor that to use an array like contact data collection. We also need to add a color for the social network icon, or some other approach to setting the color of it while enabling theming.
427+
428+
We should also make sure the avatar key in the authors collection is being output as a responsive image tag.
429+
430+
## Add Google Maps screenshot (or maps embed) to Contact Page
431+
432+
src/assets/images/map.webp
433+
413434
## Display a system font until font files load (Lighthouse improvements)
414435

415436
Display a system font until font files load to improve FCP (First Contentful Paint) with `font-display: swap`. Need to make sure that web font doesn't render larger or smaller than the system font fallback to avoid CLS (Cumulative Layout Shift) issues.
-12.2 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-17.2 KB
Binary file not shown.
-17.2 KB
Binary file not shown.
-17.2 KB
Binary file not shown.
-17.2 KB
Binary file not shown.
File renamed without changes.
-13.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)