Updated the SVG logo file in storefront to replace evibes branding with schon. Includes enhanced styling and additional view properties for resolution compatibility.
17 lines
No EOL
561 B
TypeScript
17 lines
No EOL
561 B
TypeScript
export const useAppConfig = () => {
|
|
const runtimeConfig = useRuntimeConfig();
|
|
|
|
const APP_DOMAIN: string = runtimeConfig.public.schonBaseDomain;
|
|
const APP_NAME: string = runtimeConfig.public.schonProjectName;
|
|
const APP_NAME_KEY: string = APP_NAME.toLowerCase();
|
|
|
|
return {
|
|
APP_DOMAIN,
|
|
APP_NAME,
|
|
APP_NAME_KEY,
|
|
COOKIES_LOCALE_KEY: `${APP_NAME_KEY}-locale`,
|
|
COOKIES_REFRESH_TOKEN_KEY: `${APP_NAME_KEY}-refresh`,
|
|
COOKIES_ACCESS_TOKEN_KEY: `${APP_NAME_KEY}-access`,
|
|
COOKIES_PRODUCT_VIEW_KEY: `${APP_NAME_KEY}-product-view`
|
|
};
|
|
}; |