feat: implement new footer

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-04-16 16:53:46 +07:00
parent 5c59c86d55
commit b08cf040ce
14 changed files with 90 additions and 19 deletions

View File

@@ -43,3 +43,7 @@ export const validateEnvironmentVariables = () => {
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export function normalizeUrl(domain: string, url: string) {
return url.replace(domain, '').replace('/collections', '/search').replace('/pages', '');
}