UI Mechanics / New Look (orange - gray)

This commit is contained in:
2020-08-01 17:11:43 +02:00
parent bf609fc5cd
commit e5a68f4b85
32 changed files with 766 additions and 118 deletions

View File

@@ -9,3 +9,28 @@ export const hideDishes = () => {
type: "SET_DISHLIST_HIDDEN",
};
};
export const showLoginDialog = () => {
return {
type: "DIALOG_LOGIN_VISIBLE",
};
};
export const hideLoginDialog = () => {
return {
type: "DIALOG_LOGIN_HIDDEN",
};
};
export const setLoggedIn = (username) => {
return {
type: "SET_LOGGEDIN",
payload: username,
};
};
export const setLoggedOut = () => {
return {
type: "SET_LOGGEDOUT",
};
};