{"size": 411, "ext": "js", "max_stars_repo_path": "cmd/wallet-web/src/components/Navbar/index.js", "max_stars_repo_name": "vkubiv/wallet", "max_stars_repo_stars_event_min_datetime": "2019-12-07T14:24:46.000Z", "max_stars_repo_stars_event_max_datetime": "2021-06-03T21:06:33.000Z", "max_issues_repo_path": "cmd/wallet-web/src/components/Navbar/index.js", "max_issues_repo_name": "vkubiv/wallet", "max_issues_repo_issues_event_min_datetime": "2019-12-03T14:57:48.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-16T14:42:50.000Z", "max_forks_repo_path": "cmd/wallet-web/src/components/Navbar/index.js", "max_forks_repo_name": "vkubiv/wallet", "max_forks_repo_forks_event_min_datetime": "2019-12-03T16:27:40.000Z", "max_forks_repo_forks_event_max_datetime": "2021-06-28T16:13:55.000Z"}
{"max_stars_count": 14, "max_issues_count": 818, "max_forks_count": 21, "avg_line_length": 18.6818181818, "max_line_length": 58, "alphanum_fraction": 0.7104622871}
/*
Copyright SecureKey Technologies Inc. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/

import { reactive } from 'vue';

export const navbarStore = reactive({
  isNavbarOpen: false,
  currentPage: '',
});

export const navbarMutations = {
  toggleNavbar() {
    navbarStore.isNavbarOpen = !navbarStore.isNavbarOpen;
  },
  setCurrentPage(newPage) {
    navbarStore.currentPage = newPage;
  },
};
