export const TAB_BAR_HEIGHT = 62;

let lastVisitedTab = 'index';

export function setLastVisitedTab(tab: string): void {
  lastVisitedTab = tab;
}

export function getLastVisitedTab(): string {
  return lastVisitedTab;
}

export function tabHref(tab: string): string {
  if (tab === 'index') return '/';
  return `/${tab}`;
}