feat: move scripts to script folder
All checks were successful
renovate / renovate (push) Successful in 26s
test-build / guarddog (push) Successful in 3m51s
test-build / build (push) Successful in 4m40s

This commit is contained in:
2026-03-15 21:53:59 -05:00
parent 93a53cab3d
commit 641c7cb33f
23 changed files with 96 additions and 99 deletions

13
src/scripts/url.ts Normal file
View File

@@ -0,0 +1,13 @@
const getDirectusURL = () => {
return 'https://directus.alexlebens.net';
};
const getSiteURL = () => {
return 'https://www.alexlebens.dev';
};
function getDirectusImageURL(image: string) {
return `${getDirectusURL()}/assets/${image}`;
}
export { getDirectusURL, getSiteURL, getDirectusImageURL };