feat: homepage

This commit is contained in:
tresabhi committed 2025-01-06 20:09:11 -06:00
1 parent 1d44ecab18
commit d9688f6051
18 files changed
+303 -153

No files matched your search

@@ -0,0 +1,5 @@
import { DEFAULT_LOCALE, localizedStrings } from '@blitzkit/core';
export function getStrings(locale: string = DEFAULT_LOCALE) {
return localizedStrings[locale];
}
@@ -0,0 +1,5 @@
export function literals(string: string, literals: string[]) {
return literals.reduce((accumulator, literal, index) => {
return accumulator.replace(`%s${index + 1}`, literal);
}, string);
}