Adding Astrojs sources.

This commit is contained in:
Benjamin A. Shelton 2026-06-05 14:31:12 -06:00
commit e20f4f45de
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
169 changed files with 11389 additions and 0 deletions

8
src/utils/strings.js Normal file
View file

@ -0,0 +1,8 @@
export const titleCase = (s) => {
if (!s) return "";
return s
.toLowerCase()
.split(' ')
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
.join(' ');
};