Skip to content

Content Addition#19

Merged
LeandroPata merged 57 commits into
mainfrom
new/content-addition
Apr 27, 2026
Merged

Content Addition#19
LeandroPata merged 57 commits into
mainfrom
new/content-addition

Conversation

@LeandroPata
Copy link
Copy Markdown
Owner

@LeandroPata LeandroPata commented Apr 27, 2026

Content Addition

Summary

Adds new projects and improves existing projects' pages. Also updated and improved some tests.

Changes

  • Added projects:
    • Added content for WallTheme project;
    • Added content for LinuxTools projects;
  • Adjusted layout in [...slug].astro;
  • Added styles for tables, codeblocks and inline code;
  • Updated getLangFromUrl from utils.ts to account for the root path specifically;
  • Updated the 404.gif from 404.astro to load eager instead of lazy;
  • Updated images in ProjectPreview.astro to load eager instead of lazy;
  • Added cdnUtils.ts with functions:
    • Added base function readHTML;
    • Added function hasCDNLinks;
    • Added function hasCDNImages;
    • Added function getCDNLinks;
    • Added function getCDNImages;
    • Added function countCDNLinks;
    • Added function countCDNImages;
  • Improved testing in imageLoading.spec.ts by:
    • Skipping if there are no CDN links on the page;
    • Checks if all the links that are supposed to load actually load successfully;

Notes

Tests checking if CDN hosted assets load correctly will fail, due to assets not existing in main yet. Should have added separately from this branch to avoid confusion, but only realized after committing and pushing to the repo, and, since it's only me working on this, it won't cause problems.

@LeandroPata LeandroPata self-assigned this Apr 27, 2026
@LeandroPata LeandroPata merged commit 06dc106 into main Apr 27, 2026
1 of 2 checks passed
@LeandroPata LeandroPata deleted the new/content-addition branch April 28, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant