feat: introduce login page

This commit is contained in:
Ali BARIN
2022-03-07 18:51:57 +01:00
parent bb36748764
commit f5f7a998ca
16 changed files with 235 additions and 36 deletions

View File

@@ -0,0 +1,10 @@
const NAMESPACE = 'automatisch';
const makeKey = (key: string) => `${NAMESPACE}.${key}`;
export const setItem = (key: string, value: string) => {
return localStorage.setItem(makeKey(key), value);
};
export const getItem = (key: string) => {
return localStorage.getItem(makeKey(key));
}